<?xml version="1.0" encoding="utf-8"?>
<!--By Supcan TreeList -->
<TreeList>
	<Properties editAble="true" rowHeight="22">
		<validations>
			<validation errorText='产品编码必须以1、3开头!'>left(productID,1)='1' or left(productId,1)='3'</validation>
			<validation errorText='产品名称的第一位必须和产品编码的第一位一致!'>left(productID,1) = left(productname,1)</validation>
			<validation errorText='交货日期至少要在明天!'><![CDATA[ CompareDate(dt, now())>0 ]]></validation>
			<validation errorText='未通过审核!' icon="stop">passed</validation>
			<validation errorText='定价只能在100-200、或500-600之间!'><![CDATA[ (100<=price and price<=200) or (500<=price and price<=600) ]]></validation>
		</validations>
	</Properties>
	<Cols>
		<Col name="productID"   width="120" align="center">产品编码</Col>
		<Col name="productname" width=".1">产品名称</Col>
		<Col name="Dt" width="180" datatype="date" defaultValue="=now()">交货日期</Col>
		<Col name="passed"      width="100" datatype="bool" edittype="checkbox">通过审核</Col>
		<Col name="price"       width="110" datatype="double" decimal="2" editmask="+#,###.00">单价</Col>
		<Col name="count"       width="110" datatype="int" editmask="#,###" min="1">数量</Col>
	</Cols>
</TreeList>