|  |  |  | 
|---|
|  |  |  | <DataSet id="dsMain"> | 
|---|
|  |  |  | <Property name="pageSize">20</Property> | 
|---|
|  |  |  | <Property name="dataType">[dtMain]</Property> | 
|---|
|  |  |  | <Property name="dataProvider">depotStorePR#pageListDepotStore</Property> | 
|---|
|  |  |  | <Property name="dataProvider">depotStorePR#pageList</Property> | 
|---|
|  |  |  | <Property name="loadMode">lazy</Property> | 
|---|
|  |  |  | </DataSet> | 
|---|
|  |  |  | <DataSet id="dsDepot"> | 
|---|
|  |  |  | <Property name="dataType">[dtDepot]</Property> | 
|---|
|  |  |  | <Property name="dataProvider">depotPR#getAllCache</Property> | 
|---|
|  |  |  | </DataSet> | 
|---|
|  |  |  | <Container layout="regionPadding:10" layoutConstraint="top"> | 
|---|
|  |  |  | <Property name="exClassName">bg-color</Property> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | <Property name="name">depotId</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | <DataColumn> | 
|---|
|  |  |  | <Property name="property">storeType</Property> | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | <Property name="name">storeType</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | <DataColumn name="depotStatus"> | 
|---|
|  |  |  | <Property name="property">depotStatus</Property> | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Property name="property">foodYear</Property> | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | <DataColumn name="storeDate"> | 
|---|
|  |  |  | <Property name="property">storeDate</Property> | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | <DataColumn name="storageReal"> | 
|---|
|  |  |  | <Property name="property">storageReal</Property> | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | <DataColumn name="storageSettle"> | 
|---|
|  |  |  | <Property name="property">storageSettle</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | <DataColumn name="updateDate"> | 
|---|
|  |  |  | <Property name="property">updateDate</Property> | 
|---|
|  |  |  | <Property name="align">center</Property> | 
|---|
|  |  |  | </DataColumn> | 
|---|
|  |  |  | </DataGrid> | 
|---|
|  |  |  | </Container> | 
|---|
|  |  |  | <Container layoutConstraint="bottom"> | 
|---|
|  |  |  | <Property name="exClassName">bg-color</Property> | 
|---|
|  |  |  | <DataPilot layoutConstraint="right"> | 
|---|
|  |  |  | <Property name="itemCodes">pageSize,pages</Property> | 
|---|
|  |  |  | <Property name="dataSet">dsMain</Property> | 
|---|
|  |  |  | </DataPilot> | 
|---|
|  |  |  | <ToolBar layoutConstraint="bottom"> | 
|---|
|  |  |  | <Fill/> | 
|---|
|  |  |  | <DataPilot layoutConstraint="right"> | 
|---|
|  |  |  | <Property name="itemCodes">pageSize,pages</Property> | 
|---|
|  |  |  | <Property name="dataSet">dsMain</Property> | 
|---|
|  |  |  | </DataPilot> | 
|---|
|  |  |  | </ToolBar> | 
|---|
|  |  |  | </Container> | 
|---|
|  |  |  | <Dialog id="dialogMain"> | 
|---|
|  |  |  | <Property name="caption">库存信息</Property> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Buttons> | 
|---|
|  |  |  | <Button> | 
|---|
|  |  |  | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 | 
|---|
|  |  |  | view.get("#uaAction").set("parameter",data).execute(function(result){
 | 
|---|
|  |  |  | view.get("#uaAction").execute(function(result){
 | 
|---|
|  |  |  | if(result){
 | 
|---|
|  |  |  | $alert(result);
 | 
|---|
|  |  |  | }else{
 | 
|---|
|  |  |  | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">depotId</Property> | 
|---|
|  |  |  | <Property name="property">depotId</Property> | 
|---|
|  |  |  | <Property name="trigger">dsddDepot</Property> | 
|---|
|  |  |  | <Property name="trigger">autoMappingDropDown1</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">storeType</Property> | 
|---|
|  |  |  | <Property name="property">storeType</Property> | 
|---|
|  |  |  | <Property name="trigger">autoMappingDropDown1</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">foodLevel</Property> | 
|---|
|  |  |  | <Property name="property">foodLevel</Property> | 
|---|
|  |  |  | <Property name="trigger">autoMappingDropDown1</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">foodLocation</Property> | 
|---|
|  |  |  | <Property name="property">foodLocation</Property> | 
|---|
|  |  |  | <Property name="trigger">ddFoodOrigin</Property> | 
|---|
|  |  |  | <Property name="name">manageType</Property> | 
|---|
|  |  |  | <Property name="property">manageType</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">foodYear</Property> | 
|---|
|  |  |  | <Property name="property">foodYear</Property> | 
|---|
|  |  |  | <Property name="trigger">yearDropDown1</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓/入库中/出库中,必填</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">country</Property> | 
|---|
|  |  |  | <Property name="property">country</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓/入库中/出库中,必填</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">foodLocation</Property> | 
|---|
|  |  |  | <Property name="property">foodLocation</Property> | 
|---|
|  |  |  | <Property name="trigger">ddFoodOrigin</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓/入库中/出库中,必填</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">storageReal</Property> | 
|---|
|  |  |  | <Property name="property">storageReal</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">说明:仓库状态=满仓,空仓 切记录入库存记录</Property> | 
|---|
|  |  |  | <Property name="text">必填,空仓=0,入库/出库数量之和</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">blue</Property> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">storageSettle</Property> | 
|---|
|  |  |  | <Property name="property">storageSettle</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">必填,空仓=0,入库/出库结算数量之和</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">说明:仓库状态=满仓,必填</Property> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓/出库中,必填</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">blue</Property> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">说明:第一车入库时间,仓库状态=入库中,必填</Property> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓/入库中/出库中,必填。第一车入仓时间</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">blue</Property> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">说明:第一车出库时间,仓库状态=出库中,必填</Property> | 
|---|
|  |  |  | <Property name="text">货位状态=空仓,必填。最后一车粮食出仓时间</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">blue</Property> | 
|---|
|  |  |  | <Property name="color">red</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Property name="property">grainHeight</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓,可填</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">blue</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement> | 
|---|
|  |  |  | <Property name="name">grainVolume</Property> | 
|---|
|  |  |  | <Property name="property">grainVolume</Property> | 
|---|
|  |  |  | <Editor/> | 
|---|
|  |  |  | </AutoFormElement> | 
|---|
|  |  |  | <Label> | 
|---|
|  |  |  | <Property name="text">货位状态=封仓,可填</Property> | 
|---|
|  |  |  | <Property name="style"> | 
|---|
|  |  |  | <Property name="color">blue</Property> | 
|---|
|  |  |  | <Property name="font-size">12px</Property> | 
|---|
|  |  |  | </Property> | 
|---|
|  |  |  | </Label> | 
|---|
|  |  |  | <AutoFormElement layoutConstraint="colSpan:2"> | 
|---|
|  |  |  | <Property name="name">remark</Property> | 
|---|
|  |  |  | <Property name="property">remark</Property> | 
|---|
|  |  |  | 
|---|
|  |  |  | <YearDropDown id="yearDropDown1"/> | 
|---|
|  |  |  | <CustomDropDown id="ddFoodOrigin"> | 
|---|
|  |  |  | <Property name="minHeight">500</Property> | 
|---|
|  |  |  | <Property name="assignmentMap">foodLocation=name</Property> | 
|---|
|  |  |  | <Property name="assignmentMap">foodLocation=name,foodLocationId=code</Property> | 
|---|
|  |  |  | <Property name="minWidth">500</Property> | 
|---|
|  |  |  | <Container layout="regionPadding:5"> | 
|---|
|  |  |  | <DataSet id="dsFoodOrigin"> | 
|---|
|  |  |  | <Property name="dataProvider">dicTriggerPR#pagFoodLocationData</Property> | 
|---|
|  |  |  | <Property name="dataType">[dtFoodOrigin]</Property> | 
|---|
|  |  |  | <Property name="dataProvider">dicAreaPR#pageList</Property> | 
|---|
|  |  |  | <Property name="dataType">[dtArea]</Property> | 
|---|
|  |  |  | <Property name="parameter"></Property> | 
|---|
|  |  |  | <Property name="pageSize">30</Property> | 
|---|
|  |  |  | </DataSet> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Property name="titleName">{"unit":"KG","title":"仓库信息列表","timeDesc":"now()"}</Property> | 
|---|
|  |  |  | <Property name="showTitle">true</Property> | 
|---|
|  |  |  | </Export2ReportAction> | 
|---|
|  |  |  | <DataSetDropDown id="dsddDepot"> | 
|---|
|  |  |  | <Property name="dataSet">dsDepot</Property> | 
|---|
|  |  |  | <Property name="assignmentMap">depotId=id,depotStatus=depotStatus,storeType=storeType,foodType=foodType,foodVariety=foodVariety,foodLevel=foodLevel,foodLocation=foodLocation,depotStatus=depotStatus,foodYear=foodYear,storeDate=storeDate</Property> | 
|---|
|  |  |  | <Property name="property">name</Property> | 
|---|
|  |  |  | </DataSetDropDown> | 
|---|
|  |  |  | </View> | 
|---|
|  |  |  | </ViewConfig> | 
|---|