From 51a999d87421497bb7bb25e47965f78261f801c3 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期日, 21 四月 2024 15:43:26 +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..f466ae1 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="tydwbm">
+        <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">tydwbm</Property>
+                <Property name="property">tydwbm</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