| | |
| | | </PropertyDef> |
| | | <PropertyDef name="recordStatus"> |
| | | <Property></Property> |
| | | <Property name="label">数据状态</Property> |
| | | <Property name="label">单据状态</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("RECORD_STATUS")}</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("inoutDataPR#triggerRecordStatus1").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | |
| | | <Property name="label">扣价</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="result"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">检验结果</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="operaSymbolValue"> |
| | | <Property/> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | |
| | | //默认查询查询提条件
 |
| | | view.get("#dsQuery").insert({
 |
| | | type:TYPE,
 |
| | | recordStatus:'NORMAL',
 |
| | | deptId:deptId
 |
| | | });
 |
| | | 
 |
| | |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">userId</Property> |
| | | <Property name="property">userId</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText">-- 支持模糊 --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="trigger">autoMappingDropDown2</Property> |
| | |
| | | <Property name="name">orderTag</Property> |
| | | <Property name="property">orderTag</Property> |
| | | <Property name="trigger">autoMappingDropDown1</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">recordStatus</Property> |
| | | <Property name="property">recordStatus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="hbox regionPadding:15"> |
| | |
| | | </Button> |
| | | <Button id="btnFlushCheck" layoutConstraint="left"> |
| | | <ClientEvent name="onClick">flushCheckList();</ClientEvent> |
| | | <Property name="caption">获取质检项</Property> |
| | | <Property name="caption">重新获取质检项</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | <Property name="iconClass">fa fa-gavel</Property> |
| | | <Property name="visible">false</Property> |
| | |
| | | <AutoFormElement> |
| | | <Property name="name">foodLocation</Property> |
| | | <Property name="property">foodLocation</Property> |
| | | <Property name="trigger">ddFoodOrigin</Property> |
| | | <Property name="trigger">ddDicArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | |
| | | <Property name="titleName">单据列表</Property> |
| | | <Property name="dataScope">currentPage</Property> |
| | | </Export2ReportAction> |
| | | <CustomDropDown id="ddFoodOrigin"> |
| | | <CustomDropDown id="ddDicArea"> |
| | | <Property name="minHeight">500</Property> |
| | | <Property name="assignmentMap">foodLocation=name</Property> |
| | | <Property name="minWidth">500</Property> |
| | | <Property name="assignmentMap">foodLocation=name,foodLocationId=code</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsFoodOrigin"> |
| | | <Property name="dataProvider"></Property> |
| | | <Property name="dataType">[dtFoodOrigin]</Property> |
| | | <DataSet id="dsDicArea"> |
| | | <Property name="dataProvider">dicAreaPR#pageList</Property> |
| | | <Property name="parameter"></Property> |
| | | <Property name="pageSize">30</Property> |
| | | <Property name="dataType">[dtArea]</Property> |
| | | <Property name="pageSize">1000</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key2"> |
| | | <Property name="blankText"> -- 编码或者名称 --</Property> |
| | | <Property name="blankText"> -名称或简拼,北京市 bjs -</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key2.value");
 |
| | | view.get("#dsFoodOrigin").set("parameter",{key:key}).flushAsync();</ClientEvent> |
| | | view.get("#dsDicArea").set("parameter",{key:key}).flushAsync();</ClientEvent> |
| | | <Property name="caption">查询</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsFoodOrigin.data:#");
 |
| | | <ClientEvent name="onClick">var data = view.get("#dsDicArea.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddFoodOrigin").close(data.toJSON());
 |
| | | view.get("#ddDicArea").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="caption">确定</Property> |
| | | </Button> |
| | | </Container> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsFoodOrigin.data:#");
 |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsDicArea.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddFoodOrigin").close(data.toJSON());
 |
| | | view.get("#ddDicArea").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsFoodOrigin</Property> |
| | | <Property name="dataSet">dsDicArea</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="code"> |
| | | <Property name="property">code</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="name"> |
| | | <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = "bold";
 |
| | | arg.processDefault = true;</ClientEvent> |
| | | <Property name="property">name</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="code"> |
| | | <Property name="property">code</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataPilot layoutConstraint="bottom"> |
| | | <Property name="dataSet">dsFoodOrigin</Property> |
| | | <Property name="dataSet">dsDicArea</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <CustomDropDown id="ddNotice"> |
| | | <Property name="minHeight">400</Property> |
| | | <Property name="assignmentMap">noticeId=id,customerId=customerId,customerName=customerName</Property> |
| | | <Property name="assignmentMap">noticeId=id,customerName=customerName</Property> |
| | | <Property name="minWidth">500</Property> |
| | | <Property name="autoOpen">true</Property> |
| | | <Container layout="regionPadding:5"> |