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/otherview/whhpjl/WhjlApi1113.view.xml |  138 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 98 insertions(+), 40 deletions(-)

diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml
index 2a84807..aaf8ca1 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml
@@ -7,87 +7,105 @@
       <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1113</Property>
       <PropertyDef name="sbwhjlbh">
         <Property></Property>
+        <Property name="label">缁存姢璁板綍缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="jlqybh">
         <Property></Property>
+        <Property name="label">鍐涚伯浼佷笟缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="jlqymc">
         <Property></Property>
+        <Property name="label">鍐涚伯浼佷笟鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="jgzdbh">
         <Property></Property>
+        <Property name="label">鍐涗緵绔欑偣缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="jgzdmc">
         <Property></Property>
+        <Property name="label">鍐涗緵绔欑偣鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="sbbh">
         <Property></Property>
+        <Property name="label">璁惧缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="sbmc">
         <Property></Property>
+        <Property name="label">璁惧鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="wbrq">
         <Property name="dataType">Date</Property>
+        <Property name="label">缁翠繚鏃ユ湡</Property>
       </PropertyDef>
       <PropertyDef name="wbdw">
         <Property></Property>
+        <Property name="label">缁翠繚鍗曚綅</Property>
       </PropertyDef>
       <PropertyDef name="wbr">
         <Property></Property>
+        <Property name="label">缁翠繚浜�</Property>
       </PropertyDef>
       <PropertyDef name="lxdh">
         <Property></Property>
+        <Property name="label">鑱旂郴鐢佃瘽</Property>
       </PropertyDef>
       <PropertyDef name="whlr">
         <Property></Property>
+        <Property name="label">缁存姢鍐呭</Property>
       </PropertyDef>
       <PropertyDef name="whjl">
         <Property></Property>
+        <Property name="label">缁存姢璁板綍</Property>
       </PropertyDef>
       <PropertyDef name="fxwt">
         <Property></Property>
+        <Property name="label">鍙戠幇闂</Property>
       </PropertyDef>
       <PropertyDef name="jjcs">
         <Property></Property>
+        <Property name="label">瑙e喅鎺柦</Property>
       </PropertyDef>
       <PropertyDef name="xcwbrq">
         <Property name="dataType">Date</Property>
+        <Property name="label">涓嬫缁翠繚鏃ユ湡</Property>
       </PropertyDef>
       <PropertyDef name="ysr">
         <Property></Property>
+        <Property name="label">楠屾敹浜�</Property>
       </PropertyDef>
       <PropertyDef name="whjy">
         <Property></Property>
-      </PropertyDef>
-      <PropertyDef name="whjlzp">
-        <Property></Property>
+        <Property name="label">缁存姢寤鸿</Property>
       </PropertyDef>
       <PropertyDef name="bz">
         <Property></Property>
-      </PropertyDef>
-      <PropertyDef name="zpid">
-        <Property></Property>
-      </PropertyDef>
-      <PropertyDef name="zpmc">
-        <Property></Property>
-      </PropertyDef>
-      <PropertyDef name="zplj">
-        <Property></Property>
-      </PropertyDef>
-      <PropertyDef name="zpdx">
-        <Property></Property>
+        <Property name="label">澶囨敞</Property>
       </PropertyDef>
       <PropertyDef name="bizId">
         <Property></Property>
+        <Property name="label">涓氬姟ID</Property>
       </PropertyDef>
       <PropertyDef name="updateTime">
         <Property name="dataType">Date</Property>
+        <Property name="label">鏈�鍚庢洿鏂版椂闂�</Property>
       </PropertyDef>
       <PropertyDef name="czbz">
         <Property></Property>
+        <Property name="label">鎿嶄綔鏍囧織</Property>
+        <Property name="mapping">
+          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
+          <Property name="keyProperty">code</Property>
+          <Property name="valueProperty">name</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="kqdm">
         <Property></Property>
+        <Property name="label">搴撳尯浠g爜</Property>
+      </PropertyDef>
+      <PropertyDef name="whjlzp">
+        <Property></Property>
+        <Property name="label">缁存姢璁板綍鐓х墖</Property>
+        <Property name="dataType">[dtWhjlzp]</Property>
       </PropertyDef>
     </DataType>
     <DataType name="dtParam">
@@ -114,12 +132,32 @@
         </Property>
       </PropertyDef>
     </DataType>
+    <DataType name="dtWhjlzp">
+      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property>
+      <PropertyDef name="zpid">
+        <Property></Property>
+        <Property name="label">鐓х墖id</Property>
+      </PropertyDef>
+      <PropertyDef name="zpmc">
+        <Property></Property>
+        <Property name="label">鐓х墖鍚嶇О</Property>
+      </PropertyDef>
+      <PropertyDef name="zplj">
+        <Property></Property>
+        <Property name="label">鐓х墖璺緞</Property>
+      </PropertyDef>
+      <PropertyDef name="zpdx">
+        <Property name="dataType">Integer</Property>
+        <Property name="label">鐓х墖澶у皬</Property>
+      </PropertyDef>
+    </DataType>
   </Model>
   <View layout="regionPadding:10">
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dsMain">
       <Property name="dataType">[dtMain]</Property>
       <Property name="dataProvider">whjlApi1113PR#listData</Property>
+      <Property name="pageSize">20</Property>
     </DataSet>
     <DataSet id="dsQuery">
       <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -260,6 +298,7 @@
       <Property name="closeable">false</Property>
       <Property name="iconClass">fa fa-sliders</Property>
       <Property name="caption">璐т綅淇℃伅</Property>
+      <Property name="height">80%</Property>
       <Buttons>
         <Button>
           <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -377,33 +416,8 @@
             <Editor/>
           </AutoFormElement>
           <AutoFormElement>
-            <Property name="name">whjlzp</Property>
-            <Property name="property">whjlzp</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
             <Property name="name">bz</Property>
             <Property name="property">bz</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zpid</Property>
-            <Property name="property">zpid</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zpmc</Property>
-            <Property name="property">zpmc</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zplj</Property>
-            <Property name="property">zplj</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zpdx</Property>
-            <Property name="property">zpdx</Property>
             <Editor/>
           </AutoFormElement>
           <AutoFormElement>
@@ -427,6 +441,50 @@
             <Editor/>
           </AutoFormElement>
         </AutoForm>
+        <Panel>
+          <Property name="caption">璁惧缁存姢璁板綍鐓х墖</Property>
+          <Property name="height">80%</Property>
+          <Buttons/>
+          <Children>
+            <Container layout="regionPadding:10">
+              <Label layoutConstraint="left">
+                <Property name="text">鑿滃崟鏍忥細</Property>
+              </Label>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;whjlzp&quot;);&#xD;
+list.insert({});&#xD;
+</ClientEvent>
+                <Property name="caption">鏂板</Property>
+                <Property name="exClassName">btn-default</Property>
+                <Property name="iconClass">fa fa-plus</Property>
+              </Button>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var data = view.get(&quot;#dgWhjlzp.currentEntity&quot;);&#xD;
+data.remove();</ClientEvent>
+                <Property name="caption">鍒犻櫎</Property>
+                <Property name="exClassName">btn-warn</Property>
+                <Property name="iconClass">fa fa-minus</Property>
+              </Button>
+            </Container>
+            <DataGrid id="dgWhjlzp">
+              <Property name="dataPath">#.whjlzp</Property>
+              <Property name="dataSet">dsMain</Property>
+              <DataColumn name="zpid">
+                <Property name="property">zpid</Property>
+              </DataColumn>
+              <DataColumn name="zpmc">
+                <Property name="property">zpmc</Property>
+              </DataColumn>
+              <DataColumn name="zplj">
+                <Property name="property">zplj</Property>
+              </DataColumn>
+              <DataColumn name="zpdx">
+                <Property name="property">zpdx</Property>
+              </DataColumn>
+            </DataGrid>
+          </Children>
+          <Tools/>
+        </Panel>
       </Children>
       <Tools/>
     </Dialog>

--
Gitblit v1.9.3