¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ViewConfig> |
| | | <Arguments/> |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.ld.igds.models.InoutSettle</Property> |
| | | <PropertyDef name="id"> |
| | | <Property/> |
| | | <Property name="label">æµæ°´å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property/> |
| | | <Property name="label">ç»ç»ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deptId"> |
| | | <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="inoutType"> |
| | | <Property/> |
| | | <Property name="label">åºå
¥åºç±»å</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">0ï¼ç°é</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1ï¼è½¬è´¦</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bizType"> |
| | | <Property/> |
| | | <Property name="label">å¤çæ¹å¼</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">0ï¼å车ç»ç®</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1ï¼ååç»ç®</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotId"> |
| | | <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="contractId"> |
| | | <Property/> |
| | | <Property name="label">ååç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contractName"> |
| | | <Property/> |
| | | <Property name="label">åååç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payPrice"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åä»·</Property> |
| | | <Property name="displayFormat">#0.000å
/å
¬æ¤</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payMoney"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ç»ç®æ»é¢</Property> |
| | | <Property name="displayFormat">#0.000å
</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="settleWeight"> |
| | | <Property name="dataType">double</Property> |
| | | <Property name="label">ç»ç®éé</Property> |
| | | <Property name="displayFormat">#0.000å
¬æ¤</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">ç»ç®æ¶é´</Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payType"> |
| | | <Property/> |
| | | <Property name="label">仿¬¾æ¹å¼</Property> |
| | | <Property name="mapping"> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">0ï¼ç°é</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1ï¼è½¬è´¦</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | </Property> |
| | | <Property name="required">true</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payee"> |
| | | <Property/> |
| | | <Property name="label">æ¶æ¬¾äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payeeId"> |
| | | <Property/> |
| | | <Property name="label">æ¶æ¬¾äººèº«ä»½è¯å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bankCategory"> |
| | | <Property/> |
| | | <Property name="label">é¶è¡è¡å«ä»£ç </Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues">${dorado.getDataProvider("dicTriggerPR#dicTrigger").getResult("KHKHH")}</Property> |
| | | <Property name="keyProperty">code</Property> |
| | | <Property name="valueProperty">name</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bankCode"> |
| | | <Property/> |
| | | <Property name="label">弿·è¡å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bank"> |
| | | <Property/> |
| | | <Property name="label">弿·è¡åç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bankNum"> |
| | | <Property/> |
| | | <Property name="label">é¶è¡è´¦å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payUnit"> |
| | | <Property/> |
| | | <Property name="label">仿¬¾åä½</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payUser"> |
| | | <Property/> |
| | | <Property name="label">仿¬¾æä½äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remarks"> |
| | | <Property/> |
| | | <Property name="label">夿³¨ä¿¡æ¯</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property name="dataType">DateTime</Property> |
| | | <Property name="label">æ°æ®æ´æ°æ¶é´</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | <DataType name="dtParam"> |
| | | <PropertyDef name="bizType"> |
| | | <Property name="label">å¤çæ¹å¼</Property> |
| | | <Property name="mapping"> |
| | | <Property name="mapValues"> |
| | | <Collection> |
| | | <Entity> |
| | | <Property name="key">0</Property> |
| | | <Property name="value">0ï¼å车ç»ç®</Property> |
| | | </Entity> |
| | | <Entity> |
| | | <Property name="key">1</Property> |
| | | <Property name="value">1ï¼ååç»ç®</Property> |
| | | </Entity> |
| | | </Collection> |
| | | </Property> |
| | | <Property name="keyProperty">key</Property> |
| | | <Property name="valueProperty">value</Property> |
| | | </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="depotId"> |
| | | <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="contractName"> |
| | | <Property></Property> |
| | | <Property name="label">åååç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contractId"> |
| | | <Property name="label">ååç¼ç </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> |
| | | </DataType> |
| | | <DataType name="dtContract"> |
| | | <Property name="creationType">com.ld.igds.models.InoutContract</Property> |
| | | <PropertyDef name="id"> |
| | | <Property/> |
| | | <Property name="label">ID_</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="companyId"> |
| | | <Property/> |
| | | <Property name="label">ç»ç»ç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="deptId"> |
| | | <Property/> |
| | | <Property name="label">åºåºç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="name"> |
| | | <Property/> |
| | | <Property name="label">åååç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planId"> |
| | | <Property/> |
| | | <Property name="label">计åç¼ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="planName"> |
| | | <Property/> |
| | | <Property name="label">计ååç§°</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="type"> |
| | | <Property/> |
| | | <Property name="label">ä¸å¡ç±»å«</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerType"> |
| | | <Property/> |
| | | <Property name="label">客æ·ç±»å</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="year"> |
| | | <Property/> |
| | | <Property name="label">年份</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerId"> |
| | | <Property/> |
| | | <Property name="label">社ä¼ä¿¡ç¨ç </Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerName"> |
| | | <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="signingTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">ç¾è®¢æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="signAddress"> |
| | | <Property/> |
| | | <Property name="label">ç¾çº¦å°ç¹</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="relEndTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å®é
宿æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodVariety"> |
| | | <Property/> |
| | | <Property name="label">ç²®é£åç§</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="foodType"> |
| | | <Property/> |
| | | <Property name="label">ç²®é£æ§è´¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="price"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">åååä»·ï¼å
/å¨</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="money"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ååæ»éé¢</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contactAmount"> |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">ååæ°é</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="completeNum"> |
| | | <Property name="dataType">Double</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="customerBank"> |
| | | <Property/> |
| | | <Property name="label">客æ·å¼æ·è¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerBankAccount"> |
| | | <Property/> |
| | | <Property name="label">å®¢æ·æ¹è´¦å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="customerSignUser"> |
| | | <Property/> |
| | | <Property name="label">客æ·ç¾çº¦äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bank"> |
| | | <Property/> |
| | | <Property name="label">æ¬æ¹å¼æ·è¡</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="bankAccount"> |
| | | <Property/> |
| | | <Property name="label">æ¬æ¹è´¦å·</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="signUser"> |
| | | <Property/> |
| | | <Property name="label">æ¬æ¹ç¾çº¦äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="payType"> |
| | | <Property/> |
| | | <Property name="label">æ¯ä»æ¹å¼</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createUser"> |
| | | <Property/> |
| | | <Property name="label">å建人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditUser"> |
| | | <Property/> |
| | | <Property name="label">审æ¹äºº</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditDate"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å®¡æ¹æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="auditStatus"> |
| | | <Property/> |
| | | <Property name="label">审æ¹ç¶æ</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="createTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">å建æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="wcrq"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">宿æ¶é´</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="hqzz"> |
| | | <Property/> |
| | | <Property name="label">è´§æç»ç»</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | | <Property name="dataType">Date</Property> |
| | | <Property name="label">æ´æ°æ¶é´</Property> |
| | | </PropertyDef> |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:5;regionPadding:5"> |
| | | <ClientEvent name="onReady">addMain = function(){
 |
| | | view.get("#dsMain").insert({});
 |
| | | view.get("#dialogMain").show();
 |
| | | };
 |
| | | view.get("#dsParam").insert({});</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataProvider">settlePR#pageList</Property> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="pageSize">20</Property> |
| | | </DataSet> |
| | | <DataSet id="dsParam"> |
| | | <Property name="dataType">dtParam</Property> |
| | | </DataSet> |
| | | <Container layout="regionPadding:10" layoutConstraint="top"> |
| | | <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">addMain();</ClientEvent> |
| | | <Property name="caption">æ°å¢</Property> |
| | | <Property name="exClassName">btn-default</Property> |
| | | <Property name="iconClass">fa fa-plus</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <ClientEvent name="onClick">var data = view.get("#dsMain.data:#");
 |
| | | if(data){
 |
| | | view.get("#dialogMain").show();
 |
| | | }else{
 |
| | | $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 |
| | | }</ClientEvent> |
| | | <Property name="caption">è°æ´</Property> |
| | | <Property name="exClassName">btn-warm</Property> |
| | | <Property name="iconClass">fa fa-pencil</Property> |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <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="exClassName">btn-warn</Property> |
| | | <Property name="iconClass">fa fa-minus</Property> |
| | | </Button> |
| | | </Container> |
| | | <AutoForm> |
| | | <Property name="cols">*,*,*,*</Property> |
| | | <Property name="dataSet">dsParam</Property> |
| | | <Property name="labelAlign">right</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <AutoFormElement> |
| | | <Property name="name">bizType</Property> |
| | | <Property name="property">bizType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">contractName</Property> |
| | | <Property name="property">contractName</Property> |
| | | <Property name="trigger">ddContract</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="regionPadding:10" layoutConstraint="top"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <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({});
 |
| | | view.get("#dsMain").set("parameter",{}).flushAsync();</ClientEvent> |
| | | <Property name="exClassName">btn-warn</Property> |
| | | <Property name="iconClass">fa fa-refresh</Property> |
| | | <Property name="caption">éç½®</Property> |
| | | </Button> |
| | | </Container> |
| | | </AutoForm> |
| | | <Container layout="regionPadding:10" layoutConstraint="center"> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <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="id"> |
| | | <Property name="property">id</Property> |
| | | </DataColumn> |
| | | <DataColumn name="inoutType"> |
| | | <Property name="property">inoutType</Property> |
| | | </DataColumn> |
| | | <DataColumn name="bizType"> |
| | | <Property name="property">bizType</Property> |
| | | </DataColumn> |
| | | <DataColumn name="depotId"> |
| | | <Property name="property">depotId</Property> |
| | | </DataColumn> |
| | | <DataColumn name="contractName"> |
| | | <Property name="property">contractName</Property> |
| | | </DataColumn> |
| | | <DataColumn name="payPrice"> |
| | | <Property name="property">payPrice</Property> |
| | | </DataColumn> |
| | | <DataColumn name="payMoney"> |
| | | <Property name="property">payMoney</Property> |
| | | </DataColumn> |
| | | <DataColumn name="settleWeight"> |
| | | <Property name="property">settleWeight</Property> |
| | | </DataColumn> |
| | | <DataColumn name="payTime"> |
| | | <Property name="property">payTime</Property> |
| | | </DataColumn> |
| | | <DataColumn name="payee"> |
| | | <Property name="property">payee</Property> |
| | | </DataColumn> |
| | | <DataColumn name="updateTime"> |
| | | <Property name="property">updateTime</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 layout="regionPadding:5"> |
| | | <FieldSet> |
| | | <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">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Property name="readOnly">true</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- ç³»ç»èªå¨çæ --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">deptId</Property> |
| | | <Property name="property">deptId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">inoutType</Property> |
| | | <Property name="property">inoutType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bizType</Property> |
| | | <Property name="property">bizType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">depotId</Property> |
| | | <Property name="property">depotId</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">contractId</Property> |
| | | <Property name="property">contractId</Property> |
| | | <Property name="trigger">ddContract</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">contractName</Property> |
| | | <Property name="property">contractName</Property> |
| | | <Property name="trigger">ddContract</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payPrice</Property> |
| | | <Property name="property">payPrice</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payMoney</Property> |
| | | <Property name="property">payMoney</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">settleWeight</Property> |
| | | <Property name="property">settleWeight</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payTime</Property> |
| | | <Property name="property">payTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payType</Property> |
| | | <Property name="property">payType</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payee</Property> |
| | | <Property name="property">payee</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- æ¶æ¬¾äººåä½åç§°æä¸ªäººåå¯ --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payeeId</Property> |
| | | <Property name="property">payeeId</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- æ¶æ¬¾äººæ¯ä¸ªäººæ¶å¡«å --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bankCategory</Property> |
| | | <Property name="property">bankCategory</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- ç»ç®æ¹å¼ä¸ºè½¬è´¦æ¶å¡«å --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bankCode</Property> |
| | | <Property name="property">bankCode</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- ç»ç®æ¹å¼ä¸ºè½¬è´¦æ¶å¿
å¡«å--</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bank</Property> |
| | | <Property name="property">bank</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- ç»ç®æ¹å¼ä¸ºè½¬è´¦æ¶å¡«å --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">bankNum</Property> |
| | | <Property name="property">bankNum</Property> |
| | | <Editor> |
| | | <TextEditor> |
| | | <Property name="blankText"> -- ç»ç®æ¹å¼ä¸ºè½¬è´¦æ¶å¡«å --</Property> |
| | | </TextEditor> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payUnit</Property> |
| | | <Property name="property">payUnit</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">payUser</Property> |
| | | <Property name="property">payUser</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">updateTime</Property> |
| | | <Property name="property">updateTime</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:3"> |
| | | <Property name="name">remarks</Property> |
| | | <Property name="property">remarks</Property> |
| | | <Editor> |
| | | <TextArea/> |
| | | </Editor> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | </FieldSet> |
| | | </Container> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | <UpdateAction id="uaAction"> |
| | | <Property name="dataResolver">settlePR#saveData</Property> |
| | | <UpdateItem> |
| | | <Property name="dataSet">dsMain</Property> |
| | | <Property name="dataPath">[#current]</Property> |
| | | </UpdateItem> |
| | | </UpdateAction> |
| | | <AjaxAction id="ajaxDel"> |
| | | <Property name="confirmMessage">ç¡®å®è¦å é¤åï¼</Property> |
| | | <Property name="service">settlePR#delData</Property> |
| | | </AjaxAction> |
| | | <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> |