From 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期六, 11 十月 2025 13:35:42 +0800
Subject: [PATCH] 武汉黄陂军粮-质检报告共享接口同步及推送

---
 src/main/java/com/fzzy/api/view/Api1403.view.xml |   56 ++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 48 insertions(+), 8 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..8fcd87f 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>
@@ -116,19 +119,22 @@
         <Property></Property>
         <Property name="label">鏂囦欢瀛樺偍ID</Property>
       </PropertyDef>
+      <PropertyDef name="wjdz">
+        <Property name="label">鏂囦欢鍦板潃</Property>
+      </PropertyDef>
       <PropertyDef name="fileName">
-          <Property></Property>
-          <Property name="label">鏂囦欢鍚嶇О</Property>
+        <Property></Property>
+        <Property name="label">鏂囦欢鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="rotationInQty">
-          <Property></Property>
-          <Property name="dataType">Double</Property>
-          <Property name="label">杞叆鏁伴噺</Property>
+        <Property></Property>
+        <Property name="dataType">Double</Property>
+        <Property name="label">杞叆鏁伴噺</Property>
       </PropertyDef>
       <PropertyDef name="rotationOutQty">
-          <Property></Property>
-          <Property name="dataType">Double</Property>
-          <Property name="label">杞嚭鏁伴噺</Property>
+        <Property></Property>
+        <Property name="dataType">Double</Property>
+        <Property name="label">杞嚭鏁伴噺</Property>
       </PropertyDef>
     </DataType>
     <DataType name="dtParam">
@@ -296,36 +302,46 @@
       <DataColumn>
         <Property name="property">jhmc</Property>
         <Property name="name">jhmc</Property>
+        <Property name="align">center</Property>
+        <Property name="width">500</Property>
       </DataColumn>
       <DataColumn>
         <Property name="property">jhwh</Property>
         <Property name="name">jhwh</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn>
         <Property name="property">jhnd</Property>
         <Property name="name">jhnd</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn>
         <Property name="property">kszxrq</Property>
         <Property name="name">kszxrq</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn>
         <Property name="property">jzzxrq</Property>
         <Property name="name">jzzxrq</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn>
         <Property name="property">jhxddw</Property>
         <Property name="name">jhxddw</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn>
         <Property name="property">jhxdsj</Property>
         <Property name="name">jhxdsj</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="czbz">
         <Property name="property">czbz</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="zhgxsj">
         <Property name="property">zhgxsj</Property>
+        <Property name="align">center</Property>
       </DataColumn>
     </DataGrid>
     <ToolBar layoutConstraint="bottom">
@@ -349,6 +365,12 @@
           <Property name="caption">淇濆瓨淇敼</Property>
           <Property name="iconClass">fa fa-check</Property>
           <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;
@@ -407,6 +429,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 +461,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 +537,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