<?xml version="1.0" encoding="utf-8"?>
<!--By Supcan TreeList -->
<TreeList>
	<Properties Title="科目余额表" editAble="false" isTree="true" treeformat="byData">
		<Expresses>
			<Express>jd2=jd</Express>
			<Express>qmye = if(jd==2, qcye + dfe - jfe, qcye + jfe - dfe)</Express>
		</Expresses>
	</Properties>
	<Fonts>
		<Font faceName="Consolas"/>
		<Font />
	</Fonts>
	<Cols>
		<Col name="LazyLoad" isHide="absHide"/>
		<Col name="kmdm"  width="150">科目代码</Col>
		<Col name="kmmc"  width="180">科目名称</Col>
		<group name="期初">
			<Col name="jd"    width="40" align="center" editType="droplist" droplistID="jdList">方向</Col>
			<Col name="qcye"  width="100" dataType="double" decimal="2" subTotalExpress="@sum">余额</Col>
		</group>
		<group name="本期发生">
			<Col name="jfe"   width="100" dataType="double" decimal="2" subTotalExpress="@sum">借方</Col>
			<Col name="dfe"   width="100" dataType="double" decimal="2" subTotalExpress="@sum">贷方</Col>
		</group>
		<group name="期末">
			<Col name="jd2"   width="40" align="center" editType="droplist" droplistID="jdList">方向</Col>
			<Col name="qmye"  width="100" dataType="double" decimal="2" subTotalExpress="@sum">余额</Col>
		</group>
	</Cols>
	<Droplists>
		<Droplist id="jdList">
			<item key="1">借</item>
			<item key="2">贷</item>
			<item key="3">平</item>
		</Droplist>
	</Droplists>
</TreeList>