| | |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <ClientEvent name="onDataChange">if(arg.property =="depotId"){
 |
| | | autoByDepot(arg.newValue);
 |
| | | }</ClientEvent> |
| | | <Property name="creationType">com.fzzy.igds.models.InoutNoticeOut</Property> |
| | | <Property name="creationType">com.fzzy.igds.domain.InoutNoticeOut</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">éç¥åå·</Property> |
| | |
| | | <PropertyDef name="deptId"> |
| | | <Property></Property> |
| | | <Property name="label">æå±ååº</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#loadParents").getResult()}</Property> |
| | | <Property name="keyProperty">deptId</Property> |
| | | <Property name="valueProperty">deptName</Property> |
| | | </Property> |
| | | <Property name="required">false</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planId"> |
| | | <Property></Property> |
| | | <Property name="label">æå±è®¡å</Property> |
| | | <Property name="required">false</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planName"> |
| | | <Property></Property> |
| | | <Property name="label">æå±è®¡å</Property> |
| | | <Property name="required">false</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contractId"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åå</Property> |
| | | <Property name="required">false</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contractName"> |
| | | <Property></Property> |
| | | <Property name="label">æå±åå</Property> |
| | | <Property name="required">false</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <Property></Property> |
| | | <Property name="label">éç¥ååç§°</Property> |
| | | <Property name="label">åæ®åç§°</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property></Property> |
| | | <Property name="label">åæ®ç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="name">åºåºéç¥å</Property> |
| | | <Property name="code">10</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">ç管éç¥å</Property> |
| | | <Property name="code">20</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contract"> |
| | | <Property></Property> |
| | | <Property name="label">å
³èåå</Property> |
| | | <Property name="required">false</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotId"> |
| | | <Property></Property> |
| | |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerId"> |
| | | <Property></Property> |
| | | <Property name="label">æ¶è´§å®¢æ·</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerName"> |
| | |
| | | <Property name="label">åè´§åä½</Property> |
| | | <Property name="required">false</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#loadParents").getResult()}</Property> |
| | | <Property name="keyProperty">deptId</Property> |
| | | <Property name="valueProperty">deptName</Property> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#getAllData").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">kqmc</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodVariety"> |
| | |
| | | </PropertyDef> |
| | | <PropertyDef name="year"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£å¹´ä»½</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="label">年份</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="targetNumber"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="displayFormat">#,## kG</Property> |
| | | <Property name="displayFormat">#0.0 KG</Property> |
| | | <Property name="required">true</Property> |
| | | <Property name="label">è®¡åæ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeNumber"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">宿æ°é</Property> |
| | | <Property name="displayFormat">#,## kG</Property> |
| | | <Property name="displayFormat">#0.0 KG</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditStatus"> |
| | | <Property></Property> |
| | | <Property name="label">å®¡æ ¸ç¶æ</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="name">çç®¡å®¡æ ¸</Property> |
| | | <Property name="code">10</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">é¶è¡å®¡æ ¸</Property> |
| | | <Property name="code">20</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">å·²å®¡æ ¸</Property> |
| | | <Property name="code">30</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditUser"> |
| | | <Property></Property> |
| | | <Property name="label">å®¡æ ¸äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditDate"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">å®¡æ¹æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeStatus"> |
| | | <Property></Property> |
| | |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">å建æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createUser"> |
| | | <Property></Property> |
| | | <Property name="label">å建人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">宿æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨ä¿¡æ¯</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="tag"> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">å¶åæ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createBy"> |
| | | <Property></Property> |
| | | <Property name="label">æ è®°</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtQuery"> |
| | | <PropertyDef name="id"> |
| | | <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#loadParents").getResult()}</Property> |
| | | <Property name="keyProperty">deptId</Property> |
| | | <Property name="valueProperty">deptName</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> |
| | | </PropertyDef> |
| | | <PropertyDef name="year"> |
| | | <Property></Property> |
| | | <Property name="label">年份</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeStatus"> |
| | | <Property></Property> |
| | | <Property name="label">å®æç¶æ</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="name">æªå®æ</Property> |
| | | <Property name="code">NONE</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="name">已宿</Property> |
| | | <Property name="code">COMPLETE</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</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> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtQueryTitle"> |
| | | <PropertyDef name="title"> |
| | | <Property name="label">title</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtPlan"> |
| | | <Property name="creationType">com.fzzy.igds.models.InoutPlanDetail</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">计åæç»å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planId"> |
| | | <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="foodType"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£æ§è´¨</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_TYPE_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</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="year"> |
| | | <Property></Property> |
| | | <Property name="label">æ¶è·å¹´åº¦</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="planNum"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">è®¡åæ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property name="label">计åç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#triggerPlanType").getResult()}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | <Property name="label">å¶å人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property></Property> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">æ´æ°æ¶é´</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtContract"> |
| | | <Property name="creationType">com.fzzy.igds.models.InoutContract</Property> |
| | | <PropertyDef name="id"> |
| | | <PropertyDef name="updateBy"> |
| | | <Property></Property> |
| | | <Property name="label">ID_</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <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#loadParents").getResult()}</Property> |
| | | <Property name="keyProperty">deptId</Property> |
| | | <Property name="valueProperty">deptName</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planId"> |
| | | <Property></Property> |
| | | <Property name="label">æå±è®¡å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planName"> |
| | | <Property></Property> |
| | | <Property name="label">æå±è®¡å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property></Property> |
| | | <Property name="label">ååç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#triggerContractType").getResult()}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <Property></Property> |
| | | <Property name="label">åååç§°</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="year"> |
| | | <Property></Property> |
| | | <Property name="label">年份</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerId"> |
| | | <Property></Property> |
| | | <Property name="label">客æ·ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerName"> |
| | | <Property></Property> |
| | | <Property name="label">客æ·åç§°</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerType"> |
| | | <Property></Property> |
| | | <Property name="label">客æ·ç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="code">1</Property> |
| | | <Property name="name">1-ä¼ä¸</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="code">2</Property> |
| | | <Property name="name">2-个人</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerBank"> |
| | | <Property></Property> |
| | | <Property name="label">客æ·å¼æ·è¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerBankAccount"> |
| | | <Property></Property> |
| | | <Property name="label">客æ·å¼æ·è¡è´¦å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerSignUser"> |
| | | <Property></Property> |
| | | <Property name="label">客æ·ç¾çº¦äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bank"> |
| | | <Property></Property> |
| | | <Property name="label">æ¬æ¹å¼æ·è¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bankAccount"> |
| | | <Property></Property> |
| | | <Property name="label">æ¬æ¹å¼æ·è¡è´¦å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="signUser"> |
| | | <Property></Property> |
| | | <Property name="label">æ¬æ¹ç¾çº¦äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="signAddress"> |
| | | <Property></Property> |
| | | <Property name="label">ç¾çº¦å°å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="price"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åä»·</Property> |
| | | <Property name="displayFormat">#,###0.000 å
/å
¬æ¤</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="money"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">æ»éé¢</Property> |
| | | <Property name="displayFormat">#,###0.000 å
</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contactAmount"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ååæ°é</Property> |
| | | <Property name="displayFormat">#,##0.00 KG</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeNum"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åå宿æ°é</Property> |
| | | <Property name="displayFormat">#,##0.00 KG</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="foodType"> |
| | | <Property></Property> |
| | | <Property name="label">ç²®é£æ§è´¨</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_TYPE_")}</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payType"> |
| | | <Property></Property> |
| | | <Property name="label">æ¯ä»æ¹å¼</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicPR#sysDictData").getResult("PAY_TYPE")}</Property> |
| | | <Property name="valueProperty">dictLabel</Property> |
| | | <Property name="keyProperty">dictValue</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createUser"> |
| | | <Property></Property> |
| | | <Property name="label">å建人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å建æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="signingTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">ç¾è®¢æ¶é´</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="beginTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">ææå¼å§æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="endTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æææªæ¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨è¯´æ</Property> |
| | | <Property name="label">æ´æ°äºº</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:5;regionPadding:5"> |
| | | <View layout="padding:10"> |
| | | <ClientEvent name="onReady">var deptId = window.parent.deptId;//ç¶é¡µé¢ä¸çååºç¼ç 
 |
| | | var TYPE = "NOTICE_OUT";
 |
| | | query = function(){
 |
| | |
| | | };
 |
| | | query();
 |
| | | 
 |
| | | queryTitle = function(){
 |
| | | view.get("#dsQueryTitle").set("parameter",{type:TYPE,deptId:deptId}).flushAsync();
 |
| | | };
 |
| | | queryTitle();
 |
| | | 
 |
| | | //æ°å¢
 |
| | | add = function(){
 |
| | | view.get("#ajaxInitAdd").set("parameter", TYPE).execute(function(data){
 |
| | | view.get("#ajaxInitAdd").execute(function(data){
 |
| | | view.get("#dsMain").insert(data);
 |
| | | view.get("#dialogMain").show();
 |
| | | });
 |
| | | };
 |
| | | 
 |
| | | //æ ¹æ®ä»åºèªå¨åå¡«ç²®é£åç§ï¼ç级ï¼äº§å°æ°
 |
| | | autoByDepot = function(depotId){
 |
| | | view.get("#ajaxGetDepot").set("parameter",depotId).execute(function(result){
 |
| | | if(result){
 |
| | | var data = view.get("#dataGridMain.currentEntity");
 |
| | | data.set("foodVariety",result.foodVariety);
 |
| | | 
 |
| | | }
 |
| | | });
 |
| | | };</ClientEvent> |
| | | 
</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | |
| | | <Property name="pageSize">15</Property> |
| | | <Property name="loadMode">lazy</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQueryTitle"> |
| | | <Property name="dataType">dtQueryTitle</Property> |
| | | <Property name="dataProvider">inoutNoticePR#getTitle</Property> |
| | | <Property name="loadMode">manual</Property> |
| | | </DataSet> |
| | | <DataSet id="dsQuery"> |
| | | <Property name="dataType">dtQuery</Property> |
| | | <Property name="dataType">dtNoticeParam</Property> |
| | | <Property name="dataProvider">inoutNoticePR#getYearQuery</Property> |
| | | <Property name="loadMode">manual</Property> |
| | | </DataSet> |
| | | <AutoForm layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="editable">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Property name="editable">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeStatus</Property> |
| | | <Property name="property">completeStatus</Property> |
| | | <Property name="editable">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="hbox regionPadding:15"> |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*,90,90</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeStatus</Property> |
| | | <Property name="property">completeStatus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsQuery.data");
 |
| | | if(data){
 |
| | |
| | | }else{
 |
| | | view.get("#dsMain").flushAsync();
 |
| | | }</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="caption">æç´¢</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | <Property name="exClassName">btn-q1</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> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container layout="regionPadding:10" layoutConstraint="type:top;colSpan:2"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="contentOverflow">hidden</Property> |
| | | <Property name="height">55</Property> |
| | | <Label layoutConstraint="left"> |
| | | <Property name="text">èåæ ï¼</Property> |
| | | </Label> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">add();
 |
| | | //view.get("#dsMain").insert({
 |
| | | // name:"åºåºéç¥å"
 |
| | | // });
 |
| | | // view.get("#dialogMain").show();</ClientEvent> |
| | | </AutoForm> |
| | | </Container> |
| | | <Container> |
| | | <Property name="className">c-data</Property> |
| | | <ToolBar> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">add();
</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | </ToolBarButton> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">
 |
| | | var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $notify("è¯·éæ©éè¦ä¿®æ¹çæ°æ®â¦â¦");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ç¼è¾</Property> |
| | | var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $notify("è¯·éæ©éè¦ä¿®æ¹çæ°æ®â¦â¦");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ä¿®æ¹</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="width">100</Property> |
| | | <Property name="iconClass">fa fa-pencil-square-o</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">
 |
| | | var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#ajaxDel").set("parameter",select).execute(function(result){
 |
| | | select.remove();
 |
| | | });
 |
| | | }else{
 |
| | | $notify("è¯·éæ©éè¦å é¤çä»åºâ¦â¦");
 |
| | | }
 |
| | | </ClientEvent> |
| | | var select = view.get("#dataGridMain").get("selection");
 |
| | | if(select){
 |
| | | view.get("#ajaxDel").set("parameter",select).execute(function(result){
 |
| | | select.remove();
 |
| | | });
 |
| | | }else{
 |
| | | $notify("è¯·éæ©éè¦å é¤çä»åºâ¦â¦");
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">å é¤</Property> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsQuery.data");
 |
| | | var page = view.get("#dsMain");
 |
| | | var param = {
 |
| | | "pageSize":page.get("pageSize"),
 |
| | | "pageNo":page.get("pageNo"),
 |
| | | "foodVariety":data.get("foodVariety"),
 |
| | | "year":data.get("year"),
 |
| | | "completeStatus":data.get("completeStatus")
 |
| | | }
 |
| | | console.log(param);
 |
| | | window.parent.$.table.exportExcelDorado("./export/noticeOut-excel", "åºåºéç¥åæ°æ®", param);</ClientEvent> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | <Property name="action">exportExcel</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="width">100</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | </ToolBarButton> |
| | | <ToolBarButton layoutConstraint="left"> |
| | | <ClientEvent name="onClick">view.get("#recalculate").execute(function(result){
 |
| | | if(result == 'success'){
 |
| | | $notify("æ°æ®æ´æ°å®æï¼ï¼");
 |
| | | 
 |
| | | var data = view.get("#dsQuery.data");
 |
| | | view.get("#dsMain").set("parameter",data.toJSON()).flushAsync();
 |
| | | }else{
 |
| | | $notify("æ°æ®æ´æ°å¤±è´¥ï¼ï¼");
 |
| | | }
 |
| | | });</ClientEvent> |
| | | if(result == 'success'){
 |
| | | $notify("æ°æ®æ´æ°å®æï¼ï¼");
 |
| | | 
 |
| | | var data = view.get("#dsQuery.data");
 |
| | | view.get("#dsMain").set("parameter",data.toJSON()).flushAsync();
 |
| | | }else{
 |
| | | $notify("æ°æ®æ´æ°å¤±è´¥ï¼ï¼");
 |
| | | }
 |
| | | });</ClientEvent> |
| | | <Property name="caption">宿¶æ ¸ç®</Property> |
| | | <Property name="exClassName">btn2</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="tip">宿éé»è®¤ç»è®¡å°æ¨å¤©ï¼æ¥ç宿¶å®æé请ç¹å»â宿¶æ ¸ç®âæé®</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <Container layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataGrid id="dataGridMain" layoutConstraint="center"> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | </ToolBarButton> |
| | | </ToolBar> |
| | | <DataGrid id="dataGridMain" layoutConstraint="padding:8"> |
| | | <ClientEvent name="onDataRowDoubleClick">view.get("#dataGridMain").set("selection",arg.data);</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Property name="selectionMode">singleRow</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowSelectorColumn/> |
| | | <RowNumColumn> |
| | | <Property name="width">50</Property> |
| | |
| | | <Property name="align">center</Property> |
| | | <Property name="width">120</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <DataColumn name="customerName"> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="width">150</Property> |
| | | </DataColumn> |
| | | <DataColumn name="foodVariety"> |
| | | <Property name="property">foodVariety</Property> |
| | |
| | | <Property name="property">targetNumber</Property> |
| | | <Property name="name">targetNumber</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="width">200</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">completeNumber</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">completeNumber</Property> |
| | | <Property name="width">200</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | |
| | | <Property name="name">createTime</Property> |
| | | <Property name="width">200</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">updateBy</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">updateBy</Property> |
| | | <Property name="width">120</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">updateTime</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="width">160</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="closeable">false</Property> |
| | | <Property name="caption">åºåºå</Property> |
| | | <Property name="width">60%</Property> |
| | | <Property name="caption">åºåºéç¥å</Property> |
| | | <Property name="width">1200</Property> |
| | | <Property name="iconClass">fa fa-tasks</Property> |
| | | <Buttons> |
| | | <Button id="btnOk"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data.validate() != 'ok'){
 |
| | | $notify("æ°æ®æ ¡éªå¤±è´¥ï¼ï¼");
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxSave").set("parameter",data).execute(function(result){
 |
| | | <ClientEvent name="onClick">view.get("#updateSave").execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | |
| | | $notify("æ°æ®æ§è¡å®æï¼ï¼");
 |
| | | self.get("parent").hide();
 |
| | | });</ClientEvent> |
| | | <Property name="caption">ç¡®å®</Property> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="caption">ä¿å</Property> |
| | | <Property name="iconClass">fa fa-check-circle</Property> |
| | | <Property name="exClassName">btn1</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsMain.data:#").cancel();
 |
| | | self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">åæ¶</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">btn3</Property> |
| | | <Property name="iconClass">fa fa-times-circle</Property> |
| | | <Property name="width">120</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <AutoForm id="autoForm1" layoutConstraint="top padding:10"> |
| | | <Property name="cols">*,*,*,*,*,*,*</Property> |
| | | <Property name="dataSet">dsQueryTitle</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <AutoForm layoutConstraint="top "> |
| | | <Property name="dataSet">dsMain</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="cols">210,*,210</Property> |
| | | <Control/> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="style"> |
| | | <Property name="font">bold 30px Georgia, serif;</Property> |
| | | <Property name="text-align">center</Property> |
| | | </Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Property name="className">f-title</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Property name="editorType">Label</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="showLabel">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | <Container layout="padding:15"> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">110</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="trigger">ddCustomer</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">unitName</Property> |
| | | <Property name="property">unitName</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">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Label layoutConstraint="colSpan:1"/> |
| | | <AutoFormElement> |
| | | <Property name="name">targetNumber</Property> |
| | | <Property name="property">targetNumber</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeNumber</Property> |
| | | <Property name="property">completeNumber</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">planName</Property> |
| | | <Property name="property">planName</Property> |
| | | <Property name="trigger">ddPlan</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Label layoutConstraint="colSpan:1"> |
| | | <Property name="style"> |
| | | <Property name="color">blue</Property> |
| | | </Property> |
| | | <Property name="text">注ï¼å½åéç¥åå
³èçåºåºè®¡å</Property> |
| | | </Label> |
| | | <AutoFormElement> |
| | | <Property name="name">contractName</Property> |
| | | <Property name="property">contractName</Property> |
| | | <Property name="trigger">ddContract</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Label layoutConstraint="colSpan:1"> |
| | | <Property name="style"> |
| | | <Property name="color">blue</Property> |
| | | </Property> |
| | | <Property name="text">注ï¼å½åéç¥åå
³èçéå®åå</Property> |
| | | </Label> |
| | | <AutoFormElement> |
| | | <Property name="name">createTime</Property> |
| | | <Property name="property">createTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="property">completeTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeStatus</Property> |
| | | <Property name="property">completeStatus</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> |
| | | </Container> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">120</Property> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">type</Property> |
| | | <Property name="property">type</Property> |
| | | <Property name="editorType">RadioGroup</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">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">unitName</Property> |
| | | <Property name="property">unitName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">targetNumber</Property> |
| | | <Property name="property">targetNumber</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeNumber</Property> |
| | | <Property name="property">completeNumber</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeStatus</Property> |
| | | <Property name="property">completeStatus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeTime</Property> |
| | | <Property name="property">completeTime</Property> |
| | | <Property name="readOnly">false</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createBy</Property> |
| | | <Property name="property">createBy</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditStatus</Property> |
| | | <Property name="property">auditStatus</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">contract</Property> |
| | | <Property name="property">contract</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Label> |
| | | <Property name="style"> |
| | | <Property name="color">blue</Property> |
| | | </Property> |
| | | <Property name="text">注ï¼ç管éç¥åï¼å¯å¡«åè´¨æ¼åååç§°</Property> |
| | | </Label> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Property name="editorType">TextArea</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">createTime</Property> |
| | | <Property name="property">createTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditUser</Property> |
| | | <Property name="property">auditUser</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">auditDate</Property> |
| | | <Property name="property">auditDate</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <HtmlContainer layoutConstraint="colSpan:3"> |
| | | <Property name="content">1.åºåºéç¥åä½ä¸ºåºåºä½ä¸çåç½®æ¡ä»¶ï¼å¿
é¡»é
ç½®ï¼å¦åæ æ³è¿è¡å
¥åºä½ä¸ã<br>
 |
| | | 2.åæ®ç±»å=åºåºéç¥åï¼è¡¨ç¤ºåºåºèªå·±ä½ä¸ä¸å¡ï¼ä¸åç管管çã</Property> |
| | | <Property name="exClassName">h-tip</Property> |
| | | <Property name="contentOverflow">hidden</Property> |
| | | </HtmlContainer> |
| | | </AutoForm> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <AjaxAction id="ajaxGetDepot"> |
| | | <Property name="service">depotPR#getDepot</Property> |
| | | </AjaxAction> |
| | | <AjaxAction id="ajaxSave"> |
| | | <Property name="service">inoutNoticePR#saveOut</Property> |
| | | </AjaxAction> |
| | | <UpdateAction id="updateSave"> |
| | | <Property name="dataResolver">inoutNoticePR#saveOut</Property> |
| | | <UpdateItem> |
| | | <Property name="dataPath">[#current]</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="service">inoutNoticePR#delDataOut</Property> |
| | | <Property name="confirmMessage">ç¡®å®è¦æ§è¡å é¤ä¹ï¼</Property> |
| | |
| | | <AjaxAction id="ajaxInitAdd"> |
| | | <Property name="service">inoutNoticePR#initAddOut</Property> |
| | | </AjaxAction> |
| | | <CustomDropDown id="ddCustomer"> |
| | | <Property name="minHeight">400</Property> |
| | | <Property name="assignmentMap">customerId=id,customerName=name</Property> |
| | | <Property name="minWidth">500</Property> |
| | | <Property name="autoOpen">true</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsCustomer"> |
| | | <Property name="dataProvider">inoutCustomerPR#queryListByKey</Property> |
| | | <Property name="dataType">[dtInoutCustomer]</Property> |
| | | <Property name="parameter"> |
| | | <Entity> |
| | | <Property name="type">OUT</Property> |
| | | </Entity> |
| | | </Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key"> |
| | | <Property name="blankText"> -- ç¼ç æè
åç§° --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key.value");
 |
| | | var type = "${request.getParameter('type')}";
 |
| | | view.get("#dsCustomer").set("parameter",{key:key,type:type}).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsCustomer.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddCustomer").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("#dsCustomer.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddCustomer").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsCustomer</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn name="id"> |
| | | <Property name="property">id</Property> |
| | | <Property name="width">100</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="align">center</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <AjaxAction id="recalculate"> |
| | | <Property name="service">inoutNoticePR#updateSumNoticeOut</Property> |
| | | </AjaxAction> |
| | | <CustomDropDown id="ddPlan"> |
| | | <Property name="minHeight">325</Property> |
| | | <Property name="assignmentMap">planId=id,planName=planId</Property> |
| | | <Property name="minWidth">900</Property> |
| | | <Property name="autoOpen">false</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsPlan"> |
| | | <Property name="dataProvider">planManagePR#pagePlanDetail</Property> |
| | | <Property name="dataType">[dtPlan]</Property> |
| | | <Property name="parameter"></Property> |
| | | <Property name="pageSize">5</Property> |
| | | </DataSet> |
| | | <AutoForm layoutConstraint="top"> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">:</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="editable">false</Property> |
| | | <Property name="label">计åä»åº</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Property name="editable">false</Property> |
| | | <Property name="label">æ¶è·å¹´ä»½</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="hbox regionPadding:15"> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsQuery.data");
 |
| | | if(data){
 |
| | | view.get("#dsPlan").set("parameter",data.toJSON()).flushAsync();
 |
| | | }else{
 |
| | | view.get("#dsPlan").flushAsync();
 |
| | | }
 |
| | | </ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="exClassName">btn-normal</Property> |
| | | <Property name="iconClass">fa fa-search</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsPlan.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddPlan").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="iconClass">fa fa-check</Property> |
| | | <Property name="caption">ç¡®å®</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <DataGrid> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsPlan.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddPlan").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsPlan</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn> |
| | | <Property name="property">planId</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">planId</Property> |
| | | <Property name="visible">false</Property> |
| | | </DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = "bold";
 |
| | | arg.processDefault = true;</ClientEvent> |
| | | <Property name="property">depotId</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">year</Property> |
| | | <Property name="width">200</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">year</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">planNum</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">planNum</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">foodVariety</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">type</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">type</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataPilot layoutConstraint="bottom"> |
| | | <Property name="dataSet">dsPlan</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | </CustomDropDown> |
| | | <CustomDropDown id="ddContract"> |
| | | <Property name="minHeight">317</Property> |
| | | <Property name="assignmentMap">contractId=id,contractName=name</Property> |
| | | <Property name="minWidth">550</Property> |
| | | <Property name="autoOpen">false</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsContract"> |
| | | <Property name="dataProvider">contractManagePR#pageContract</Property> |
| | | <Property name="dataType">[dtContract]</Property> |
| | | <Property name="parameter"></Property> |
| | | <Property name="pageSize">5</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key3"> |
| | | <Property name="blankText"> -- åååç§°æè
æå±è®¡å --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key3.value");
 |
| | | view.get("#dsContract").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("#dsContract.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddContract").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("#dsContract.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddContract").close(data.toJSON());
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsContract</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <DataColumn> |
| | | <Property name="property">id</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">id</Property> |
| | | <Property name="visible">false</Property> |
| | | </DataColumn> |
| | | <DataColumn name="name"> |
| | | <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = "bold";
 |
| | | arg.processDefault = true;</ClientEvent> |
| | | <Property name="property">name</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">planName</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">planName</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">year</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">year</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataPilot layoutConstraint="bottom"> |
| | | <Property name="dataSet">dsContract</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | </CustomDropDown> |
| | | </View> |
| | | </ViewConfig> |