| | |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property></Property> |
| | | <Property name="label">组织编码</Property> |
| | | <Property name="label">收储公司</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("companyPR#getData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">dwmc</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="progress"> |
| | | <Property></Property> |
| | |
| | | <Property></Property> |
| | | <Property name="label">装卸仓库</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | |
| | | <Property></Property> |
| | | <Property name="label">装卸仓库</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | |
| | | <Property name="label">截止时间</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerName"> |
| | | <Property></Property> |
| | | <Property name="label">单位</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("companyPR#getData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">dwmc</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="unit"> |
| | | <Property></Property> |
| | | <Property name="label">单位</Property> |
| | |
| | | </PropertyDef> |
| | | <PropertyDef name="none"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property></Property> |
| | | <Property name="label">收储公司</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("companyPR#getData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">dwmc</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | |
| | | <Property name="caption">重置</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsQuery.data");
 |
| | | var param = {
 |
| | | "type":"IN",
 |
| | | "depotId":data.get("depotId"),
 |
| | | "foodVariety":data.get("foodVariety"),
 |
| | | "start":data.get("start"),
 |
| | | "end":data.get("end")
 |
| | | }
 |
| | | window.parent.$.table.exportExcelDorado("./export/inOutReport-excel", "入库数据", param);</ClientEvent> |
| | | <Property name="caption">导出EXCEL</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="width">140</Property> |
| | |
| | | <Property name="visible">false</Property> |
| | | <Property name="hideMode">display</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="name">companyId</Property> |
| | | <Property name="property">companyId</Property> |
| | | <Property name="label">收储公司</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | |
| | | <Property name="caption">重置</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsQuery.data");
 |
| | | var param = {
 |
| | | "type":"IN",
 |
| | | "deptId":data.get("deptId"),
 |
| | | "companyId":data.get("companyId"),
 |
| | | "start":data.get("start"),
 |
| | | "end":data.get("end")
 |
| | | }
 |
| | | window.parent.$.table.exportExcelDorado("./export/inOutReport-excel", "入库数据", param);</ClientEvent> |
| | | <Property name="caption">导出EXCEL</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="width">140</Property> |
| | |
| | | <RowNumColumn/> |
| | | <DataColumn name="id"> |
| | | <Property name="property">id</Property> |
| | | <Property name="width">130</Property> |
| | | <Property name="width">150</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="plateNum"> |
| | | <Property name="property">plateNum</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">120</Property> |
| | | </DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="caption">仓库</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="fullWeight"> |
| | | <Property name="property">fullWeight</Property> |
| | | <Property name="caption">毛重</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="emptyWeight"> |
| | | <Property name="property">emptyWeight</Property> |
| | | <Property name="caption">皮重</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="netWeight"> |
| | | <Property name="property">netWeight</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="name">deOther</Property> |
| | | <Property name="property">deOther</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="settleWeight"> |
| | | <Property name="property">settleWeight</Property> |
| | | <Property name="caption">结算重量</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">recordWeight</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">recordWeight</Property> |
| | | <Property name="caption">入库重量</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">completeTime</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="caption">离库时间</Property> |
| | | <Property name="width">150</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataGrid id="dataGridMain2" layoutConstraint="padding:8"> |
| | |
| | | <Property name="caption">序号</Property> |
| | | </RowNumColumn> |
| | | <DataColumn> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="property">companyId</Property> |
| | | <Property name="caption">收储公司</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="name">companyId</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">deptId</Property> |
| | | <Property name="caption">库区名称</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="width">250</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">deptId</Property> |
| | | </DataColumn> |
| | | <DataColumn name="id"> |
| | | <Property name="property">id</Property> |
| | | <Property name="width">130</Property> |
| | | <Property name="width">150</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="plateNum"> |
| | | <Property name="property">plateNum</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">120</Property> |
| | | </DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="caption">仓库</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="width">120</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn name="settleWeight"> |
| | | <Property name="property">settleWeight</Property> |
| | | <Property name="caption">结算重量</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">recordWeight</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">recordWeight</Property> |
| | | <Property name="caption">入库重量</Property> |
| | | <Property name="width">100</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">completeTime</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="caption">离库时间</Property> |
| | | <Property name="width">150</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <ClientEvent name="onRenderCell">//arg.dom.innerHTML = "<a href='javascript:;' onClick='detail()' class='a-btn1'>查看详情</a>";</ClientEvent> |