From 786b5b76fee42107cef33892cbf7e3e8fab4f0e4 Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期一, 06 十一月 2023 23:36:51 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- igds-inout/src/main/java/com/ld/igds/inout/view/Settle.view.xml | 854 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 854 insertions(+), 0 deletions(-) diff --git a/igds-inout/src/main/java/com/ld/igds/inout/view/Settle.view.xml b/igds-inout/src/main/java/com/ld/igds/inout/view/Settle.view.xml new file mode 100644 index 0000000..f2b60a5 --- /dev/null +++ b/igds-inout/src/main/java/com/ld/igds/inout/view/Settle.view.xml @@ -0,0 +1,854 @@ +<?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">IN</Property> + <Property name="value">鍏ュ簱</Property> + </Entity> + <Entity> + <Property name="key">OUT</Property> + <Property name="value">鍑哄簱</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">閾惰琛屽埆浠g爜</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">娉曞畾浠h〃浜�</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> + <Label layoutConstraint="colSpan:1"> + <Property name="style"> + <Property name="color">blue</Property> + </Property> + <Property name="text">娉細鍚堝悓缁撶畻鏃舵棤闇�濉啓锛涘崟杞︾粨绠楁椂锛屾墍灞炰粨搴撳繀濉��</Property> + </Label> + <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> -- Gitblit v1.9.3