| | |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <ClientEvent name="onDataChange">if(arg.property =="depotId"){
 |
| | | autoByDepot(arg.newValue);
 |
| | | }</ClientEvent> |
| | | <ClientEvent name="onDataChange">//if(arg.property =="depotId"){autoByDepot(arg.newValue);}</ClientEvent> |
| | | <Property name="creationType">com.ld.igds.models.InoutLossOver</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">ID</Property> |
| | | <Property name="label">损益单号</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property></Property> |
| | | <Property name="label">组织编码</Property> |
| | | <Property name="required">false</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deptId"> |
| | | <Property></Property> |
| | |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodVariety"> |
| | | <Property></Property> |
| | | <Property name="label">粮食品种</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("FOOD_VARIETY_")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="amount"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">重量</Property> |
| | | <Property name="label">损溢重量</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="displayFormat">#.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodLocation"> |
| | | <Property></Property> |
| | | <Property name="label">粮食产地</Property> |
| | | <Property name="displayFormat">#,##0.00 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">更新时间</Property> |
| | | <Property name="required">false</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateUser"> |
| | | <Property></Property> |
| | | <Property name="label">更新人</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">备注</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hwdm"> |
| | | <Property></Property> |
| | | <Property name="label">货位代码</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rkjz"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">入库净重</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rksj"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">入库时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rksf"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">入库水分(%)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="rkzz"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">入库杂质(%)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cksj"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">出库时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ckjz"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">出库净重</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="cksf"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">出库水分(%)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ckzz"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">出库杂质(%)</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sysfzc"> |
| | | <Property></Property> |
| | | <Property name="label">损益是否正常</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("lossOverPR#triggerType").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="syyy"> |
| | | <Property></Property> |
| | | <Property name="label">损溢原因</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ccshr"> |
| | | <Property></Property> |
| | | <Property name="label">仓储审核人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditCcsh"> |
| | | <Property></Property> |
| | | <Property name="label">审批状态</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="InfoCcsh"> |
| | | <Property></Property> |
| | | <Property name="label">审核说明</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zjshr"> |
| | | <Property></Property> |
| | | <Property name="label">质检审核人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditZjsh"> |
| | | <Property></Property> |
| | | <Property name="label">审批状态</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="infoZjsh"> |
| | | <Property></Property> |
| | | <Property name="label">审核说明</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tjshr"> |
| | | <Property></Property> |
| | | <Property name="label">统计审核人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditTjsh"> |
| | | <Property></Property> |
| | | <Property name="label">审批状态</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="infoTjsh"> |
| | | <Property></Property> |
| | | <Property name="label">审核说明</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="kjshr"> |
| | | <Property></Property> |
| | | <Property name="label">会计审核人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditKjsh"> |
| | | <Property></Property> |
| | | <Property name="label">审批状态</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="infoKjsh"> |
| | | <Property></Property> |
| | | <Property name="label">审核说明</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ldshr"> |
| | | <Property></Property> |
| | | <Property name="label">领导审核人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditLdsh"> |
| | | <Property></Property> |
| | | <Property name="label">审批状态</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="infoLdsh"> |
| | | <Property></Property> |
| | | <Property name="label">审核说明</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="czbz"> |
| | | <Property></Property> |
| | | <Property name="label">操作标志</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodVariety"> |
| | | <Property></Property> |
| | | <Property name="label">粮食品种</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("FOOD_VARIETY_")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | |
| | | <Property name="dataProvider">lossOverPR#pageData</Property> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="pageSize">15</Property> |
| | | <Property name="parameter"/> |
| | | <Property name="parameter"></Property> |
| | | </DataSet> |
| | | <DataSet id="dsParam"> |
| | | <Property name="dataType">dtParam</Property> |
| | |
| | | <Property name="caption">调整</Property> |
| | | <Property name="exClassName">btn-warm</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="visible">false</Property> |
| | | <Property name="hideMode">display</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var param = view.get("#dsParam.data");
 |
| | | view.get("#dsMain").set("parameter",param.toJSON()).flushAsync();</ClientEvent> |
| | |
| | | </Button> |
| | | </AutoForm> |
| | | <DataGrid layoutConstraint="center padding:5px"> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <DataColumn> |
| | | <Property name="property">id</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">id</Property> |
| | | </DataColumn> |
| | | <DataColumn name="submitTime"> |
| | | <Property name="property">submitTime</Property> |
| | | <Property name="align">center</Property> |
| | |
| | | <Property name="property">depotId</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="foodVariety"> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="amount"> |
| | | <Property name="property">amount</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="foodLocation"> |
| | | <Property name="property">foodLocation</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="remark"> |
| | |
| | | </DataPilot> |
| | | </Container> |
| | | <Dialog id="dialogMain" layout="padding:5;regionPadding:10"> |
| | | <Property name="height">400</Property> |
| | | <Property name="width">800</Property> |
| | | <Property name="height">80%</Property> |
| | | <Property name="width">70%</Property> |
| | | <Property name="caption">损溢信息</Property> |
| | | <Property name="iconClass">fa fa-flag-o</Property> |
| | | <Property name="closeable">false</Property> |
| | |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">submitTime</Property> |
| | | <Property name="property">submitTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">amount</Property> |
| | | <Property name="property">amount</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">foodLocation</Property> |
| | | <Property name="property">foodLocation</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <FieldSet> |
| | | <Property name="caption">基本信息</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">companyId</Property> |
| | | <Property name="property">companyId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">submitTime</Property> |
| | | <Property name="property">submitTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">amount</Property> |
| | | <Property name="property">amount</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hwdm</Property> |
| | | <Property name="property">hwdm</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rkjz</Property> |
| | | <Property name="property">rkjz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rksj</Property> |
| | | <Property name="property">rksj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rksf</Property> |
| | | <Property name="property">rksf</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">rkzz</Property> |
| | | <Property name="property">rkzz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cksj</Property> |
| | | <Property name="property">cksj</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ckjz</Property> |
| | | <Property name="property">ckjz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">cksf</Property> |
| | | <Property name="property">cksf</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">ckzz</Property> |
| | | <Property name="property">ckzz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">sysfzc</Property> |
| | | <Property name="property">sysfzc</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">syyy</Property> |
| | | <Property name="property">syyy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateUser</Property> |
| | | <Property name="property">updateUser</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="property">updateTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">czbz</Property> |
| | | <Property name="property">czbz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet> |
| | | <Property name="caption">审批信息</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <FieldSet> |
| | | <Property name="caption">仓储审批</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">ccshr</Property> |
| | | <Property name="property">ccshr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditCcsh</Property> |
| | | <Property name="property">auditCcsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="rowSpan:2;colSpan:2"> |
| | | <Property name="name">InfoCcsh</Property> |
| | | <Property name="property">InfoCcsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet> |
| | | <Property name="caption">质检审批</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">zjshr</Property> |
| | | <Property name="property">zjshr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditZjsh</Property> |
| | | <Property name="property">auditZjsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="rowSpan:2;colSpan:2"> |
| | | <Property name="name">infoZjsh</Property> |
| | | <Property name="property">infoZjsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet> |
| | | <Property name="caption">统计审批</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">tjshr</Property> |
| | | <Property name="property">tjshr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditTjsh</Property> |
| | | <Property name="property">auditTjsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2;rowSpan:2"> |
| | | <Property name="name">infoTjsh</Property> |
| | | <Property name="property">infoTjsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet> |
| | | <Property name="caption">会计审批</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">kjshr</Property> |
| | | <Property name="property">kjshr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditKjsh</Property> |
| | | <Property name="property">auditKjsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="rowSpan:2;colSpan:2"> |
| | | <Property name="name">infoKjsh</Property> |
| | | <Property name="property">infoKjsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet> |
| | | <Property name="caption">领导审批</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">140</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">ldshr</Property> |
| | | <Property name="property">ldshr</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditLdsh</Property> |
| | | <Property name="property">auditLdsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="rowSpan:2;colSpan:2"> |
| | | <Property name="name">infoLdsh</Property> |
| | | <Property name="property">infoLdsh</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet> |
| | | <Property name="caption">备注信息</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |