From cac7ab84d3cb339d6d4e0961f48a104e268dbee4 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期六, 17 一月 2026 18:02:35 +0800
Subject: [PATCH] 代码合并修改2

---
 fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeIn.view.xml |  573 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 289 insertions(+), 284 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeIn.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeIn.view.xml
index c1e4663..37ff1ec 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeIn.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeIn.view.xml
@@ -7,7 +7,7 @@
       <Property name="creationType">com.fzzy.igds.domain.InoutNoticeIn</Property>
       <PropertyDef name="id">
         <Property></Property>
-        <Property name="label">閫氱煡鍗曞彿</Property>
+        <Property name="label">鍗曟嵁鍙�</Property>
       </PropertyDef>
       <PropertyDef name="companyId">
         <Property></Property>
@@ -17,28 +17,28 @@
         <Property></Property>
         <Property name="label">鎵�灞炲垎搴�</Property>
         <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#getAllData&quot;).getResult()}</Property>
           <Property name="keyProperty">id</Property>
+          <Property name="mapValues">${dorado.getDataProvider(&quot;deptPR#getDeptByUserType&quot;).getResult()}</Property>
           <Property name="valueProperty">kqmc</Property>
         </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="label">鍗曟嵁绫诲瀷</Property>
         <Property name="mapping">
           <Property name="mapValues">
             <Collection>
               <Entity>
-                <Property name="name">搴撳尯鑷缓</Property>
+                <Property name="name">鑷敤閫氱煡鍗�</Property>
                 <Property name="code">10</Property>
               </Entity>
               <Entity>
-                <Property name="name">閾惰鐩戠</Property>
+                <Property name="name">鐩戠閫氱煡鍗�</Property>
                 <Property name="code">20</Property>
               </Entity>
             </Collection>
@@ -46,20 +46,22 @@
           <Property name="keyProperty">code</Property>
           <Property name="valueProperty">name</Property>
         </Property>
+        <Property name="required">true</Property>
       </PropertyDef>
-      <PropertyDef name="contractId">
+      <PropertyDef name="contract">
         <Property></Property>
-        <Property name="label">璐ㄦ娂鍚堝悓</Property>
+        <Property name="label">鍏宠仈鍚堝悓</Property>
         <Property name="required">false</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="mapValues">${dorado.getDataProvider(&quot;depotPR#getData&quot;).getResult()}</Property>
           <Property name="keyProperty">id</Property>
           <Property name="valueProperty">name</Property>
         </Property>
+        <Property name="required">true</Property>
       </PropertyDef>
       <PropertyDef name="customerName">
         <Property></Property>
@@ -70,11 +72,6 @@
         <Property></Property>
         <Property name="label">鏀惰揣鍗曚綅</Property>
         <Property name="required">false</Property>
-        <Property name="mapping">
-          <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">
         <Property></Property>
@@ -88,14 +85,13 @@
       </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">#0.0 KG</Property>
         <Property name="required">true</Property>
-        <Property name="label">鐩爣鏁伴噺</Property>
+        <Property name="label">璁″垝鏁伴噺</Property>
       </PropertyDef>
       <PropertyDef name="completeNumber">
         <Property name="dataType">Double</Property>
@@ -106,33 +102,10 @@
         <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 name="mapValues">${dorado.getDataProvider(&quot;dicPR#triggerStatusType&quot;).getResult()}</Property>
+          <Property name="keyProperty">dictValue</Property>
+          <Property name="valueProperty">dictLabel</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>
@@ -155,85 +128,38 @@
         </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">
-        <Property></Property>
-        <Property name="label">鏍囪</Property>
-      </PropertyDef>
       <PropertyDef name="createTime">
         <Property name="dataType">DateTime</Property>
-        <Property name="label">鍒涘缓鏃堕棿</Property>
-        <Property name="readOnly">true</Property>
+        <Property name="label">鍒跺崟鏃堕棿</Property>
       </PropertyDef>
       <PropertyDef name="createBy">
         <Property></Property>
-        <Property name="label">鍒涘缓浜�</Property>
-        <Property name="readOnly">true</Property>
+        <Property name="label">鍒跺崟浜�</Property>
       </PropertyDef>
       <PropertyDef name="updateTime">
         <Property name="dataType">DateTime</Property>
         <Property name="label">鏇存柊鏃堕棿</Property>
-        <Property name="readOnly">true</Property>
       </PropertyDef>
       <PropertyDef name="updateBy">
         <Property></Property>
         <Property name="label">鏇存柊浜�</Property>
-        <Property name="readOnly">true</Property>
       </PropertyDef>
-    </DataType>
-    <DataType name="dtQuery">
-      <PropertyDef name="depotId">
+      <PropertyDef name="bankId">
         <Property></Property>
-        <Property name="label">瑁呭嵏浠撳簱</Property>
+        <Property name="label">鐩戠潱閾惰</Property>
         <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;depotPR#getAllCache&quot;).getResult()}</Property>
+          <Property name="mapValues">${dorado.getDataProvider(&quot;bankPR#listAll&quot;).getResult()}</Property>
           <Property name="keyProperty">id</Property>
           <Property name="valueProperty">name</Property>
         </Property>
-      </PropertyDef>
-      <PropertyDef name="customerName">
-        <Property></Property>
-        <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="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>
-    </DataType>
-    <DataType name="dtQueryTitle">
-      <PropertyDef name="title">
-        <Property name="label">title</Property>
+        <Property name="visible">true</Property>
       </PropertyDef>
     </DataType>
   </Model>
@@ -245,14 +171,9 @@
 };&#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;
@@ -265,14 +186,15 @@
       <Property name="loadMode">lazy</Property>
     </DataSet>
     <DataSet id="dsQuery">
-      <Property name="dataType">dtQuery</Property>
       <Property name="dataProvider">inoutNoticePR#getYearQuery</Property>
       <Property name="loadMode">manual</Property>
+      <Property name="dataType">dtNoticeParam</Property>
     </DataSet>
-    <DataSet id="dsQueryTitle">
-      <Property name="dataType">dtQueryTitle</Property>
-      <Property name="dataProvider">inoutNoticePR#getTitle</Property>
+    <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>
@@ -304,13 +226,13 @@
         <Button>
           <ClientEvent name="onClick">var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
             if(data){&#xD;
-            view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data.toJSON()).flushAsync();&#xD;
+            view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data).flushAsync();&#xD;
             }else{&#xD;
             view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
             }</ClientEvent>
           <Property name="caption">鎼滅储</Property>
           <Property name="iconClass">fa fa-search</Property>
-          <Property name="exClassName">btn-q1</Property>>
+          <Property name="exClassName">btn-q1</Property>
         </Button>
         <Button>
           <ClientEvent name="onClick">view.get(&quot;#dsQuery&quot;).flushAsync();</ClientEvent>
@@ -344,15 +266,14 @@
           <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;
-            }</ClientEvent>
+          <ClientEvent name="onClick">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;
+}</ClientEvent>
           <Property name="caption">鍒犻櫎</Property>
           <Property name="exClassName">btn3</Property>
           <Property name="width">100</Property>
@@ -372,12 +293,43 @@
           <Property name="caption">瀹炴椂鏍哥畻</Property>
           <Property name="exClassName">btn4</Property>
           <Property name="iconClass">fa fa-refresh</Property>
-          <Property name="width">100</Property>
+          <Property name="width">120</Property>
           <Property name="tip">瀹屾垚閲忛粯璁ょ粺璁″埌鏄ㄥぉ锛屾煡鐪嬪疄鏃跺畬鎴愰噺璇风偣鍑烩�滃疄鏃舵牳绠椻�濇寜閽�</Property>
+          <Property name="ignored">true</Property>
         </ToolBarButton>
+        <ToolBarButton layoutConstraint="left">
+          <ClientEvent name="onClick">&#xD;
+var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
+if(select){&#xD;
+    var bizId = select.get(&quot;id&quot;);&#xD;
+    var url = &quot;/export/download-word?bizId=&quot;+bizId + &quot;&amp;entityName=InoutNoticeIn&quot;;&#xD;
+    window.open(url);&#xD;
+}else{&#xD;
+    $notify(&quot;璇烽�夋嫨闇�瑕佸鍑虹殑閫氱煡鍗曗�︹��&quot;);&#xD;
+}</ClientEvent>
+          <Property name="caption">瀵煎嚭Word</Property>
+          <Property name="exClassName">btn2</Property>
+          <Property name="width">120</Property>
+          <Property name="iconClass">fa fa-print</Property>
+        </ToolBarButton>
+        <Separator/>
+        <ToolBarButton layoutConstraint="left">
+          <ClientEvent name="onClick">var select = view.get(&quot;#dataGridMain&quot;).get(&quot;selection&quot;);&#xD;
+if(select){&#xD;
+	view.get(&quot;#iFrameFlowHis&quot;).set(&quot;path&quot;,&quot;/work/flow-his2?businessId=&quot;+select.get(&quot;id&quot;));&#xD;
+	view.get(&quot;#dialogHis&quot;).show();&#xD;
+}else{&#xD;
+	$notify(&quot;璇烽�夋嫨闇�瑕佹煡鐪嬬殑鏁版嵁鈥︹��&quot;);&#xD;
+}</ClientEvent>
+          <Property name="caption">瀹℃壒璁板綍</Property>
+          <Property name="exClassName">btn4</Property>
+          <Property name="iconClass">fa fa-th-list</Property>
+          <Property name="width">120</Property>
+        </ToolBarButton>
+        <Fill/>
       </ToolBar>
       <DataGrid id="dataGridMain" layoutConstraint="padding:8">
-        <ClientEvent name="onDataRowClick">view.get(&quot;#dataGridCamera&quot;).set(&quot;selection&quot;,arg.data);</ClientEvent>
+        <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;,arg.data);</ClientEvent>
         <Property name="dataSet">dsMain</Property>
         <Property name="readOnly">true</Property>
         <Property name="selectionMode">singleRow</Property>
@@ -392,31 +344,35 @@
           <Property name="width">200</Property>
           <Property name="align">center</Property>
         </DataColumn>
+        <DataColumn>
+          <Property name="property">deptId</Property>
+          <Property name="align">left</Property>
+          <Property name="name">deptId</Property>
+        </DataColumn>
         <DataColumn name="name">
           <Property name="property">name</Property>
           <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 name="depotId">
           <Property name="property">depotId</Property>
           <Property name="align">center</Property>
-          <Property name="width">150</Property>
+          <Property name="width">120</Property>
         </DataColumn>
         <DataColumn name="foodVariety">
           <Property name="property">foodVariety</Property>
           <Property name="align">center</Property>
-          <Property name="width">150</Property>
+          <Property name="width">120</Property>
         </DataColumn>
         <DataColumn>
           <Property name="property">targetNumber</Property>
           <Property name="name">targetNumber</Property>
           <Property name="align">center</Property>
-          <Property name="width">200</Property>
+          <Property name="width">120</Property>
         </DataColumn>
         <DataColumn>
           <Property name="property">completeStatus</Property>
@@ -424,53 +380,45 @@
           <Property name="align">center</Property>
           <Property name="width">100</Property>
         </DataColumn>
+        <DataColumn name="auditStatus">
+          <Property name="property">auditStatus</Property>
+          <Property name="width">100</Property>
+          <Property name="align">center</Property>
+        </DataColumn>
         <DataColumn>
           <Property name="property">createTime</Property>
           <Property name="align">center</Property>
           <Property name="name">createTime</Property>
           <Property name="width">160</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="className">c-bottom</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" layout="regionPadding:8">
       <Property name="closeable">false</Property>
       <Property name="caption">鍏ュ簱閫氱煡鍗�</Property>
-      <Property name="width">60%</Property>
+      <Property name="width">85%</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;
-            if(result){&#xD;
-            $alert(result);&#xD;
-            return;&#xD;
-            }&#xD;
-            $notify(&quot;鏁版嵁鎵ц瀹屾垚锛侊紒&quot;);&#xD;
-            self.get(&quot;parent&quot;).hide();&#xD;
-            });</ClientEvent>
+          <ClientEvent name="onClick">//璧嬪�兼敹璐у崟浣嶇瓑浜庡綋鍓嶅簱鍖�&#xD;
+var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+data.set('unitName',data.getText('deptId'));&#xD;
+&#xD;
+view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
+	if(result.code != '200'){&#xD;
+		$alert(result.message);&#xD;
+		return;&#xD;
+	}&#xD;
+	$alert('鏁版嵁鎵ц鎴愬姛锛�');&#xD;
+	self.get(&quot;parent&quot;).hide();&#xD;
+});</ClientEvent>
           <Property name="caption">淇濆瓨</Property>
           <Property name="iconClass">fa fa-check-circle</Property>
           <Property name="exClassName">btn1</Property>
@@ -487,141 +435,185 @@
       </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">120</Property>
-              <AutoFormElement>
-                <Property name="name">name</Property>
-                <Property name="property">name</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">depotId</Property>
-                <Property name="property">depotId</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">id</Property>
-                <Property name="property">id</Property>
-                <Property name="readOnly">true</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">foodVariety</Property>
-                <Property name="property">foodVariety</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <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">year</Property>
-                <Property name="property">year</Property>
-                <Property name="trigger">defaultYearDropDown</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">type</Property>
-                <Property name="property">type</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">contractId</Property>
-                <Property name="property">contractId</Property>
-                <Editor/>
-              </AutoFormElement>
-              <Label layoutConstraint="colSpan:2">
-                <Property name="style">
-                  <Property name="color">blue</Property>
-                </Property>
-                <Property name="text">娉細绫诲瀷涓洪摱琛岀洃绠℃椂锛岄渶鍏宠仈璐ㄦ娂鍚堝悓</Property>
-              </Label>
-              <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">remark</Property>
-                <Property name="property">remark</Property>
-                <Property name="editorType">TextArea</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">createBy</Property>
-                <Property name="property">createBy</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">createTime</Property>
-                <Property name="property">createTime</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">updateBy</Property>
-                <Property name="property">updateBy</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">updateTime</Property>
-                <Property name="property">updateTime</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>
+            <Property name="showHint">true</Property>
+            <AutoFormElement>
+              <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="trigger">autoMappingDropDown1</Property>
+              <Property name="editorType">RadioGroup</Property>
+              <Property name="showHint">false</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement id="formItemBank">
+              <Property name="name">bankId</Property>
+              <Property name="property">bankId</Property>
+              <Property name="hideMode">visibility</Property>
+              <Property name="trigger">autoMappingDropDown2</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">deptId</Property>
+              <Property name="property">deptId</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">depotId</Property>
+              <Property name="property">depotId</Property>
+              <Property name="trigger">dsDepotDropDown</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 id="formItemCustomerName" layoutConstraint="colSpan:2">
+              <Property name="name">customerName</Property>
+              <Property name="property">customerName</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">createBy</Property>
+              <Property name="property">createBy</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <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>
+            <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 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>
+              <Property name="name">auditStatus</Property>
+              <Property name="property">auditStatus</Property>
+              <Property name="readOnly">true</Property>
+              <Editor/>
+            </AutoFormElement>
+            <HtmlContainer layoutConstraint="colSpan:3">
+              <Property name="content">1.鍏ュ簱閫氱煡鍗曚綔涓哄叆搴撲綔涓氱殑鍓嶇疆鏉′欢锛屽繀椤婚厤缃紝鍚﹀垯鏃犳硶杩涜鍏ュ簱浣滀笟銆�&lt;br>&#xD;
+2.鍗曟嵁绫诲瀷=搴撳尯閫氱煡鍗曪紝琛ㄧず搴撳尯鑷繁浣滀笟涓氬姟锛屼笉鍙楃洃绠$鐞嗐��&lt;br>&#xD;
+3.鍗曟嵁绫诲瀷=璐ㄦ娂鐩戠閫氱煡鍗曪紝鍗曟嵁蹇呴』濉啓鐩戠潱閾惰銆�</Property>
+              <Property name="exClassName">h-tip</Property>
+              <Property name="contentOverflow">hidden</Property>
+            </HtmlContainer>
+          </AutoForm>
         </Container>
       </Children>
       <Tools/>
     </Dialog>
-    <AjaxAction id="ajaxSave">
-      <Property name="service">inoutNoticePR#saveIn</Property>
-    </AjaxAction>
+    <DataSetDropDown id="dsDepotDropDown">
+      <ClientEvent name="onOpen">&#xD;
+var entity = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+if(!entity){&#xD;
+    $alert(&quot;璇峰厛閫夋嫨鎵�灞炲垎搴�&quot;);&#xD;
+}else{&#xD;
+    var deptId = entity.get(&quot;deptId&quot;);&#xD;
+    if(!deptId){&#xD;
+        $alert(&quot;璇峰厛閫夋嫨鎵�灞炲垎搴�&quot;);&#xD;
+    }else{&#xD;
+        view.get(&quot;#dsDepotList&quot;).set(&quot;parameter&quot;,entity.get(&quot;deptId&quot;)).flushAsync();&#xD;
+    }&#xD;
+}</ClientEvent>
+      <Property name="dataSet">dsDepotList</Property>
+      <Property name="height">450</Property>
+      <Property name="autoOpen">true</Property>
+      <Property name="assignmentMap">depotId=id</Property>
+      <Property name="width">400</Property>
+      <DataColumn>
+        <Property name="align">center</Property>
+        <Property name="name">name</Property>
+        <Property name="property">name</Property>
+        <Editor/>
+      </DataColumn>
+    </DataSetDropDown>
+    <UpdateAction id="updateSave">
+      <Property name="dataResolver">inoutNoticePR#saveIn</Property>
+      <UpdateItem>
+        <Property name="dataPath">[#current]</Property>
+        <Property name="dataSet">dsMain</Property>
+      </UpdateItem>
+    </UpdateAction>
     <AjaxAction id="ajaxDel">
       <Property name="service">inoutNoticePR#delDataIn</Property>
       <Property name="confirmMessage">纭畾瑕佹墽琛屽垹闄や箞锛�</Property>
@@ -632,5 +624,18 @@
     <AjaxAction id="recalculate">
       <Property name="service">inoutNoticePR#updateSumNoticeIn</Property>
     </AjaxAction>
+    <Dialog id="dialogHis">
+      <Property name="width">80%</Property>
+      <Property name="height">80%</Property>
+      <Property name="iconClass">fa fa-th-list</Property>
+      <Property name="caption">瀹℃壒璁板綍</Property>
+      <Buttons/>
+      <Children>
+        <IFrame id="iFrameFlowHis">
+          <Property name="path">/work/flow-his?businessId=1</Property>
+        </IFrame>
+      </Children>
+      <Tools/>
+    </Dialog>
   </View>
 </ViewConfig>

--
Gitblit v1.9.3