From db67639449287bcec461916a7dca6003ee5dd03c Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期五, 05 十二月 2025 16:27:18 +0800
Subject: [PATCH] 出入库详单及补单页面及逻辑

---
 fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeOut.view.xml | 1191 ++++++++++++++++-------------------------------------------
 1 files changed, 327 insertions(+), 864 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeOut.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeOut.view.xml
index 5f8af8a..63df160 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeOut.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeOut.view.xml
@@ -4,10 +4,7 @@
   <Context/>
   <Model>
     <DataType name="dtMain">
-      <ClientEvent name="onDataChange">if(arg.property ==&quot;depotId&quot;){&#xD;
-	autoByDepot(arg.newValue);&#xD;
-}</ClientEvent>
-      <Property name="creationType">com.fzzy.igds.models.InoutNoticeOut</Property>
+      <Property name="creationType">com.fzzy.igds.domain.InoutNoticeOut</Property>
       <PropertyDef name="id">
         <Property></Property>
         <Property name="label">閫氱煡鍗曞彿</Property>
@@ -19,37 +16,37 @@
       <PropertyDef name="deptId">
         <Property></Property>
         <Property name="label">鎵�灞炲垎搴�</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#loadParents&quot;).getResult()}</Property>
-          <Property name="keyProperty">deptId</Property>
-          <Property name="valueProperty">deptName</Property>
-        </Property>
-        <Property name="required">false</Property>
-      </PropertyDef>
-      <PropertyDef name="planId">
-        <Property></Property>
-        <Property name="label">鎵�灞炶鍒�</Property>
-        <Property name="required">false</Property>
-      </PropertyDef>
-      <PropertyDef name="planName">
-        <Property></Property>
-        <Property name="label">鎵�灞炶鍒�</Property>
-        <Property name="required">false</Property>
-      </PropertyDef>
-      <PropertyDef name="contractId">
-        <Property></Property>
-        <Property name="label">鎵�灞炲悎鍚�</Property>
-        <Property name="required">false</Property>
-      </PropertyDef>
-      <PropertyDef name="contractName">
-        <Property></Property>
-        <Property name="label">鎵�灞炲悎鍚�</Property>
-        <Property name="required">false</Property>
       </PropertyDef>
       <PropertyDef name="name">
         <Property></Property>
-        <Property name="label">閫氱煡鍗曞悕绉�</Property>
+        <Property name="label">鍗曟嵁鍚嶇О</Property>
         <Property name="required">true</Property>
+      </PropertyDef>
+      <PropertyDef name="type">
+        <Property></Property>
+        <Property name="label">鍗曟嵁绫诲瀷</Property>
+        <Property name="mapping">
+          <Property name="mapValues">
+            <Collection>
+              <Entity>
+                <Property name="name">搴撳尯閫氱煡鍗�</Property>
+                <Property name="code">10</Property>
+              </Entity>
+              <Entity>
+                <Property name="name">鐩戠閫氱煡鍗�</Property>
+                <Property name="code">20</Property>
+              </Entity>
+            </Collection>
+          </Property>
+          <Property name="keyProperty">code</Property>
+          <Property name="valueProperty">name</Property>
+        </Property>
+        <Property name="required">true</Property>
+      </PropertyDef>
+      <PropertyDef name="contract">
+        <Property></Property>
+        <Property name="label">鍏宠仈鍚堝悓</Property>
+        <Property name="required">false</Property>
       </PropertyDef>
       <PropertyDef name="depotId">
         <Property></Property>
@@ -59,11 +56,6 @@
           <Property name="keyProperty">id</Property>
           <Property name="valueProperty">name</Property>
         </Property>
-        <Property name="required">true</Property>
-      </PropertyDef>
-      <PropertyDef name="customerId">
-        <Property></Property>
-        <Property name="label">鏀惰揣瀹㈡埛</Property>
         <Property name="required">true</Property>
       </PropertyDef>
       <PropertyDef name="customerName">
@@ -76,9 +68,9 @@
         <Property name="label">鍙戣揣鍗曚綅</Property>
         <Property name="required">false</Property>
         <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#loadParents&quot;).getResult()}</Property>
-          <Property name="keyProperty">deptId</Property>
-          <Property name="valueProperty">deptName</Property>
+          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#getAllData&quot;).getResult()}</Property>
+          <Property name="keyProperty">id</Property>
+          <Property name="valueProperty">kqmc</Property>
         </Property>
       </PropertyDef>
       <PropertyDef name="foodVariety">
@@ -93,27 +85,50 @@
       </PropertyDef>
       <PropertyDef name="year">
         <Property></Property>
-        <Property name="label">绮骞翠唤</Property>
-        <Property name="required">true</Property>
+        <Property name="label">骞翠唤</Property>
       </PropertyDef>
       <PropertyDef name="targetNumber">
         <Property name="dataType">double</Property>
-        <Property name="displayFormat">#,## kG</Property>
+        <Property name="displayFormat">#0.0 KG</Property>
         <Property name="required">true</Property>
         <Property name="label">璁″垝鏁伴噺</Property>
       </PropertyDef>
       <PropertyDef name="completeNumber">
         <Property name="dataType">double</Property>
         <Property name="label">瀹屾垚鏁伴噺</Property>
-        <Property name="displayFormat">#,## kG</Property>
+        <Property name="displayFormat">#0.0 KG</Property>
       </PropertyDef>
       <PropertyDef name="auditStatus">
         <Property></Property>
         <Property name="label">瀹℃牳鐘舵��</Property>
+        <Property name="mapping">
+          <Property name="mapValues">
+            <Collection>
+              <Entity>
+                <Property name="name">鐩戠瀹℃牳</Property>
+                <Property name="code">10</Property>
+              </Entity>
+              <Entity>
+                <Property name="name">閾惰瀹℃牳</Property>
+                <Property name="code">20</Property>
+              </Entity>
+              <Entity>
+                <Property name="name">宸插鏍�</Property>
+                <Property name="code">30</Property>
+              </Entity>
+            </Collection>
+          </Property>
+          <Property name="keyProperty">code</Property>
+          <Property name="valueProperty">name</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="auditUser">
         <Property></Property>
         <Property name="label">瀹℃牳浜�</Property>
+      </PropertyDef>
+      <PropertyDef name="auditDate">
+        <Property name="dataType">DateTime</Property>
+        <Property name="label">瀹℃壒鏃堕棿</Property>
       </PropertyDef>
       <PropertyDef name="completeStatus">
         <Property></Property>
@@ -135,339 +150,33 @@
           <Property name="valueProperty">name</Property>
         </Property>
       </PropertyDef>
-      <PropertyDef name="createTime">
-        <Property name="dataType">DateTime</Property>
-        <Property name="label">鍒涘缓鏃堕棿</Property>
-      </PropertyDef>
-      <PropertyDef name="createUser">
-        <Property></Property>
-        <Property name="label">鍒涘缓浜�</Property>
-      </PropertyDef>
       <PropertyDef name="completeTime">
-        <Property name="dataType">DateTime</Property>
+        <Property name="dataType">Date</Property>
         <Property name="label">瀹屾垚鏃堕棿</Property>
       </PropertyDef>
       <PropertyDef name="remark">
         <Property></Property>
         <Property name="label">澶囨敞淇℃伅</Property>
       </PropertyDef>
-      <PropertyDef name="tag">
+      <PropertyDef name="createTime">
+        <Property name="dataType">DateTime</Property>
+        <Property name="label">鍒跺崟鏃堕棿</Property>
+      </PropertyDef>
+      <PropertyDef name="createBy">
         <Property></Property>
-        <Property name="label">鏍囪</Property>
-      </PropertyDef>
-    </DataType>
-    <DataType name="dtQuery">
-      <PropertyDef name="id">
-        <Property></Property>
-        <Property name="label">閫氱煡鍗曞彿</Property>
-      </PropertyDef>
-      <PropertyDef name="deptId">
-        <Property></Property>
-        <Property name="label">鍙戣揣鍗曚綅</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#loadParents&quot;).getResult()}</Property>
-          <Property name="keyProperty">deptId</Property>
-          <Property name="valueProperty">deptName</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="foodVariety">
-        <Property></Property>
-        <Property name="label">绮鍝佺</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#sysDictData&quot;).getResult(&quot;FOOD_VARIETY_&quot;)}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="year">
-        <Property></Property>
-        <Property name="label">骞翠唤</Property>
-      </PropertyDef>
-      <PropertyDef name="completeStatus">
-        <Property></Property>
-        <Property name="label">瀹屾垚鐘舵��</Property>
-        <Property name="mapping">
-          <Property name="mapValues">
-            <Collection>
-              <Entity>
-                <Property name="name">鏈畬鎴�</Property>
-                <Property name="code">NONE</Property>
-              </Entity>
-              <Entity>
-                <Property name="name">宸插畬鎴�</Property>
-                <Property name="code">COMPLETE</Property>
-              </Entity>
-            </Collection>
-          </Property>
-          <Property name="keyProperty">code</Property>
-          <Property name="valueProperty">name</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="depotId">
-        <Property></Property>
-        <Property name="label">鍑哄簱浠撳簱</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;depotPR#getAllCache&quot;).getResult()}</Property>
-          <Property name="keyProperty">id</Property>
-          <Property name="valueProperty">name</Property>
-        </Property>
-        <Property name="required">true</Property>
-      </PropertyDef>
-    </DataType>
-    <DataType name="dtQueryTitle">
-      <PropertyDef name="title">
-        <Property name="label">title</Property>
-      </PropertyDef>
-    </DataType>
-    <DataType name="dtPlan">
-      <Property name="creationType">com.fzzy.igds.models.InoutPlanDetail</Property>
-      <PropertyDef name="id">
-        <Property></Property>
-        <Property name="label">璁″垝鏄庣粏鍙�</Property>
-      </PropertyDef>
-      <PropertyDef name="planId">
-        <Property name="label">璁″垝缂栫爜</Property>
-      </PropertyDef>
-      <PropertyDef name="foodVariety">
-        <Property></Property>
-        <Property name="label">绮鍝佺</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#sysDictData&quot;).getResult(&quot;FOOD_VARIETY_&quot;)}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="foodType">
-        <Property></Property>
-        <Property name="label">绮鎬ц川</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#sysDictData&quot;).getResult(&quot;FOOD_TYPE_&quot;)}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="foodLevel">
-        <Property></Property>
-        <Property name="label">绮绛夌骇</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#triggerFoodLevel&quot;).getResult()}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="year">
-        <Property></Property>
-        <Property name="label">鏀惰幏骞村害</Property>
-      </PropertyDef>
-      <PropertyDef name="depotId">
-        <Property></Property>
-        <Property name="label">浠撳簱</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;depotPR#getAllCache&quot;).getResult()}</Property>
-          <Property name="keyProperty">id</Property>
-          <Property name="valueProperty">name</Property>
-        </Property>
-      </PropertyDef>
-      <PropertyDef name="planNum">
-        <Property name="dataType">Double</Property>
-        <Property name="label">璁″垝鏁伴噺</Property>
-      </PropertyDef>
-      <PropertyDef name="type">
-        <Property name="label">璁″垝绫诲瀷</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#triggerPlanType&quot;).getResult()}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</Property>
-        </Property>
+        <Property name="label">鍒跺崟浜�</Property>
       </PropertyDef>
       <PropertyDef name="updateTime">
-        <Property></Property>
+        <Property name="dataType">DateTime</Property>
         <Property name="label">鏇存柊鏃堕棿</Property>
       </PropertyDef>
-    </DataType>
-    <DataType name="dtContract">
-      <Property name="creationType">com.fzzy.igds.models.InoutContract</Property>
-      <PropertyDef name="id">
+      <PropertyDef name="updateBy">
         <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(&quot;deptPR#loadParents&quot;).getResult()}</Property>
-          <Property name="keyProperty">deptId</Property>
-          <Property name="valueProperty">deptName</Property>
-        </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(&quot;dicPR#triggerContractType&quot;).getResult()}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</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>
-      </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">
-            <Collection>
-              <Entity>
-                <Property name="code">1</Property>
-                <Property name="name">1-浼佷笟</Property>
-              </Entity>
-              <Entity>
-                <Property name="code">2</Property>
-                <Property name="name">2-涓汉</Property>
-              </Entity>
-            </Collection>
-          </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.000 鍏�</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(&quot;dicPR#sysDictData&quot;).getResult(&quot;FOOD_VARIETY_&quot;)}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</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(&quot;dicPR#sysDictData&quot;).getResult(&quot;FOOD_TYPE_&quot;)}</Property>
-          <Property name="keyProperty">dictValue</Property>
-          <Property name="valueProperty">dictLabel</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(&quot;dicPR#sysDictData&quot;).getResult(&quot;PAY_TYPE&quot;)}</Property>
-          <Property name="valueProperty">dictLabel</Property>
-          <Property name="keyProperty">dictValue</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>
+        <Property name="label">鏇存柊浜�</Property>
       </PropertyDef>
     </DataType>
   </Model>
-  <View layout="padding:5;regionPadding:5">
+  <View layout="padding:10">
     <ClientEvent name="onReady">var deptId = window.parent.deptId;//鐖堕〉闈腑鐨勫垎搴撶紪鐮�&#xD;
 var TYPE = &quot;NOTICE_OUT&quot;;&#xD;
 query = function(){&#xD;
@@ -475,29 +184,14 @@
 };&#xD;
 query();&#xD;
       &#xD;
-queryTitle = function(){&#xD;
-    view.get(&quot;#dsQueryTitle&quot;).set(&quot;parameter&quot;,{type:TYPE,deptId:deptId}).flushAsync();&#xD;
-};&#xD;
-queryTitle();&#xD;
-      &#xD;
 //鏂板&#xD;
 add = function(){&#xD;
-    view.get(&quot;#ajaxInitAdd&quot;).set(&quot;parameter&quot;, TYPE).execute(function(data){&#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;
     });&#xD;
 };&#xD;
-&#xD;
-//鏍规嵁浠撳簱鑷姩鍥炲~绮鍝佺锛岀瓑绾э紝浜у湴鏂�&#xD;
-autoByDepot = function(depotId){&#xD;
-	view.get(&quot;#ajaxGetDepot&quot;).set(&quot;parameter&quot;,depotId).execute(function(result){&#xD;
-		if(result){&#xD;
-			var data = view.get(&quot;#dataGridMain.currentEntity&quot;);&#xD;
-			data.set(&quot;foodVariety&quot;,result.foodVariety);&#xD;
-			&#xD;
-		}&#xD;
-	});&#xD;
-};</ClientEvent>
+&#xD;</ClientEvent>
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dsMain">
       <Property name="dataType">[dtMain]</Property>
@@ -505,40 +199,38 @@
       <Property name="pageSize">15</Property>
       <Property name="loadMode">lazy</Property>
     </DataSet>
-    <DataSet id="dsQueryTitle">
-      <Property name="dataType">dtQueryTitle</Property>
-      <Property name="dataProvider">inoutNoticePR#getTitle</Property>
-      <Property name="loadMode">manual</Property>
-    </DataSet>
     <DataSet id="dsQuery">
-      <Property name="dataType">dtQuery</Property>
+      <Property name="dataType">dtNoticeParam</Property>
       <Property name="dataProvider">inoutNoticePR#getYearQuery</Property>
       <Property name="loadMode">manual</Property>
     </DataSet>
-    <AutoForm layoutConstraint="top">
-      <Property name="cols">*,*,*,*</Property>
-      <Property name="dataSet">dsQuery</Property>
-      <Property name="exClassName">bg-color</Property>
-      <AutoFormElement>
-        <Property name="name">foodVariety</Property>
-        <Property name="property">foodVariety</Property>
-        <Property name="editable">false</Property>
-        <Editor/>
-      </AutoFormElement>
-      <AutoFormElement>
-        <Property name="name">year</Property>
-        <Property name="property">year</Property>
-        <Property name="trigger">defaultYearDropDown</Property>
-        <Property name="editable">false</Property>
-        <Editor/>
-      </AutoFormElement>
-      <AutoFormElement>
-        <Property name="name">completeStatus</Property>
-        <Property name="property">completeStatus</Property>
-        <Property name="editable">false</Property>
-        <Editor/>
-      </AutoFormElement>
-      <Container layout="hbox regionPadding:15">
+    <Container>
+      <Property name="className">c-param</Property>
+      <AutoForm>
+        <Property name="cols">*,*,*,*,90,90</Property>
+        <Property name="dataSet">dsQuery</Property>
+        <Property name="labelAlign">right</Property>
+        <Property name="labelWidth">100</Property>
+        <AutoFormElement>
+          <Property name="name">depotId</Property>
+          <Property name="property">depotId</Property>
+          <Editor/>
+        </AutoFormElement>
+        <AutoFormElement>
+          <Property name="name">customerName</Property>
+          <Property name="property">customerName</Property>
+          <Editor/>
+        </AutoFormElement>
+        <AutoFormElement>
+          <Property name="name">foodVariety</Property>
+          <Property name="property">foodVariety</Property>
+          <Editor/>
+        </AutoFormElement>
+        <AutoFormElement>
+          <Property name="name">completeStatus</Property>
+          <Property name="property">completeStatus</Property>
+          <Editor/>
+        </AutoFormElement>
         <Button>
           <ClientEvent name="onClick">var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
             if(data){&#xD;
@@ -546,106 +238,81 @@
             }else{&#xD;
             view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
             }</ClientEvent>
-          <Property name="caption">鏌ヨ</Property>
-          <Property name="exClassName">btn1</Property>
+          <Property name="caption">鎼滅储</Property>
           <Property name="iconClass">fa fa-search</Property>
+          <Property name="exClassName">btn-q1</Property>
         </Button>
         <Button>
           <ClientEvent name="onClick">view.get(&quot;#dsQuery&quot;).flushAsync();</ClientEvent>
-          <Property name="exClassName">btn2</Property>
-          <Property name="iconClass">fa fa-refresh</Property>
           <Property name="caption">閲嶇疆</Property>
+          <Property name="exClassName">btn-q2</Property>
+          <Property name="iconClass">fa fa-refresh</Property>
         </Button>
-      </Container>
-      <Container layout="regionPadding:10" layoutConstraint="type:top;colSpan:2">
-        <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">add();&#xD;
-          //view.get(&quot;#dsMain&quot;).insert({&#xD;
-          //          name:&quot;鍑哄簱閫氱煡鍗�&quot;&#xD;
-          //          });&#xD;
-          //         view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
+      </AutoForm>
+    </Container>
+    <Container>
+      <Property name="className">c-data</Property>
+      <ToolBar>
+        <ToolBarButton layoutConstraint="left">
+          <ClientEvent name="onClick">add();&#xD;</ClientEvent>
           <Property name="caption">鏂板</Property>
           <Property name="exClassName">btn1</Property>
+          <Property name="width">100</Property>
           <Property name="iconClass">fa fa-plus</Property>
-        </Button>
-        <Button layoutConstraint="left">
+        </ToolBarButton>
+        <ToolBarButton layoutConstraint="left">
           <ClientEvent name="onClick">&#xD;
-var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
-if(select){&#xD;
-    view.get(&quot;#dialogMain&quot;).show();&#xD;
-}else{&#xD;
-    $notify(&quot;璇烽�夋嫨闇�瑕佷慨鏀圭殑鏁版嵁鈥︹��&quot;);&#xD;
-}</ClientEvent>
-          <Property name="caption">缂栬緫</Property>
+            var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
+            if(select){&#xD;
+            view.get(&quot;#dialogMain&quot;).show();&#xD;
+            }else{&#xD;
+            $notify(&quot;璇烽�夋嫨闇�瑕佷慨鏀圭殑鏁版嵁鈥︹��&quot;);&#xD;
+            }</ClientEvent>
+          <Property name="caption">淇敼</Property>
           <Property name="exClassName">btn2</Property>
-          <Property name="iconClass">fa fa-pencil</Property>
-        </Button>
-        <Button layoutConstraint="left">
+          <Property name="width">100</Property>
+          <Property name="iconClass">fa fa-pencil-square-o</Property>
+        </ToolBarButton>
+        <ToolBarButton layoutConstraint="left">
           <ClientEvent name="onClick">&#xD;
-var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
-if(select){&#xD;
-    view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
-		select.remove();&#xD;
-	});&#xD;
-}else{&#xD;
-    $notify(&quot;璇烽�夋嫨闇�瑕佸垹闄ょ殑浠撳簱鈥︹��&quot;);&#xD;
-}&#xD;
-        </ClientEvent>
+            var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
+            if(select){&#xD;
+            view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
+            select.remove();&#xD;
+            });&#xD;
+            }else{&#xD;
+            $notify(&quot;璇烽�夋嫨闇�瑕佸垹闄ょ殑浠撳簱鈥︹��&quot;);&#xD;
+            }&#xD;
+          </ClientEvent>
           <Property name="caption">鍒犻櫎</Property>
           <Property name="exClassName">btn3</Property>
-          <Property name="iconClass">fa fa-minus</Property>
-        </Button>
-        <Button layoutConstraint="left">
-          <ClientEvent name="onClick">var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
-var page = view.get(&quot;#dsMain&quot;);&#xD;
-var param = {&#xD;
-    &quot;pageSize&quot;:page.get(&quot;pageSize&quot;),&#xD;
-    &quot;pageNo&quot;:page.get(&quot;pageNo&quot;),&#xD;
-    &quot;foodVariety&quot;:data.get(&quot;foodVariety&quot;),&#xD;
-    &quot;year&quot;:data.get(&quot;year&quot;),&#xD;
-    &quot;completeStatus&quot;:data.get(&quot;completeStatus&quot;)&#xD;
-}&#xD;
-console.log(param);&#xD;
-window.parent.$.table.exportExcelDorado(&quot;./export/noticeOut-excel&quot;, &quot;鍑哄簱閫氱煡鍗曟暟鎹�&quot;, param);</ClientEvent>
-          <Property name="caption">瀵煎嚭EXCEL</Property>
-          <Property name="exClassName">btn4</Property>
-          <Property name="iconClass">fa fa-file-excel-o</Property>
-          <Property name="action">exportExcel</Property>
-        </Button>
-        <Button layoutConstraint="left">
+          <Property name="width">100</Property>
+          <Property name="iconClass">fa fa-times</Property>
+        </ToolBarButton>
+        <ToolBarButton layoutConstraint="left">
           <ClientEvent name="onClick">view.get(&quot;#recalculate&quot;).execute(function(result){&#xD;
-    if(result == 'success'){&#xD;
-		$notify(&quot;鏁版嵁鏇存柊瀹屾垚锛侊紒&quot;);&#xD;
-		&#xD;
-		var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
-		view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
-    }else{&#xD;
-		$notify(&quot;鏁版嵁鏇存柊澶辫触锛侊紒&quot;);&#xD;
-	}&#xD;
-});</ClientEvent>
+            if(result == 'success'){&#xD;
+            $notify(&quot;鏁版嵁鏇存柊瀹屾垚锛侊紒&quot;);&#xD;
+            &#xD;
+            var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
+            view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
+            }else{&#xD;
+            $notify(&quot;鏁版嵁鏇存柊澶辫触锛侊紒&quot;);&#xD;
+            }&#xD;
+            });</ClientEvent>
           <Property name="caption">瀹炴椂鏍哥畻</Property>
-          <Property name="exClassName">btn2</Property>
+          <Property name="exClassName">btn4</Property>
           <Property name="iconClass">fa fa-refresh</Property>
+          <Property name="width">100</Property>
           <Property name="tip">瀹屾垚閲忛粯璁ょ粺璁″埌鏄ㄥぉ锛屾煡鐪嬪疄鏃跺畬鎴愰噺璇风偣鍑烩�滃疄鏃舵牳绠椻�濇寜閽�</Property>
-        </Button>
-      </Container>
-    </AutoForm>
-    <Container layoutConstraint="center">
-      <Property name="exClassName">bg-color</Property>
-      <DataGrid id="dataGridMain" layoutConstraint="center">
-        <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
-          if(data){&#xD;
-          view.get(&quot;#dialogMain&quot;).show();&#xD;
-          }</ClientEvent>
+        </ToolBarButton>
+      </ToolBar>
+      <DataGrid id="dataGridMain" layoutConstraint="padding:8">
+        <ClientEvent name="onDataRowDoubleClick">view.get(&quot;#dataGridMain&quot;).set(&quot;selection&quot;,arg.data);</ClientEvent>
         <Property name="dataSet">dsMain</Property>
         <Property name="readOnly">true</Property>
         <Property name="selectionMode">singleRow</Property>
+        <Property name="readOnly">true</Property>
         <RowSelectorColumn/>
         <RowNumColumn>
           <Property name="width">50</Property>
@@ -661,16 +328,14 @@
           <Property name="align">center</Property>
           <Property name="width">120</Property>
         </DataColumn>
-        <DataColumn>
+        <DataColumn name="customerName">
           <Property name="property">customerName</Property>
-          <Property name="name">customerName</Property>
           <Property name="align">center</Property>
         </DataColumn>
-        <DataColumn>
+        <DataColumn name="depotId">
           <Property name="property">depotId</Property>
-          <Property name="name">depotId</Property>
           <Property name="align">center</Property>
-          <Property name="width">100</Property>
+          <Property name="width">150</Property>
         </DataColumn>
         <DataColumn name="foodVariety">
           <Property name="property">foodVariety</Property>
@@ -681,12 +346,6 @@
           <Property name="property">targetNumber</Property>
           <Property name="name">targetNumber</Property>
           <Property name="align">center</Property>
-          <Property name="width">200</Property>
-        </DataColumn>
-        <DataColumn>
-          <Property name="property">completeNumber</Property>
-          <Property name="align">center</Property>
-          <Property name="name">completeNumber</Property>
           <Property name="width">200</Property>
         </DataColumn>
         <DataColumn>
@@ -701,28 +360,35 @@
           <Property name="name">createTime</Property>
           <Property name="width">200</Property>
         </DataColumn>
+        <DataColumn>
+          <Property name="property">updateBy</Property>
+          <Property name="align">center</Property>
+          <Property name="name">updateBy</Property>
+          <Property name="width">120</Property>
+        </DataColumn>
+        <DataColumn>
+          <Property name="property">updateTime</Property>
+          <Property name="align">center</Property>
+          <Property name="name">updateTime</Property>
+          <Property name="width">160</Property>
+        </DataColumn>
       </DataGrid>
-    </Container>
-    <Container layoutConstraint="bottom">
-      <Property name="exClassName">bg-color</Property>
-      <DataPilot layoutConstraint="right">
-        <Property name="itemCodes">pageSize,pages</Property>
-        <Property name="dataSet">dsMain</Property>
-      </DataPilot>
+      <ToolBar layoutConstraint="bottom">
+        <Fill/>
+        <DataPilot layoutConstraint="right">
+          <Property name="itemCodes">pageSize,pages</Property>
+          <Property name="dataSet">dsMain</Property>
+        </DataPilot>
+      </ToolBar>
     </Container>
     <Dialog id="dialogMain">
       <Property name="closeable">false</Property>
-      <Property name="caption">鍑哄簱鍗�</Property>
-      <Property name="width">60%</Property>
+      <Property name="caption">鍑哄簱閫氱煡鍗�</Property>
+      <Property name="width">1200</Property>
       <Property name="iconClass">fa fa-tasks</Property>
       <Buttons>
         <Button id="btnOk">
-          <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
-            if(data.validate() != 'ok'){&#xD;
-            $notify(&quot;鏁版嵁鏍¢獙澶辫触锛侊紒&quot;);&#xD;
-            return;&#xD;
-            }&#xD;
-            view.get(&quot;#ajaxSave&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
+          <ClientEvent name="onClick">view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
             if(result){&#xD;
             $alert(result);&#xD;
             return;&#xD;
@@ -730,146 +396,175 @@
             $notify(&quot;鏁版嵁鎵ц瀹屾垚锛侊紒&quot;);&#xD;
             self.get(&quot;parent&quot;).hide();&#xD;
             });</ClientEvent>
-          <Property name="caption">纭畾</Property>
-          <Property name="iconClass">fa fa-check</Property>
+          <Property name="caption">淇濆瓨</Property>
+          <Property name="iconClass">fa fa-check-circle</Property>
           <Property name="exClassName">btn1</Property>
+          <Property name="width">120</Property>
         </Button>
         <Button>
           <ClientEvent name="onClick">view.get(&quot;#dsMain.data:#&quot;).cancel();&#xD;
             self.get(&quot;parent&quot;).hide();</ClientEvent>
           <Property name="caption">鍙栨秷</Property>
-          <Property name="iconClass">fa fa-times</Property>
           <Property name="exClassName">btn3</Property>
+          <Property name="iconClass">fa fa-times-circle</Property>
+          <Property name="width">120</Property>
         </Button>
       </Buttons>
       <Children>
         <Container>
-          <AutoForm id="autoForm1" layoutConstraint="top padding:10">
-            <Property name="cols">*,*,*,*,*,*,*</Property>
-            <Property name="dataSet">dsQueryTitle</Property>
-            <Property name="labelAlign">right</Property>
+          <AutoForm layoutConstraint="top ">
+            <Property name="dataSet">dsMain</Property>
             <Property name="showHint">false</Property>
-            <AutoFormElement layoutConstraint="colSpan:7">
-              <Property name="name">title</Property>
-              <Property name="property">title</Property>
-              <Property name="showLabel">false</Property>
+            <Property name="cols">210,*,210</Property>
+            <Control/>
+            <AutoFormElement>
+              <Property name="name">name</Property>
+              <Property name="property">name</Property>
               <Property name="editorType">Label</Property>
-              <Property name="style">
-                <Property name="font">bold 30px Georgia, serif;</Property>
-                <Property name="text-align">center</Property>
-              </Property>
+              <Property name="showLabel">false</Property>
+              <Property name="showHint">false</Property>
+              <Property name="className">f-title</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">id</Property>
+              <Property name="property">id</Property>
+              <Property name="editorType">Label</Property>
+              <Property name="showHint">false</Property>
+              <Property name="labelAlign">right</Property>
+              <Property name="showLabel">false</Property>
               <Editor/>
             </AutoFormElement>
           </AutoForm>
-          <Container layout="padding:15">
-            <AutoForm>
-              <Property name="dataSet">dsMain</Property>
-              <Property name="cols">*,*</Property>
-              <Property name="labelAlign">right</Property>
-              <Property name="labelSeparator">锛�</Property>
-              <Property name="labelWidth">110</Property>
-              <AutoFormElement>
-                <Property name="name">name</Property>
-                <Property name="property">name</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">customerName</Property>
-                <Property name="property">customerName</Property>
-                <Property name="trigger">ddCustomer</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">unitName</Property>
-                <Property name="property">unitName</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">depotId</Property>
-                <Property name="property">depotId</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">foodVariety</Property>
-                <Property name="property">foodVariety</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">year</Property>
-                <Property name="property">year</Property>
-                <Property name="trigger">defaultYearDropDown</Property>
-                <Editor/>
-              </AutoFormElement>
-              <Label layoutConstraint="colSpan:1"/>
-              <AutoFormElement>
-                <Property name="name">targetNumber</Property>
-                <Property name="property">targetNumber</Property>
-                <Property name="readOnly">false</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">completeNumber</Property>
-                <Property name="property">completeNumber</Property>
-                <Property name="readOnly">false</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">planName</Property>
-                <Property name="property">planName</Property>
-                <Property name="trigger">ddPlan</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">contractName</Property>
-                <Property name="property">contractName</Property>
-                <Property name="trigger">ddContract</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">createTime</Property>
-                <Property name="property">createTime</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">completeTime</Property>
-                <Property name="property">completeTime</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">completeStatus</Property>
-                <Property name="property">completeStatus</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">remark</Property>
-                <Property name="property">remark</Property>
-                <Property name="editorType">TextArea</Property>
-                <Editor/>
-              </AutoFormElement>
-            </AutoForm>
-          </Container>
+          <AutoForm>
+            <Property name="dataSet">dsMain</Property>
+            <Property name="cols">*,*,*</Property>
+            <Property name="labelAlign">right</Property>
+            <Property name="labelSeparator">锛�</Property>
+            <Property name="labelWidth">120</Property>
+            <AutoFormElement layoutConstraint="colSpan:2">
+              <Property name="name">name</Property>
+              <Property name="property">name</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">type</Property>
+              <Property name="property">type</Property>
+              <Property name="editorType">RadioGroup</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">depotId</Property>
+              <Property name="property">depotId</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">foodVariety</Property>
+              <Property name="property">foodVariety</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">year</Property>
+              <Property name="property">year</Property>
+              <Property name="trigger">defaultYearDropDown</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement layoutConstraint="colSpan:2">
+              <Property name="name">customerName</Property>
+              <Property name="property">customerName</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">unitName</Property>
+              <Property name="property">unitName</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">targetNumber</Property>
+              <Property name="property">targetNumber</Property>
+              <Property name="readOnly">false</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">completeNumber</Property>
+              <Property name="property">completeNumber</Property>
+              <Property name="readOnly">false</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">completeStatus</Property>
+              <Property name="property">completeStatus</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">completeTime</Property>
+              <Property name="property">completeTime</Property>
+              <Property name="readOnly">false</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">createBy</Property>
+              <Property name="property">createBy</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">auditStatus</Property>
+              <Property name="property">auditStatus</Property>
+              <Property name="readOnly">true</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement layoutConstraint="colSpan:2">
+              <Property name="name">contract</Property>
+              <Property name="property">contract</Property>
+              <Editor/>
+            </AutoFormElement>
+            <Label>
+              <Property name="style">
+                <Property name="color">blue</Property>
+              </Property>
+              <Property name="text">娉細鐩戠閫氱煡鍗曪紝鍙~鍐欒川鎶煎悎鍚屽悕绉�</Property>
+            </Label>
+            <AutoFormElement layoutConstraint="colSpan:3">
+              <Property name="name">remark</Property>
+              <Property name="property">remark</Property>
+              <Property name="editorType">TextArea</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">createTime</Property>
+              <Property name="property">createTime</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">auditUser</Property>
+              <Property name="property">auditUser</Property>
+              <Property name="readOnly">true</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">auditDate</Property>
+              <Property name="property">auditDate</Property>
+              <Property name="readOnly">true</Property>
+              <Editor/>
+            </AutoFormElement>
+            <HtmlContainer layoutConstraint="colSpan:3">
+              <Property name="content">1.鍑哄簱閫氱煡鍗曚綔涓哄嚭搴撲綔涓氱殑鍓嶇疆鏉′欢锛屽繀椤婚厤缃紝鍚﹀垯鏃犳硶杩涜鍏ュ簱浣滀笟銆�&lt;br>&#xD;
+                2.鍗曟嵁绫诲瀷=搴撳尯閫氱煡鍗曪紝琛ㄧず搴撳尯鑷繁浣滀笟涓氬姟锛屼笉鍙楃洃绠$鐞嗐��</Property>
+              <Property name="exClassName">h-tip</Property>
+              <Property name="contentOverflow">hidden</Property>
+            </HtmlContainer>
+          </AutoForm>
         </Container>
       </Children>
       <Tools/>
     </Dialog>
-    <AjaxAction id="ajaxGetDepot">
-      <Property name="service">depotPR#getDepot</Property>
-    </AjaxAction>
-    <AjaxAction id="ajaxSave">
-      <Property name="service">inoutNoticePR#saveOut</Property>
-    </AjaxAction>
+    <UpdateAction id="updateSave">
+      <Property name="dataResolver">inoutNoticePR#saveOut</Property>
+      <UpdateItem>
+        <Property name="dataPath">[#current]</Property>
+        <Property name="dataSet">dsMain</Property>
+      </UpdateItem>
+    </UpdateAction>
     <AjaxAction id="ajaxDel">
       <Property name="service">inoutNoticePR#delDataOut</Property>
       <Property name="confirmMessage">纭畾瑕佹墽琛屽垹闄や箞锛�</Property>
@@ -877,240 +572,8 @@
     <AjaxAction id="ajaxInitAdd">
       <Property name="service">inoutNoticePR#initAddOut</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">
-            <Entity>
-              <Property name="type">OUT</Property>
-            </Entity>
-          </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(&quot;#key.value&quot;);&#xD;
-var type = &quot;${request.getParameter('type')}&quot;;&#xD;
-view.get(&quot;#dsCustomer&quot;).set(&quot;parameter&quot;,{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(&quot;#dsCustomer.data:#&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#ddCustomer&quot;).close(data.toJSON());&#xD;
-}</ClientEvent>
-            <Property name="iconClass">fa fa-check</Property>
-            <Property name="caption">纭畾</Property>
-          </Button>
-        </Container>
-        <DataGrid>
-          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsCustomer.data:#&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#ddCustomer&quot;).close(data.toJSON());&#xD;
-}</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 = &quot;bold&quot;;&#xD;
-arg.processDefault = true;</ClientEvent>
-            <Property name="property">name</Property>
-            <Property name="align">center</Property>
-          </DataColumn>
-        </DataGrid>
-      </Container>
-    </CustomDropDown>
     <AjaxAction id="recalculate">
       <Property name="service">inoutNoticePR#updateSumNoticeOut</Property>
     </AjaxAction>
-    <CustomDropDown id="ddPlan">
-      <Property name="minHeight">325</Property>
-      <Property name="assignmentMap">planId=id,planName=planId</Property>
-      <Property name="minWidth">900</Property>
-      <Property name="autoOpen">false</Property>
-      <Container layout="regionPadding:5">
-        <DataSet id="dsPlan">
-          <Property name="dataProvider">planManagePR#pagePlanDetail</Property>
-          <Property name="dataType">[dtPlan]</Property>
-          <Property name="parameter"></Property>
-          <Property name="pageSize">5</Property>
-        </DataSet>
-        <AutoForm layoutConstraint="top">
-          <Property name="cols">*,*,*</Property>
-          <Property name="dataSet">dsQuery</Property>
-          <Property name="exClassName">bg-color</Property>
-          <Property name="labelAlign">right</Property>
-          <Property name="labelSeparator">:</Property>
-          <Property name="labelWidth">100</Property>
-          <AutoFormElement>
-            <Property name="name">depotId</Property>
-            <Property name="property">depotId</Property>
-            <Property name="editable">false</Property>
-            <Property name="label">璁″垝浠撳簱</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">year</Property>
-            <Property name="property">year</Property>
-            <Property name="trigger">defaultYearDropDown</Property>
-            <Property name="editable">false</Property>
-            <Property name="label">鏀惰幏骞翠唤</Property>
-            <Editor/>
-          </AutoFormElement>
-          <Container layout="hbox regionPadding:15">
-            <Button>
-              <ClientEvent name="onClick">var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#dsPlan&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
-}else{&#xD;
-	view.get(&quot;#dsPlan&quot;).flushAsync();&#xD;
-}&#xD;
-</ClientEvent>
-              <Property name="caption">鏌ヨ</Property>
-              <Property name="exClassName">btn-normal</Property>
-              <Property name="iconClass">fa fa-search</Property>
-            </Button>
-            <Button>
-              <ClientEvent name="onClick">var data = view.get(&quot;#dsPlan.data:#&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#ddPlan&quot;).close(data.toJSON());&#xD;
-}</ClientEvent>
-              <Property name="iconClass">fa fa-check</Property>
-              <Property name="caption">纭畾</Property>
-            </Button>
-          </Container>
-        </AutoForm>
-        <DataGrid>
-          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsPlan.data:#&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#ddPlan&quot;).close(data.toJSON());&#xD;
-}</ClientEvent>
-          <Property name="dataSet">dsPlan</Property>
-          <Property name="readOnly">true</Property>
-          <DataColumn>
-            <Property name="property">planId</Property>
-            <Property name="width">100</Property>
-            <Property name="align">center</Property>
-            <Property name="name">planId</Property>
-            <Property name="visible">false</Property>
-          </DataColumn>
-          <DataColumn name="depotId">
-            <ClientEvent name="onRenderCell">arg.dom.style.fontWeight = &quot;bold&quot;;&#xD;
-arg.processDefault = true;</ClientEvent>
-            <Property name="property">depotId</Property>
-            <Property name="align">center</Property>
-          </DataColumn>
-          <DataColumn>
-            <Property name="property">year</Property>
-            <Property name="width">200</Property>
-            <Property name="align">center</Property>
-            <Property name="name">year</Property>
-          </DataColumn>
-          <DataColumn>
-            <Property name="property">planNum</Property>
-            <Property name="width">80</Property>
-            <Property name="align">center</Property>
-            <Property name="name">planNum</Property>
-          </DataColumn>
-          <DataColumn>
-            <Property name="property">foodVariety</Property>
-            <Property name="width">80</Property>
-            <Property name="align">center</Property>
-            <Property name="name">foodVariety</Property>
-          </DataColumn>
-          <DataColumn>
-            <Property name="property">type</Property>
-            <Property name="align">center</Property>
-            <Property name="name">type</Property>
-          </DataColumn>
-        </DataGrid>
-        <DataPilot layoutConstraint="bottom">
-          <Property name="dataSet">dsPlan</Property>
-        </DataPilot>
-      </Container>
-    </CustomDropDown>
-    <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(&quot;#key3.value&quot;);&#xD;
-view.get(&quot;#dsContract&quot;).set(&quot;parameter&quot;,{key:key}).flushAsync();</ClientEvent>
-            <Property name="caption">鏌ヨ</Property>
-            <Property name="iconClass">fa fa-search</Property>
-          </Button>
-          <Button>
-            <ClientEvent name="onClick">var data = view.get(&quot;#dsContract.data:#&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#ddContract&quot;).close(data.toJSON());&#xD;
-}</ClientEvent>
-            <Property name="iconClass">fa fa-check</Property>
-            <Property name="caption">纭畾</Property>
-          </Button>
-        </Container>
-        <DataGrid>
-          <ClientEvent name="onDataRowDoubleClick">var data = view.get(&quot;#dsContract.data:#&quot;);&#xD;
-if(data){&#xD;
-	view.get(&quot;#ddContract&quot;).close(data.toJSON());&#xD;
-}</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 = &quot;bold&quot;;&#xD;
-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