From 58f63e3a124680d0b1f571f5d0a1e3ed308d43be Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期五, 20 三月 2026 14:45:34 +0800
Subject: [PATCH] 质押合同页面重构

---
 fzzy-igdss-view/src/main/java/com/fzzy/igds/PledgeContract.view.xml |  476 +++++++++++++++++++++++++++++++++--------------------------
 1 files changed, 267 insertions(+), 209 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/PledgeContract.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/PledgeContract.view.xml
index dab6a1b..964740d 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/PledgeContract.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/PledgeContract.view.xml
@@ -10,7 +10,19 @@
 */&#xD;
 query = function(){&#xD;
     view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
-}&#xD;</ClientEvent>
+}&#xD;&#xD;
+&#xD;
+queryDepot= function(){&#xD;
+	var entity = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
+	if(entity){&#xD;
+		var code = entity.get(&quot;id&quot;);&#xD;
+		view.get(&quot;#dsPledgeContractDepot&quot;).set(&quot;parameter&quot;,{PledgeId:code}).flush();&#xD;
+	}else{&#xD;
+		$notify(&quot;璇峰厛閫夋嫨璐ㄦ娂鍚堝悓淇℃伅锛�&quot;);&#xD;
+	}&#xD;
+&#xD;
+}&#xD;
+</ClientEvent>
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dsMain">
       <Property name="loadMode">lazy</Property>
@@ -21,17 +33,10 @@
       <ClientEvent name="onReady">self.insert({});</ClientEvent>
       <Property name="dataType">dtBaseParam</Property>
     </DataSet>
-    <DataSet id="dsDeptList">
-      <Property name="dataProvider">deptPR#getData</Property>
-      <Property name="userData">搴撳尯鍒楄〃涓嬫媺妗�</Property>
+    <DataSet id="dsPledgeContractDepot">
+      <Property name="dataProvider">pledgeContractPR#listAllData</Property>
+      <Property name="dataType">[dtPledgeContractDepot]</Property>
       <Property name="loadMode">manual</Property>
-      <Property name="dataType">[dtDept]</Property>
-    </DataSet>
-    <DataSet id="dsDepotList">
-      <Property name="dataProvider">depotPR#getData</Property>
-      <Property name="userData">浠撳簱鍒楄〃涓嬫媺妗�</Property>
-      <Property name="loadMode">manual</Property>
-      <Property name="dataType">[dtDepot]</Property>
     </DataSet>
     <Container>
       <Property name="className">c-param</Property>
@@ -65,35 +70,40 @@
     </Container>
     <Container>
       <Property name="className">c-data</Property>
-      <ToolBar>
-        <ToolBarButton>
-          <ClientEvent name="onClick">&#xD;
+      <SplitPanel>
+        <Property name="direction">right</Property>
+        <Property name="position">350</Property>
+        <MainControl>
+          <Container>
+            <ToolBar>
+              <ToolBarButton>
+                <ClientEvent name="onClick">&#xD;
 view.get(&quot;#ajaxInitAdd&quot;).execute(function(data){&#xD;
     	view.get(&quot;#dsMain&quot;).insert(data);&#xD;
         view.get(&quot;#dialogMain&quot;).show();&#xD;
     });</ClientEvent>
-          <Property name="caption">鏂板</Property>
-          <Property name="exClassName">btn1</Property>
-          <Property name="width">100</Property>
-          <Property name="iconClass">fa fa-plus</Property>
-        </ToolBarButton>
-        <ToolBarButton>
-          <ClientEvent name="onClick">var data = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);
+                <Property name="caption">鏂板</Property>
+                <Property name="exClassName">btn1</Property>
+                <Property name="width">100</Property>
+                <Property name="iconClass">fa fa-plus</Property>
+              </ToolBarButton>
+              <ToolBarButton>
+                <ClientEvent name="onClick">var data = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);
 if(data){&#xD;
     view.get(&quot;#dialogMain&quot;).show();
 }else{&#xD;
     $notify(&quot;璇烽�夋嫨闇�瑕佷慨鏀圭殑淇℃伅鈥︹��&quot;);&#xD;
 }&#xD;</ClientEvent>
-          <Property name="id">btnUpdate</Property>
-          <Property name="caption">淇敼</Property>
-          <Property name="exClassName">btn2</Property>
-          <Property name="width">100</Property>
-          <Property name="iconClass">fa fa-pencil-square-o</Property>
-        </ToolBarButton>
-        <ToolBarButton>
-          <ClientEvent name="onClick">var data = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;)
+                <Property name="id">btnUpdate</Property>
+                <Property name="caption">淇敼</Property>
+                <Property name="exClassName">btn2</Property>
+                <Property name="width">100</Property>
+                <Property name="iconClass">fa fa-pencil-square-o</Property>
+              </ToolBarButton>
+              <ToolBarButton>
+                <ClientEvent name="onClick">var data = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;)
 if(!data){
-	$alert(&quot;璇烽�夋嫨闇�瑕佸垹闄ょ殑淇℃伅鈥︹��&quot;);
+	$alert(&quot;璇烽�夋嫨闇�瑕佸垹闄ょ殑璐ㄦ娂鍚堝悓淇℃伅鈥︹��&quot;);
 }else{
 	view.get(&quot;#ajaxDelData&quot;).set(&quot;parameter&quot;, data).execute(function(result){
 		if(&quot;200&quot;!=result.code){
@@ -104,56 +114,131 @@
 		}
 	})
 }</ClientEvent>
-          <Property name="caption">鍒犻櫎</Property>
-          <Property name="exClassName">btn3</Property>
-          <Property name="width">100</Property>
-          <Property name="iconClass">fa fa-times</Property>
-        </ToolBarButton>
-      </ToolBar>
-      <DataGrid id="dgMain" layoutConstraint="padding:8" selectionMode="singleRow">
-        <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;, arg.data)</ClientEvent>
-        <Property name="dataSet">dsMain</Property>
-        <Property name="readOnly">true</Property>
-        <RowSelectorColumn/>
-        <RowNumColumn/>
-        <DataColumn name="pledgeBank">
-          <Property name="property">pledgeBank</Property>
-        </DataColumn>
-        <DataColumn name="pledgeCompany">
-          <Property name="property">pledgeCompany</Property>
-        </DataColumn>
-        <DataColumn name="name">
-          <Property name="property">name</Property>
-          <Property name="width">400</Property>
-        </DataColumn>
-        <DataColumn name="status">
-          <Property name="property">status</Property>
-          <Property name="align">center</Property>
-          <Property name="width">150</Property>
-        </DataColumn>
-        <DataColumn name="remark">
-          <Property name="property">remark</Property>
-        </DataColumn>
-        <DataColumn name="updateBy">
-          <Property name="property">updateBy</Property>
-          <Property name="align">center</Property>
-          <Property name="width">160</Property>
-        </DataColumn>
-        <DataColumn name="updateTime">
-          <Property name="property">updateTime</Property>
-          <Property name="align">center</Property>
-          <Property name="width">200</Property>
-        </DataColumn>
-        <DataColumn name="signTime">
-          <Property name="property">signTime</Property>
-        </DataColumn>
-        <DataColumn name="pledgeStart">
-          <Property name="property">pledgeStart</Property>
-        </DataColumn>
-        <DataColumn name="pledgeEnd">
-          <Property name="property">pledgeEnd</Property>
-        </DataColumn>
-      </DataGrid>
+                <Property name="caption">鍒犻櫎</Property>
+                <Property name="exClassName">btn3</Property>
+                <Property name="width">100</Property>
+                <Property name="iconClass">fa fa-times</Property>
+              </ToolBarButton>
+              <ToolBarButton>
+                <ClientEvent name="onClick">//var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+var cur = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
+if(cur){&#xD;
+	var entity = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
+	var Id = entity.get(&quot;id&quot;);&#xD;
+	var code = entity.get(&quot;pledgeCompany&quot;);&#xD;
+	view.get(&quot;#dsDepotSelect&quot;).set(&quot;parameter&quot;,{parentId:code,PledgeId:Id}).flush();&#xD;
+	view.get(&quot;#dialogDepot&quot;).show();&#xD;
+}else{&#xD;
+	$notify(&quot;璇峰厛閫夋嫨璐ㄦ娂鍚堝悓淇℃伅锛�&quot;);&#xD;
+}</ClientEvent>
+                <Property name="caption">閰嶇疆浠撳簱</Property>
+                <Property name="exClassName">btn1</Property>
+                <Property name="width">100</Property>
+                <Property name="iconClass">fa fa-plus</Property>
+              </ToolBarButton>
+            </ToolBar>
+            <DataGrid id="dgMain" layoutConstraint="padding:8" selectionMode="singleRow">
+              <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;, arg.data);&#xD;
+var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+var code = entity.get(&quot;id&quot;);&#xD;
+view.get(&quot;#dsPledgeContractDepot&quot;).set(&quot;parameter&quot;,{PledgeId:code}).flush();</ClientEvent>
+              <Property name="dataSet">dsMain</Property>
+              <Property name="readOnly">true</Property>
+              <Property name="fixedColumnCount">3</Property>
+              <RowSelectorColumn/>
+              <RowNumColumn/>
+              <DataColumn name="pledgeCompany">
+                <Property name="property">pledgeCompany</Property>
+                <Property name="width">200</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="pledgeBank">
+                <Property name="property">pledgeBank</Property>
+                <Property name="width">200</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="name">
+                <Property name="property">name</Property>
+                <Property name="width">400</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="status">
+                <Property name="property">status</Property>
+                <Property name="align">center</Property>
+                <Property name="width">150</Property>
+              </DataColumn>
+              <DataColumn name="remark">
+                <Property name="property">remark</Property>
+                <Property name="width">300</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="updateBy">
+                <Property name="property">updateBy</Property>
+                <Property name="align">center</Property>
+                <Property name="width">300</Property>
+              </DataColumn>
+              <DataColumn name="updateTime">
+                <Property name="property">updateTime</Property>
+                <Property name="align">center</Property>
+                <Property name="width">150</Property>
+              </DataColumn>
+              <DataColumn name="signTime">
+                <Property name="property">signTime</Property>
+                <Property name="width">150</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="pledgeStart">
+                <Property name="property">pledgeStart</Property>
+                <Property name="width">150</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="pledgeEnd">
+                <Property name="property">pledgeEnd</Property>
+                <Property name="width">150</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+            </DataGrid>
+          </Container>
+        </MainControl>
+        <SideControl>
+          <Container>
+            <ToolBar>
+              <ToolBarButton>
+                <ClientEvent name="onClick">var data = view.get(&quot;#dgMainItem&quot;).get(&quot;selection&quot;)
+if(!data){
+	$alert(&quot;璇烽�夋嫨闇�瑕佸垹闄ょ殑璐ㄦ娂浠撳簱淇℃伅鈥︹��&quot;);
+}else{
+	view.get(&quot;#ajaxDelDepotData&quot;).set(&quot;parameter&quot;, data).execute(function(result){
+		if(&quot;200&quot;!=result.code){
+			$alert(&quot;寮傚父淇℃伅锛�&quot;+result.message);
+		}else{
+			$notify(&quot;鎵ц鎴愬姛&quot;);
+            queryDepot();
+		}
+	})
+}</ClientEvent>
+                <Property name="caption">鍒犻櫎浠撳簱</Property>
+                <Property name="exClassName">btn3</Property>
+                <Property name="width">100</Property>
+                <Property name="iconClass">fa fa-times</Property>
+              </ToolBarButton>
+            </ToolBar>
+            <DataGrid id="dgMainItem" layoutConstraint="padding:8" selectionMode="singleRow">
+              <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;, arg.data)</ClientEvent>
+              <Property name="dataSet">dsPledgeContractDepot</Property>
+              <Property name="readOnly">true</Property>
+              <RowSelectorColumn/>
+              <RowNumColumn/>
+              <DataColumn name="pledgeDept">
+                <Property name="property">pledgeDept</Property>
+              </DataColumn>
+              <DataColumn name="pledgeDepot">
+                <Property name="property">pledgeDepot</Property>
+              </DataColumn>
+            </DataGrid>
+          </Container>
+        </SideControl>
+      </SplitPanel>
     </Container>
     <Dialog id="dialogMain" layout="regionPadding:8">
       <Property name="closeable">false</Property>
@@ -182,7 +267,7 @@
       </Buttons>
       <Children>
         <Container>
-          <AutoForm layoutConstraint="top ">
+          <AutoForm layoutConstraint="top">
             <Property name="dataSet">dsMain</Property>
             <Property name="showHint">false</Property>
             <Property name="cols">210,*,210</Property>
@@ -225,15 +310,23 @@
               <Editor/>
             </AutoFormElement>
             <AutoFormElement>
-              <Property name="name">pledgeDept</Property>
-              <Property name="property">pledgeDept</Property>
-              <Property name="trigger">dsDeptDropDown</Property>
+              <Property name="name">contractAmount</Property>
+              <Property name="property">contractAmount</Property>
               <Editor/>
             </AutoFormElement>
             <AutoFormElement>
-              <Property name="name">depotNames</Property>
-              <Property name="property">depotNames</Property>
-              <Property name="trigger">CDDDept</Property>
+              <Property name="name">repaidAmount</Property>
+              <Property name="property">repaidAmount</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement layoutConstraint="colSpan:2">
+              <Property name="name">contractName</Property>
+              <Property name="property">contractName</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">contractNo</Property>
+              <Property name="property">contractNo</Property>
               <Editor/>
             </AutoFormElement>
             <AutoFormElement>
@@ -251,35 +344,9 @@
               <Property name="property">pledgeEnd</Property>
               <Editor/>
             </AutoFormElement>
-            <AutoFormElement layoutConstraint="colSpan:2">
-              <Property name="name">contractName</Property>
-              <Property name="property">contractName</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">contractNo</Property>
-              <Property name="property">contractNo</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">contractAmount</Property>
-              <Property name="property">contractAmount</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">repaidAmount</Property>
-              <Property name="property">repaidAmount</Property>
-              <Editor/>
-            </AutoFormElement>
             <AutoFormElement>
               <Property name="name">status</Property>
               <Property name="property">status</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement layoutConstraint="colSpan:3">
-              <Property name="name">remark</Property>
-              <Property name="property">remark</Property>
-              <Property name="editorType">TextArea</Property>
               <Editor/>
             </AutoFormElement>
             <AutoFormElement>
@@ -292,6 +359,12 @@
               <Property name="name">createTime</Property>
               <Property name="property">createTime</Property>
               <Property name="readOnly">true</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement layoutConstraint="colSpan:3">
+              <Property name="name">remark</Property>
+              <Property name="property">remark</Property>
+              <Property name="editorType">TextArea</Property>
               <Editor/>
             </AutoFormElement>
             <HtmlContainer layoutConstraint="colSpan:3">
@@ -314,108 +387,93 @@
       </UpdateItem>
     </UpdateAction>
     <AjaxAction id="ajaxDelData">
-      <Property name="confirmMessage">纭畾瑕佸垹闄ゆ暟鎹箞锛�</Property>
+      <Property name="confirmMessage">纭畾瑕佸垹闄よ璐ㄦ娂鍚堝悓鏁版嵁鍚楋紵</Property>
       <Property name="service">pledgeContractPR#delete</Property>
+    </AjaxAction>
+    <AjaxAction id="ajaxDelDepotData">
+      <Property name="confirmMessage">纭畾瑕佸垹闄よ璐ㄦ娂浠撳簱鏁版嵁涔堝悧锛�</Property>
+      <Property name="service">pledgeContractPR#deleteDepot</Property>
     </AjaxAction>
     <AjaxAction id="ajaxInitAdd">
       <Property name="service">pledgeContractPR#initAdd</Property>
     </AjaxAction>
-    <DataSetDropDown id="dsDeptDropDown">
-      <ClientEvent name="onOpen">&#xD;
-var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
-if(!entity){&#xD;
-    $alert(&quot;璇峰厛閫夋嫨璐ㄦ娂鍏徃&quot;);&#xD;
-}else{&#xD;
-    var pledgeCompany = entity.get(&quot;pledgeCompany&quot;);&#xD;
-    if(!pledgeCompany){&#xD;
-        $alert(&quot;璇峰厛閫夋嫨璐ㄦ娂鍏徃&quot;);&#xD;
-    }else{&#xD;
-        view.get(&quot;#dsDeptList&quot;).set(&quot;parameter&quot;,entity.get(&quot;pledgeCompany&quot;)).flushAsync();&#xD;
-    }
-}</ClientEvent>
-      <Property name="dataSet">dsDeptList</Property>
-      <Property name="height">450</Property>
-      <Property name="autoOpen">true</Property>
-      <Property name="assignmentMap">pledgeDept=id</Property>
-      <Property name="width">400</Property>
-      <DataColumn>
-        <Property name="align">center</Property>
-        <Property name="name">kqmc</Property>
-        <Property name="property">kqmc</Property>
-        <Editor/>
-      </DataColumn>
-    </DataSetDropDown>
-    <CustomDropDown id="CDDDept">
-      <ClientEvent name="onOpen">&#xD;
-var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
-if(!entity){&#xD;
-    $alert(&quot;璇峰厛閫夋嫨璐ㄦ娂搴撳尯&quot;);&#xD;
-}else{&#xD;
-    var pledgeDept = entity.get(&quot;pledgeDept&quot;);&#xD;
-    if(!pledgeDept){&#xD;
-        $alert(&quot;璇峰厛閫夋嫨璐ㄦ娂搴撳尯&quot;);&#xD;
-    }else{&#xD;
-        view.get(&quot;#dsDeptSelect&quot;).set(&quot;parameter&quot;,entity.get(&quot;pledgeDept&quot;)).flushAsync();&#xD;
-    }
-}</ClientEvent>
-      <Property name="minWidth">400</Property>
-      <Property name="minHeight">400</Property>
-      <Property name="assignmentMap">depotIds=depotIds,depotNames=depotNames</Property>
-      <Panel>
-        <Property name="showCaptionBar">false</Property>
-        <Buttons>
-          <Button>
-            <ClientEvent name="onClick">var selection = view.get(&quot;#dgDepotSelect&quot;).get(&quot;selection&quot;);&#xD;
-if(!selection || selection.length == 0){&#xD;
-    $alert(&quot;璇烽�夋嫨浠撳簱&quot;);&#xD;
-    return;&#xD;
-}&#xD;
+    <Dialog id="dialogDepot">
+      <ClientEvent name="onReady">var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+var code = entity.get(&quot;pledgeCompany&quot;);&#xD;
+view.get(&quot;#dsDepotSelect&quot;).set(&quot;parameter&quot;,{parentId:code}).flush();</ClientEvent>
+      <Property name="width">50%</Property>
+      <Property name="height">80%</Property>
+      <Buttons>
+        <Button>
+          <ClientEvent name="onClick">var selection = view.get(&quot;#dialogDepotSelect&quot;).get(&quot;selection&quot;);&#xD;
+var cur = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
+var ua = view.get(&quot;#saveAction&quot;);&#xD;
+if(selection.length == 0) return;&#xD;
 &#xD;
-var depotIds = &quot;&quot;,depotNames=&quot;&quot;;&#xD;
-selection.each(function(item){&#xD;
-    depotIds += item.get(&quot;id&quot;)+&quot;,&quot;;&#xD;
-    depotNames+=item.get(&quot;name&quot;)+&quot;,&quot;;&#xD;
+var items = cur.get(&quot;depotData&quot;);&#xD;
+var tag = true;&#xD;
+selection.each(function(entity){&#xD;
+	tag = true;&#xD;
+	items.each(function(data){&#xD;
+		if(data.get(&quot;pledgeDepot&quot;) == entity.get(&quot;id&quot;)) tag = false;&#xD;
+	});&#xD;
+	if(tag){&#xD;
+		items.insert({&#xD;
+			pledgeDepot:entity.get(&quot;id&quot;),&#xD;
+			pledgeDept:entity.get(&quot;deptId&quot;),&#xD;
+			pledgeId:cur.get(&quot;id&quot;),&#xD;
+			companyId:cur.get(&quot;companyId&quot;)&#xD;
+		});&#xD;
+	}&#xD;
+});	&#xD;
+ua.execute(function(){&#xD;
+	self.get(&quot;parent&quot;).hide();&#xD;
+	view.get(&quot;#dialogDepotSelect&quot;).set(&quot;selection&quot;,null);&#xD;
+	queryDepot();&#xD;
 });&#xD;
-&#xD;
-view.get(&quot;#CDDDept&quot;).close({depotIds:depotIds,depotNames:depotNames});</ClientEvent>
-            <Property name="caption">纭閫夋嫨</Property>
-          </Button>
-          <Button>
-            <ClientEvent name="onClick">view.get(&quot;#CDDDept&quot;).close({});&#xD;
-                view.get(&quot;#dgDepotSelect&quot;).set(&quot;selection&quot;,null);</ClientEvent>
-            <Property name="caption">鍙栨秷鎿嶄綔</Property>
-          </Button>
-        </Buttons>
-        <Children>
-          <DataSet id="dsDeptSelect">
-            <Property name="dataType">[dtDepot]</Property>
-            <Property name="dataProvider">depotPR#getData</Property>
-            <Property name="userData">搴撳尯鍒楄〃涓嬫媺妗�</Property>
-            <Property name="loadMode">manual</Property>
-          </DataSet>
-          <DataGrid id="dgDepotSelect">
-            <Property name="dataSet">dsDeptSelect</Property>
-            <Property name="selectionMode">multiRows</Property>
-            <RowSelectorColumn>
-              <Property name="caption">閫夋嫨</Property>
-              <Property name="width">50</Property>
-            </RowSelectorColumn>
-            <DataColumn name="name">
-              <Property name="property">name</Property>
-              <Property name="readOnly">true</Property>
-            </DataColumn>
-            <DataColumn name="id">
-              <Property name="property">id</Property>
-              <Property name="readOnly">true</Property>
-            </DataColumn>
-            <DataColumn name="depotType">
-              <Property name="property">depotType</Property>
-              <Property name="readOnly">true</Property>
-            </DataColumn>
-          </DataGrid>
-        </Children>
-        <Tools/>
-      </Panel>
-    </CustomDropDown>
+</ClientEvent>
+          <Property name="caption">纭閫夋嫨</Property>
+        </Button>
+        <Button>
+          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();&#xD;
+view.get(&quot;#dialogDepotSelect&quot;).set(&quot;selection&quot;,null);</ClientEvent>
+          <Property name="caption">鍙栨秷鎿嶄綔</Property>
+        </Button>
+      </Buttons>
+      <Children>
+        <DataSet id="dsDepotSelect">
+          <Property name="dataType">[dtDepot]</Property>
+          <Property name="dataProvider">pledgeContractPR#getUnplacedDepotData</Property>
+          <Property name="userData">搴撳尯鍒楄〃涓嬫媺妗�</Property>
+          <Property name="loadMode">manual</Property>
+        </DataSet>
+        <DataGrid id="dialogDepotSelect">
+          <Property name="dataSet">dsDepotSelect</Property>
+          <Property name="selectionMode">multiRows</Property>
+          <RowSelectorColumn>
+            <Property name="caption">閫夋嫨</Property>
+            <Property name="width">50</Property>
+          </RowSelectorColumn>
+          <DataColumn>
+            <Property name="property">deptId</Property>
+            <Property name="readOnly">true</Property>
+            <Property name="name">deptId</Property>
+          </DataColumn>
+          <DataColumn name="name">
+            <Property name="property">name</Property>
+            <Property name="readOnly">true</Property>
+          </DataColumn>
+          <DataColumn name="id">
+            <Property name="property">id</Property>
+            <Property name="readOnly">true</Property>
+          </DataColumn>
+          <DataColumn name="depotType">
+            <Property name="property">depotType</Property>
+            <Property name="readOnly">true</Property>
+          </DataColumn>
+        </DataGrid>
+      </Children>
+      <Tools/>
+    </Dialog>
   </View>
 </ViewConfig>

--
Gitblit v1.9.3