From 036a6d241cf1cfc0345ddf28e748a3d6deda08df Mon Sep 17 00:00:00 2001
From: jiazx0107 <jiazx0107@163.com>
Date: 星期一, 15 十二月 2025 20:35:09 +0800
Subject: [PATCH] 新增出入库审批页面

---
 fzzy-igdss-view/src/main/java/com/fzzy/igds/InoutNoticeIn.view.xml |   43 +++++++++++++------------------------------
 1 files changed, 13 insertions(+), 30 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 5b52c7b..82233cd 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
@@ -101,24 +101,9 @@
         <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">dictLabel</Property>
+          <Property name="valueProperty">dictValue</Property>
         </Property>
       </PropertyDef>
       <PropertyDef name="auditUser">
@@ -156,10 +141,6 @@
       <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>
@@ -236,7 +217,7 @@
         <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>
@@ -324,14 +305,19 @@
           <Property name="width">200</Property>
           <Property name="align">center</Property>
         </DataColumn>
+        <DataColumn>
+          <Property name="property">deptId</Property>
+          <Property name="align">center</Property>
+          <Property name="width">150</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">
@@ -390,7 +376,7 @@
       <Property name="iconClass">fa fa-tasks</Property>
       <Buttons>
         <Button id="btnOk">
-          <ClientEvent name="onClick">view.get(&quot;#udpateSave&quot;).execute(function(result){&#xD;
+          <ClientEvent name="onClick">view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
 	if(result){&#xD;
 		$alert(result);&#xD;
 		return;&#xD;
@@ -560,10 +546,7 @@
       </Children>
       <Tools/>
     </Dialog>
-    <AjaxAction id="ajaxSave">
-      <Property name="service">inoutNoticePR#saveIn</Property>
-    </AjaxAction>
-    <UpdateAction id="udpateSave">
+    <UpdateAction id="updateSave">
       <Property name="dataResolver">inoutNoticePR#saveIn</Property>
       <UpdateItem>
         <Property name="dataPath">[#current]</Property>

--
Gitblit v1.9.3