From 07cc0a3e45a2f4db1d991877393e2759922231c8 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 22 四月 2024 20:09:13 +0800
Subject: [PATCH] 统一编码-调整轮换计划及计划明细接口字段名称

---
 src/main/java/com/fzzy/api/view/Api1403.view.xml |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/fzzy/api/view/Api1403.view.xml b/src/main/java/com/fzzy/api/view/Api1403.view.xml
index dc0c06e..4bd0dd4 100644
--- a/src/main/java/com/fzzy/api/view/Api1403.view.xml
+++ b/src/main/java/com/fzzy/api/view/Api1403.view.xml
@@ -31,6 +31,9 @@
       <PropertyDef name="jhxddw">
         <Property name="label">璁″垝涓嬭揪鍗曚綅</Property>
       </PropertyDef>
+      <PropertyDef name="jhxddwtybm">
+        <Property name="label">鍥藉缁熶竴鍗曚綅缂栫爜</Property>
+      </PropertyDef>
       <PropertyDef name="jhxddwmc">
         <Property name="label">璁″垝涓嬭揪鍗曚綅鍚嶇О</Property>
       </PropertyDef>
@@ -115,6 +118,9 @@
       <PropertyDef name="fileStorageId">
         <Property></Property>
         <Property name="label">鏂囦欢瀛樺偍ID</Property>
+      </PropertyDef>
+      <PropertyDef name="wjdz">
+        <Property name="label">鏂囦欢鍦板潃</Property>
       </PropertyDef>
       <PropertyDef name="fileName">
           <Property></Property>
@@ -351,6 +357,12 @@
           <Property name="exClassName">toolbar-button</Property>
         </Button>
         <Button>
+          <Property name="caption">涓婁紶鏂囦欢</Property>
+          <Property name="iconClass">fa fa-upload</Property>
+          <Property name="exClassName">toolbar-button-warm</Property>
+          <Property name="action">uploadAction</Property>
+        </Button>
+        <Button>
           <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
 self.get(&quot;parent&quot;).hide();&#xD;
 if(cur) cur.cancel();</ClientEvent>
@@ -407,6 +419,11 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
+                <Property name="name">jhxddwtybm</Property>
+                <Property name="property">jhxddwtybm</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
                 <Property name="name">jhxddwmc</Property>
                 <Property name="property">jhxddwmc</Property>
                 <Editor/>
@@ -434,6 +451,11 @@
               <AutoFormElement>
                 <Property name="name">kqdm</Property>
                 <Property name="property">kqdm</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">wjdz</Property>
+                <Property name="property">wjdz</Property>
                 <Editor/>
               </AutoFormElement>
             </AutoForm>
@@ -505,5 +527,13 @@
       <Property name="service">api1403PR#delUpdate</Property>
       <Property name="confirmMessage">纭畾瑕佸皢鏁版嵁鏍囪涓哄垹闄や箞锛�</Property>
     </AjaxAction>
+    <UploadAction id="uploadAction">
+      <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//鑾峰彇FileResolver鏂规硶杩斿洖鐨勪俊鎭�&amp;#xD;&#xD;
+        &#xD;
+        var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+        cur.set(&quot;wjdz&quot;,returnValue);</ClientEvent>
+      <Property name="fileResolver">uploadProcessor#uploadFile</Property>
+      <Filters/>
+    </UploadAction>
   </View>
 </ViewConfig>

--
Gitblit v1.9.3