¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtParam"> |
| | | <PropertyDef name="year"> |
| | | <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">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <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> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.ld.igds.models.InoutContract</Property> |
| | | <PropertyDef name="id"> |
| | | <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">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</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("contractManagePR#triggerContractType").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | <Property name="required">true</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">${dorado.getDataProvider("contractManagePR#triggerCustomerType").getResult()}</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.00 å
</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("dicTriggerPR#dicTrigger").getResult("FOOD_VARIETY_")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</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("dicTriggerPR#dicTrigger").getResult("FOOD_TYPE_")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</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("dicTriggerPR#dicTrigger").getResult("PAY_TYPE")}</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | <Property name="keyProperty">code</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> |
| | | </PropertyDef> |
| | | <PropertyDef name="fddbr"> |
| | | <Property/> |
| | | <Property name="label">æ³å®ä»£è¡¨äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="txdz"> |
| | | <Property/> |
| | | <Property name="label">é讯å°å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="yzbm"> |
| | | <Property/> |
| | | <Property name="label">鮿¿ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lxrxm"> |
| | | <Property/> |
| | | <Property name="label">è系人å§å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lxrdh"> |
| | | <Property/> |
| | | <Property name="label">èç³»çµè¯</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="sfzh"> |
| | | <Property/> |
| | | <Property name="label">身份è¯å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="dzyx"> |
| | | <Property/> |
| | | <Property name="label">çµåä¿¡ç®±</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="relEndTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å®é
宿æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lybzj"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">履约ä¿è¯é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="lyl"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">履约ç</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jsjg"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç»ç®ä»·æ ¼ï¼å
/å¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jszje"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç»ç®æ»éé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jsyhtyzx"> |
| | | <Property/> |
| | | <Property name="label">ç»ç®ä¸ååä¸è´æ§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jsyhtbyzyy"> |
| | | <Property/> |
| | | <Property name="label">ä¸ä¸è´åå </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditUser"> |
| | | <Property/> |
| | | <Property name="label">审æ¹äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditDate"> |
| | | <Property/> |
| | | <Property name="label">å®¡æ¹æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditStatus"> |
| | | <Property/> |
| | | <Property name="label">审æ¹ç¶æ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wcrq"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">宿æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æ´æ°æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hqzz"> |
| | | <Property/> |
| | | <Property name="label">è´§æç»ç»</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("deptPR#loadParents").getResult()}</Property> |
| | | <Property name="keyProperty">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtPlan"> |
| | | <Property name="creationType">com.ld.igds.models.InoutPlan</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">计åç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="referenceNumber"> |
| | | <Property name="label">计åæå·</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">id</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property></Property> |
| | | <Property name="label">计åç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("planManagePR#triggerPlanType").getResult()}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</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> |
| | | <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="createUser"> |
| | | <Property></Property> |
| | | <Property name="label">å建人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å建æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">夿³¨è¯´æ</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="regionPadding:10"> |
| | | <ClientEvent name="onReady">var deptId = window.parent.deptId;//ç¶é¡µé¢ä¸çååºç¼ç 
 |
| | | 
 |
| | | addMain = function(){
 |
| | | view.get("#dsMain").insert({});
 |
| | | view.get("#dialogMain").show();
 |
| | | };
 |
| | | view.get("#dsParam").insert({});</ClientEvent> |
| | | <ClientEvent name="onCreate">//èªå¨è®¡ç®
 |
| | | countMoney = function(){
 |
| | | var curData = view.get("#dsMain.data:#");
 |
| | | 
 |
| | | var price = curData.get("price");
 |
| | | 
 |
| | | var contactAmount = curData.get("contactAmount");
 |
| | | 
 |
| | | if(price && contactAmount){
 |
| | | 
 |
| | | //计ç®åå
¥æ°é
 |
| | | var money = price*contactAmount;
 |
| | | curData.set("money",money); 
 |
| | | }
 |
| | | };</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="dataProvider">contractManagePR#pageContract</Property> |
| | | <Property name="pageSize">15</Property> |
| | | <Property name="parameter"> |
| | | <Entity> |
| | | <Property name="type">1</Property> |
| | | </Entity> |
| | | </Property> |
| | | </DataSet> |
| | | <DataSet id="dsParam"> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <Container layoutConstraint="top"> |
| | | <Property name="height">55</Property> |
| | | <Property name="contentOverflow">hidden</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Label layoutConstraint="left padding:10"> |
| | | <Property name="text">èåæ ï¼</Property> |
| | | </Label> |
| | | <Button layoutConstraint="left padding:10"> |
| | | <ClientEvent name="onClick">addMain();</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left padding:10"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | <Property name="caption">ä¿®æ¹</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | <Property name="exClassName">btn-warm</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left padding:10"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(!data){
 |
| | | return;
 |
| | | }
 |
| | | view.get("#ajaxDel").set("parameter",data).execute(function(result){
 |
| | | if(result){
 |
| | | $alert(result);
 |
| | | return;
 |
| | | }else{
 |
| | | data.remove();
 |
| | | }
 |
| | | });</ClientEvent> |
| | | <Property name="caption">å é¤</Property> |
| | | <Property name="iconClass">fa fa-times</Property> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | </Button> |
| | | </Container> |
| | | <Container layout="regionPadding:10" layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="dataSet">dsParam</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelWidth">100</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Container layout="regionPadding:15"> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var param = view.get("#dsParam.data");
 |
| | | view.get("#dsMain").set("parameter",param.toJSON()).flushAsync();</ClientEvent> |
| | | <Property name="caption">æ¥è¯¢</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | </Button> |
| | | <Button> |
| | | <ClientEvent name="onClick">view.get("#dsParam").setData({type:'1'});
 |
| | | view.get("#dsMain").set("parameter",{type:'1'}).flushAsync();</ClientEvent> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="caption">éç½®</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <DataGrid layoutConstraint="center padding:5px"> |
| | | <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }</ClientEvent> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <RowNumColumn/> |
| | | <DataColumn name="name"> |
| | | <Property name="property">name</Property> |
| | | </DataColumn> |
| | | <DataColumn name="type"> |
| | | <Property name="property">type</Property> |
| | | </DataColumn> |
| | | <DataColumn name="year"> |
| | | <Property name="property">year</Property> |
| | | </DataColumn> |
| | | <DataColumn name="customerName"> |
| | | <Property name="property">customerName</Property> |
| | | </DataColumn> |
| | | <DataColumn name="money"> |
| | | <Property name="property">money</Property> |
| | | </DataColumn> |
| | | <DataColumn name="contactAmount"> |
| | | <Property name="property">contactAmount</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">foodVariety</Property> |
| | | <Property name="name">foodVariety</Property> |
| | | </DataColumn> |
| | | <DataColumn name="createUser"> |
| | | <Property name="property">createUser</Property> |
| | | </DataColumn> |
| | | <DataColumn name="createTime"> |
| | | <Property name="property">createTime</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | </Container> |
| | | <Container layout="regionPadding:10" layoutConstraint="bottom"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <DataPilot layoutConstraint="right"> |
| | | <Property name="itemCodes">pageSize,pages</Property> |
| | | <Property name="dataSet">dsMain</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | <Dialog id="dialogMain" layout="padding:5;regionPadding:10"> |
| | | <Property name="width">85%</Property> |
| | | <Property name="caption">ååä¿¡æ¯</Property> |
| | | <Property name="iconClass">fa fa-flag-o</Property> |
| | | <Property name="closeable">false</Property> |
| | | <Buttons> |
| | | <Button> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data.validate() != 'ok'){
 |
| | | $notify("æ°æ®æ ¡éªå¤±è´¥ï¼ï¼");
 |
| | | return;
 |
| | | }
 |
| | | view.get("#uaAction").set("parameter",data).execute();
 |
| | | self.get("parent").hide();</ClientEvent> |
| | | <Property name="caption">确认</Property> |
| | | <Property name="iconClass">fa fa-check-circle</Property> |
| | | <Property name="width">90</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-circle</Property> |
| | | <Property name="width">90</Property> |
| | | </Button> |
| | | </Buttons> |
| | | <Children> |
| | | <Container> |
| | | <AutoForm> |
| | | <Property name="cols">*</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="showHint">false</Property> |
| | | <Label> |
| | | <Property name="style"> |
| | | <Property name="font">bold 24px Georgia, serif;</Property> |
| | | <Property name="text-align">center</Property> |
| | | </Property> |
| | | <Property name="text">ååä¿¡æ¯</Property> |
| | | </Label> |
| | | </AutoForm> |
| | | <Container> |
| | | <FieldSet layout="regionPadding:5"> |
| | | <Property name="caption">åºæ¬ä¿¡æ¯</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">150</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">type</Property> |
| | | <Property name="property">type</Property> |
| | | <Property name="editorType">RadioGroup</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">name</Property> |
| | | <Property name="property">name</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">hqzz</Property> |
| | | <Property name="property">hqzz</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">year</Property> |
| | | <Property name="property">year</Property> |
| | | <Property name="trigger">defaultYearDropDown</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodVariety</Property> |
| | | <Property name="property">foodVariety</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <ClientEvent name="onBlur">countMoney();</ClientEvent> |
| | | <Property name="name">price</Property> |
| | | <Property name="property">price</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <ClientEvent name="onBlur">countMoney();</ClientEvent> |
| | | <Property name="name">contactAmount</Property> |
| | | <Property name="property">contactAmount</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">foodType</Property> |
| | | <Property name="property">foodType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">money</Property> |
| | | <Property name="property">money</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">completeNum</Property> |
| | | <Property name="property">completeNum</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payType</Property> |
| | | <Property name="property">payType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">beginTime</Property> |
| | | <Property name="property">beginTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">endTime</Property> |
| | | <Property name="property">endTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">planName</Property> |
| | | <Property name="property">planName</Property> |
| | | <Property name="trigger">ddPlan</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | <FieldSet layout="regionPadding:5"> |
| | | <Property name="caption">ç¾çº¦ä¿¡æ¯</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <AutoForm> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="cols">*,*,*</Property> |
| | | <Property name="labelWidth">150</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">customerName</Property> |
| | | <Property name="property">customerName</Property> |
| | | <Property name="trigger">ddCustomer</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerType</Property> |
| | | <Property name="property">customerType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">signingTime</Property> |
| | | <Property name="property">signingTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerBank</Property> |
| | | <Property name="property">customerBank</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerBankAccount</Property> |
| | | <Property name="property">customerBankAccount</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">customerSignUser</Property> |
| | | <Property name="property">customerSignUser</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bank</Property> |
| | | <Property name="property">bank</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bankAccount</Property> |
| | | <Property name="property">bankAccount</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">signUser</Property> |
| | | <Property name="property">signUser</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">signAddress</Property> |
| | | <Property name="property">signAddress</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | </Container> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="uaAction"> |
| | | <Property name="dataResolver">contractManagePR#saveContract</Property> |
| | | <UpdateItem> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="dataPath">[#current]</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="confirmMessage">ç¡®å®è¦å é¤åï¼</Property> |
| | | <Property name="service">contractManagePR#delContract</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"></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> |
| | | <CustomDropDown id="ddPlan"> |
| | | <Property name="minHeight">317</Property> |
| | | <Property name="assignmentMap">planId=id,planName=name</Property> |
| | | <Property name="minWidth">550</Property> |
| | | <Property name="autoOpen">false</Property> |
| | | <Container layout="regionPadding:5"> |
| | | <DataSet id="dsPlan"> |
| | | <Property name="dataProvider">planManagePR#pagePlan</Property> |
| | | <Property name="dataType">[dtPlan]</Property> |
| | | <Property name="parameter"></Property> |
| | | <Property name="pageSize">50</Property> |
| | | </DataSet> |
| | | <Container layout="hbox regionPadding:5"> |
| | | <TextEditor id="key2"> |
| | | <Property name="blankText"> -- 计ååç§°æè
计åæå· --</Property> |
| | | <Property name="width">200</Property> |
| | | </TextEditor> |
| | | <Button> |
| | | <ClientEvent name="onClick">var key = view.get("#key2.value");
 |
| | | view.get("#dsPlan").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("#dsPlan.data:#");
 |
| | | if(data){
 |
| | | view.get("#ddPlan").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("#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">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">referenceNumber</Property> |
| | | <Property name="width">200</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">referenceNumber</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">year</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">year</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <Property name="property">type</Property> |
| | | <Property name="width">80</Property> |
| | | <Property name="align">center</Property> |
| | | <Property name="name">type</Property> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <DataPilot layoutConstraint="bottom"> |
| | | <Property name="dataSet">dsPlan</Property> |
| | | </DataPilot> |
| | | </Container> |
| | | </CustomDropDown> |
| | | </View> |
| | | </ViewConfig> |