| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.fzzy.igds.domain.InoutRecord</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">åæ®å·</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property></Property> |
| | | <Property name="label">ç»ç»ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="progress"> |
| | | <Property></Property> |
| | | <Property name="label">æµç¨è¿åº¦</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("PROCESS_STATUS_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="recordStatus"> |
| | | <Property></Property> |
| | | <Property name="label">æ°æ®ç¶æ</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("RECORD_STATUS")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="checkStatus"> |
| | | <Property></Property> |
| | | <Property name="label">æ¦æ ·ç»æ</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("CHECK_STATUS")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="registerTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">ç»è®°æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="registerUser"> |
| | | <Property></Property> |
| | | <Property name="label">ç»è®°äººå</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="userName"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿è¿äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="userId"> |
| | | <Property></Property> |
| | | <Property name="label">身份è¯å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="userContact"> |
| | | <Property></Property> |
| | | <Property name="label">èç³»æ¹å¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="userAddress"> |
| | | <Property></Property> |
| | | <Property name="label">æ¿è¿äººå°å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="plateNum"> |
| | | <Property></Property> |
| | | <Property name="label">车çå·</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerName"> |
| | | <Property></Property> |
| | | <Property name="label">徿¥åä½</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodLocation"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£äº§å°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodYear"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£å¹´ä»½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deOther"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ£é</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fullWeight"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">满车称é</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fullWeightTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">满车称æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="fullWeightUser"> |
| | | <Property></Property> |
| | | <Property name="label">满车称é人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="emptyWeight"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">空车称é</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="emptyWeightTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">空车称æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="emptyWeightUser"> |
| | | <Property></Property> |
| | | <Property name="label">空车称é人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="netWeight"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åé</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="settleWeight"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç»ç®åé</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="recordWeight"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">å
¥åºéé</Property> |
| | | <Property name="displayFormat">0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="handleStart"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼ä»å¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="handleEnd"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å¼ä»ç»ææ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="handleUser"> |
| | | <Property></Property> |
| | | <Property name="label">å¼ä»æä½äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">宿æ¶é´</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeUser"> |
| | | <Property></Property> |
| | | <Property name="label">å®æç¡®è®¤äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remarks"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨ä¿¡æ¯</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deptId"> |
| | | <Property></Property> |
| | | <Property name="label">æå¨åºåº</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getAllData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">kqmc</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodVariety"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£åç§</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotId"> |
| | | <Property></Property> |
| | | <Property name="label">è£
å¸ä»åº</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("depotPR#getAllCache").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property name="label">åºå
¥åºç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="name">åºåº</Property> |
| | | <Property name="value">OUT</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">å
¥åº</Property> |
| | | <Property name="value">IN</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">value</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodLevel"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£ç级</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#triggerFoodLevel").getResult()}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="checkUser"> |
| | | <Property></Property> |
| | | <Property name="label">è´¨æ£äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="price"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">ç²®é£å®ä»·</Property> |
| | | <Property name="displayFormat">0.00 å
/å
¬æ¤</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="noticeId"> |
| | | <Property></Property> |
| | | <Property name="label">éç¥åç¼ç </Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodLocationId"> |
| | | <Property></Property> |
| | | <Property name="label">产å°å称代ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="checkTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">è´¨æ£æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="perWet"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ°´å</Property> |
| | | <Property name="displayFormat">0.00 %</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="perImpurity"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æè´¨</Property> |
| | | <Property name="displayFormat">0.00 %</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="settleMoney"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç»ç®éé¢</Property> |
| | | <Property name="displayFormat">0.00 å
</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="settleTag"> |
| | | <Property></Property> |
| | | <Property name="label">æ¯å¦ç»ç®</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="name">æªç»ç®</Property> |
| | | <Property name="value">N</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">å·²ç»ç®</Property> |
| | | <Property name="value">Y</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">value</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="settleTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">ç»ç®æ¶é´</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">å建æ¶é´</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createBy"> |
| | | <Property></Property> |
| | | <Property name="label">å建人</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">æ´æ°æ¶é´</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateBy"> |
| | | <Property></Property> |
| | | <Property name="label">æ´æ°äºº</Property> |
| | | <Property name="readOnly">true</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtQuery"> |
| | | <Property name="creationType">com.fzzy.igds.data.InoutParam</Property> |
| | | <PropertyDef name="type"> |
| | | <Property name="label">åºå
¥åºç±»å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deptId"> |
| | | <Property></Property> |
| | | <Property name="label">æå±ååº</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getAllData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">kqmc</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotId"> |
| | | <Property></Property> |
| | | <Property name="label">è£
å¸ä»åº</Property> |
| | | <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="plateNum"> |
| | | <Property name="label">车çå·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodVariety"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£åç§</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="progress"> |
| | | <Property></Property> |
| | | <Property name="label">æµç¨è¿åº¦</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("PROCESS_STATUS_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="recordStatus"> |
| | | <Property></Property> |
| | | <Property name="label">åæ®ç¶æ</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("RECORD_STATUS")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="start"> |
| | | <Property name="label">å¼å§æ¶é´</Property> |
| | | <Property name="dataType">Date</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="end"> |
| | | <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="timeDesc"> |
| | | <Property></Property> |
| | | <Property name="label">æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="title"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="none"> |
| | | <Property></Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:5;regionPadding:5"> |
| | | <ClientEvent name="onReady">//var TYPE = "INOUT_DETAIL";
 |
| | | //页é¢å±ç¤ºç±»åï¼1 æ£å¸¸æ¥è¡¨é¡µé¢ï¼2 ç管å±ç¤ºé¡µé¢
 |
| | | var ViewType = "${request.getParameter('viewType')}";
 |
| | | 
 |
| | | if(ViewType==1){
 |
| | | view.get("#form1").set("visible",true);
 |
| | | view.get("#dataGridMain1").set("visible",true);
 |
| | | }
 |
| | | 
 |
| | | if(ViewType==2){
 |
| | | view.get("#form2").set("visible",true);
 |
| | | view.get("#dataGridMain2").set("visible",true);
 |
| | | 
 |
| | | }
 |
| | | 
 |
| | | var deptId = window.parent.DEPT_ID;//ç¶é¡µé¢ä¸çååºç¼ç 
 |
| | | 
 |
| | | 
 |
| | | //é»è®¤æ¥è¯¢æ¥è¯¢ææ¡ä»¶
 |
| | | view.get("#dsQuery").insert({
 |
| | | deptId:deptId
 |
| | | });
 |
| | | 
 |
| | | query = function(){
 |
| | | var data = view.get("#dsQuery.data");
 |
| | | view.get("#dsQuery").set("parameter",data).flushAsync();
 |
| | | };
 |
| | | query();</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">reportOutDetailPR#listRecord</Property> |
| | | <Property name="loadMode">manual</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <Property name="dataType">dtQuery</Property> |
| | | <Property name="dataProvider">reportOutDetailPR#getQuery</Property> |
| | | <Property></Property> |
| | | <Property name="loadMode">manual</Property> |
| | | </DataSet> |
| | | <AutoForm id="form1" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="hideMode">display</Property> |
| | | <Property name="visible">false</Property> |
| | | <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">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="hbox regionPadding:15"> |
| | | <Button> |
| | | <ClientEvent name="onClick"> var data = view.get("#dsQuery.data");
 |
| | | view.get("#dsMain").set("parameter",data).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsQuery").flushAsync();</ClientEvent> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="caption">éç½®</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | <Property name="menu">menuExport</Property> |
| | | <Property name="action">exportExcel</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <AutoForm id="form2" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="hideMode">display</Property> |
| | | <Property name="visible">false</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="label">æ¶å¨å
¬å¸</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Property name="label">æå±åºåº</Property> |
| | | <Property name="hideMode">visibility</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">start</Property> |
| | | <Property name="property">start</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">end</Property> |
| | | <Property name="property">end</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="hbox regionPadding:15"> |
| | | <Button> |
| | | <ClientEvent name="onClick"> var data = view.get("#dsQuery.data");
 |
| | | view.get("#dsMain").set("parameter",data).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsQuery").flushAsync();</ClientEvent> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="caption">éç½®</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | <Property name="menu">menuExport</Property> |
| | | <Property name="action">exportExcel</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <Container layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoForm id="autoForm1" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*,*,*,*</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="showHint">false</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:7"> |
| | | <Property name="name">title</Property> |
| | | <Property name="property">title</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="style"> |
| | | <Property name="font">bold 30px Georgia, serif;</Property> |
| | | <Property name="text-align">center</Property> |
| | | </Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">timeDesc</Property> |
| | | <Property name="property">timeDesc</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">none</Property> |
| | | <Property name="property">none</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">none</Property> |
| | | <Property name="property">none</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">none</Property> |
| | | <Property name="property">none</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">none</Property> |
| | | <Property name="property">none</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">unit</Property> |
| | | <Property name="property">unit</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <DataGrid id="dataGridMain1" layoutConstraint="center"> |
| | | <ClientEvent name="onRenderRow">if(arg.data.get('id') == 'å计'){
 |
| | | //arg.dom.style.background = "#fcc5c5";
 |
| | | arg.dom.style.fontWeight = "bold";
 |
| | | //arg.processDefault = false;
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="highlightCurrentRow">false</Property> |
| | | <Property name="hideMode">display</Property> |
| | | <Property name="visible">true</Property> |
| | | <RowNumColumn/> |
| | | <DataColumn name="id"> |
| | | <Property name="property">id</Property> |
| | | <Property name="width">130</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="plateNum"> |
| | | <Property name="property">plateNum</Property> |
| | | <Property name="align">center</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> |
| | | </DataColumn> |
| | | <DataColumn name="fullWeight"> |
| | | <Property name="property">fullWeight</Property> |
| | | <Property name="caption">æ¯é</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="emptyWeight"> |
| | | <Property name="property">emptyWeight</Property> |
| | | <Property name="caption">ç®é</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="netWeight"> |
| | | <Property name="property">netWeight</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="name">deOther</Property> |
| | | <Property name="property">deOther</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="settleWeight"> |
| | | <Property name="property">settleWeight</Property> |
| | | <Property name="caption">ç»ç®éé</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">recordWeight</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">recordWeight</Property> |
| | | <Property name="caption">åºåºéé</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">completeTime</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="caption">ç¦»åºæ¶é´</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataGrid id="dataGridMain2" layoutConstraint="center"> |
| | | <ClientEvent name="onRenderRow">if(arg.data.get('id') == 'å计'){
 |
| | | //arg.dom.style.background = "#fcc5c5";
 |
| | | arg.dom.style.fontWeight = "bold";
 |
| | | //arg.processDefault = false;
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="highlightCurrentRow">false</Property> |
| | | <Property name="visible">false</Property> |
| | | <Property name="hideMode">display</Property> |
| | | <RowNumColumn> |
| | | <Property name="caption">åºå·</Property> |
| | | </RowNumColumn> |
| | | <DataColumn> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="caption">æ¶å¨å
¬å¸</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">customerName</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">deptId</Property> |
| | | <Property name="caption">åºåºåç§°</Property> |
| | | <Property name="width">80</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="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="plateNum"> |
| | | <Property name="property">plateNum</Property> |
| | | <Property name="align">center</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> |
| | | </DataColumn> |
| | | <DataColumn name="settleWeight"> |
| | | <Property name="property">settleWeight</Property> |
| | | <Property name="caption">ç»ç®éé</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">recordWeight</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">recordWeight</Property> |
| | | <Property name="caption">åºåºéé</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">completeTime</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="caption">ç¦»åºæ¶é´</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <ClientEvent name="onRenderCell">//arg.dom.innerHTML = "<a href='javascript:;' onClick='detail()' class='a-btn1'>æ¥ç详æ
</a>";</ClientEvent> |
| | | <Property name="width">160</Property> |
| | | <Property name="caption">æä½</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">120</Property> |
| | | <Editor/> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | </View> |
| | | </ViewConfig> |