From 65af56af565a47e191aa76ede4a62ab3fd91e789 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期一, 24 七月 2023 09:10:28 +0800
Subject: [PATCH] 质量巡检添添加优化

---
 igds-inout/src/main/java/com/ld/igds/m/view/ContractManage.view.xml |   25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/igds-inout/src/main/java/com/ld/igds/m/view/ContractManage.view.xml b/igds-inout/src/main/java/com/ld/igds/m/view/ContractManage.view.xml
index bab255d..f711c52 100644
--- a/igds-inout/src/main/java/com/ld/igds/m/view/ContractManage.view.xml
+++ b/igds-inout/src/main/java/com/ld/igds/m/view/ContractManage.view.xml
@@ -107,6 +107,11 @@
       <PropertyDef name="customerBank">
         <Property></Property>
         <Property name="label">瀹㈡埛寮�鎴疯</Property>
+        <Property name="mapping">
+          <Property name="keyProperty">code</Property>
+          <Property name="valueProperty">name</Property>
+          <Property name="mapValues">${dorado.getDataProvider(&quot;dicTriggerPR#dicTrigger&quot;).getResult(&quot;KHKHH&quot;)}</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="customerBankAccount">
         <Property></Property>
@@ -119,6 +124,11 @@
       <PropertyDef name="bank">
         <Property></Property>
         <Property name="label">鏈柟寮�鎴疯</Property>
+        <Property name="mapping">
+          <Property name="keyProperty">code</Property>
+          <Property name="valueProperty">name</Property>
+          <Property name="mapValues">${dorado.getDataProvider(&quot;dicTriggerPR#dicTrigger&quot;).getResult(&quot;KHKHH&quot;)}</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="bankAccount">
         <Property></Property>
@@ -135,7 +145,7 @@
       <PropertyDef name="price">
         <Property name="dataType">Double</Property>
         <Property name="label">鍗曚环</Property>
-        <Property name="displayFormat">#,###0.000 鍏�/鍏枻</Property>
+        <Property name="displayFormat">#,###0.000 鍏�/鍚�</Property>
         <Property name="required">true</Property>
       </PropertyDef>
       <PropertyDef name="money">
@@ -378,7 +388,7 @@
 	if(price &amp;&amp; contactAmount){&#xD;
 		&#xD;
 		//璁$畻鍊掑叆鏁伴噺&#xD;
-		var money = price*contactAmount;&#xD;
+		var money = price*contactAmount/1000;&#xD;
     	curData.set(&quot;money&quot;,money); &#xD;
 	}&#xD;
 };</ClientEvent>
@@ -472,8 +482,8 @@
             <Property name="iconClass">fa fa-refresh</Property>
           </Button>
           <Button>
-            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).setData({type:'1'});&#xD;
-view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,{type:'1'}).flushAsync();</ClientEvent>
+            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).setData({});&#xD;
+view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,{}).flushAsync();</ClientEvent>
             <Property name="exClassName">btn-warn</Property>
             <Property name="iconClass">fa fa-refresh</Property>
             <Property name="caption">閲嶇疆</Property>
@@ -491,6 +501,7 @@
         <DataColumn name="name">
           <Property name="property">name</Property>
           <Property name="align">center</Property>
+          <Property name="width">340</Property>
         </DataColumn>
         <DataColumn name="type">
           <Property name="property">type</Property>
@@ -503,6 +514,7 @@
         <DataColumn name="customerName">
           <Property name="property">customerName</Property>
           <Property name="align">center</Property>
+          <Property name="width">300</Property>
         </DataColumn>
         <DataColumn name="money">
           <Property name="property">money</Property>
@@ -727,11 +739,6 @@
                   <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>

--
Gitblit v1.9.3