<?xml version="1.0" encoding="utf-8"?>
<!--By Supcan TreeList -->
<TreeList>
	<Properties editAble="true" rowHeight="22" addRowAble="true" totalBgColor="#ffff00" totalOption="verticalLine=dotLine">
		<expresses>
			<express>total=round(price*num, 2)</express>
			<express>price=round(total/num, 4)</express>
			<express>inuse=stock - inuse@origin - num</express>
		</expresses>
	</Properties>
	<Fonts>
		<Font faceName="Verdana" />
	</Fonts>
	<Cols>
		<Col name="productID" width="120" align="center" editable="false" totalExpress="='合 计'" totalAlign="center">物料代码</Col>
		<Col name="price" width="120" datatype="double" decimal="4" headerTextColor="red">单价</Col>
		<Col name="num"   width="150" datatype="double" decimal="2" headerTextColor="red">数量</Col>
		<Col name="total" width="150" datatype="double" decimal="2" headerTextColor="red" totalExpress="=@sum">总价</Col>
		<Col name="stock" width="150" datatype="double" decimal="2" editAble="false" displayMask="=data+'吨'">库存数</Col>
		<Col name="inUse" width="150" datatype="double" decimal="2" editAble="false" displayMask="=data+'吨';textColor=if(data&lt;0, red, black)">实际可用数</Col>
	</Cols>
	<Table>
		<TR>
			<productID>10034</productID>
			<price>100.30</price>
			<num>20.00</num>
			<stock>1000</stock>
			<inUse>200</inUse>
		</TR>
		<TR>
			<productID>10022</productID>
			<price>30.2300</price>
			<num>1.00</num>
			<stock>2000</stock>
			<inUse>200</inUse>
		</TR>
		<TR>
			<productID>223K</productID>
			<price>500</price>
			<num>13.00</num>
			<stock>2000</stock>
			<inUse>1200</inUse>
		</TR>
		<TR>
			<productID>6097</productID>
			<price>202300.00</price>
			<num>1.00</num>
			<stock>10</stock>
			<inUse>3</inUse>
		</TR>
		<TR>
			<productID>3337</productID>
			<price>4999.00</price>
			<num>2.33</num>
			<stock>0</stock>
			<inUse>0</inUse>
		</TR>
		<TR>
			<productID>3331</productID>
			<price>2.99</price>
			<num>3484989.00</num>
			<stock>10000000</stock>
			<inUse>1000</inUse>
		</TR>
	</Table>
</TreeList>