From 8e095a4a2e882e31836e98742bf4f408233bd351 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期四, 25 九月 2025 10:06:05 +0800
Subject: [PATCH] 上海对农数据接口调整

---
 src/main/java/com/fzzy/api/view/Api1211.view.xml |  304 ++++++++++++++++++++++++++++----------------------
 1 files changed, 171 insertions(+), 133 deletions(-)

diff --git a/src/main/java/com/fzzy/api/view/Api1211.view.xml b/src/main/java/com/fzzy/api/view/Api1211.view.xml
index 302d7d2..0e7f768 100644
--- a/src/main/java/com/fzzy/api/view/Api1211.view.xml
+++ b/src/main/java/com/fzzy/api/view/Api1211.view.xml
@@ -26,6 +26,10 @@
         <Property></Property>
         <Property name="label">搴撳尯浠g爜</Property>
       </PropertyDef>
+      <PropertyDef name="tykqbm">
+        <Property></Property>
+        <Property name="label">鍥藉缁熶竴搴撳尯缂栫爜</Property>
+      </PropertyDef>
       <PropertyDef name="hwdm">
         <Property></Property>
         <Property name="label">璐т綅浠g爜</Property>
@@ -40,7 +44,7 @@
         </Property>
       </PropertyDef>
       <PropertyDef name="id">
-        <Property name="dataType">Integer</Property>
+        <Property name="dataType">String</Property>
       </PropertyDef>
       <PropertyDef name="lspzdm">
         <Property></Property>
@@ -60,19 +64,19 @@
         <Property name="label">鏈堜唤</Property>
       </PropertyDef>
       <PropertyDef name="qcsl">
-        <Property name="dataType">double</Property>
+        <Property name="dataType">Double</Property>
         <Property name="label">鏈熷垵鏁伴噺(鍏枻)</Property>
       </PropertyDef>
       <PropertyDef name="bqsrsl">
-        <Property name="dataType">double</Property>
+        <Property name="dataType">Double</Property>
         <Property name="label">鏈湡鏀跺叆鏁伴噺(鍏枻)</Property>
       </PropertyDef>
       <PropertyDef name="bqzcsl">
-        <Property name="dataType">double</Property>
+        <Property name="dataType">Double</Property>
         <Property name="label">鏈湡鏀嚭鏁伴噺(鍏枻)</Property>
       </PropertyDef>
       <PropertyDef name="qmye">
-        <Property name="dataType">double</Property>
+        <Property name="dataType">Double</Property>
         <Property name="label">鏈熸湯鏁伴噺(鍏枻)</Property>
       </PropertyDef>
       <PropertyDef name="yjbz">
@@ -134,7 +138,7 @@
       </ToolBarLabel>
       <ToolBarButton>
         <ClientEvent name="onClick">var query = view.get(&quot;#dsQuery&quot;).getData();&#xD;
-view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,query).flushAsync();</ClientEvent>
+          view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,query).flushAsync();</ClientEvent>
         <Property name="caption">鏌ヨ</Property>
         <Property name="iconClass">fa fa-search</Property>
         <Property name="width">100</Property>
@@ -142,7 +146,7 @@
       </ToolBarButton>
       <ToolBarButton id="btnAdd">
         <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
-view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
+          view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
         <Property name="caption">鏂板</Property>
         <Property name="iconClass">fa fa-plus</Property>
         <Property name="width">100</Property>
@@ -151,9 +155,9 @@
       </ToolBarButton>
       <ToolBarButton id="btnUpdate">
         <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
-if(cur){&#xD;
-	view.get(&quot;#dialogMain&quot;).show();&#xD;
-}</ClientEvent>
+          if(cur){&#xD;
+          view.get(&quot;#dialogMain&quot;).show();&#xD;
+          }</ClientEvent>
         <Property name="caption">淇敼</Property>
         <Property name="iconClass">fa fa-pencil</Property>
         <Property name="width">100</Property>
@@ -162,14 +166,14 @@
       </ToolBarButton>
       <ToolBarButton>
         <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
-view.get(&quot;#ajaxDelUpdate&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
-	if(result){&#xD;
-		$alert(result);&#xD;
-	} else{&#xD;
-		cur.set(&quot;czbz&quot;,&quot;d&quot;)&#xD;
-	}&#xD;
-});&#xD;
-</ClientEvent>
+          view.get(&quot;#ajaxDelUpdate&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
+          if(result){&#xD;
+          $alert(result);&#xD;
+          } else{&#xD;
+          cur.set(&quot;czbz&quot;,&quot;d&quot;)&#xD;
+          }&#xD;
+          });&#xD;
+        </ClientEvent>
         <Property name="caption">鏍囪鍒犻櫎</Property>
         <Property name="iconClass">fa fa-minus</Property>
         <Property name="exClassName">toolbar-button-warn</Property>
@@ -177,14 +181,14 @@
       </ToolBarButton>
       <ToolBarButton id="btnDel">
         <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
-view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
-	if(result){&#xD;
-		$alert(result);&#xD;
-	} else{&#xD;
-		cur.remove();&#xD;
-	}&#xD;
-});&#xD;
-</ClientEvent>
+          view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
+          if(result){&#xD;
+          $alert(result);&#xD;
+          } else{&#xD;
+          cur.remove();&#xD;
+          }&#xD;
+          });&#xD;
+        </ClientEvent>
         <Property name="caption">鐩存帴鍒犻櫎</Property>
         <Property name="iconClass">fa fa-minus</Property>
         <Property name="exClassName">toolbar-button-warn</Property>
@@ -193,15 +197,15 @@
       </ToolBarButton>
       <ToolBarButton>
         <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
-if(select &amp;&amp; select.length > 0){&#xD;
-	view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
-		view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
+          if(select &amp;&amp; select.length > 0){&#xD;
+          view.get(&quot;#ajaxPush&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
+          view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
           $notify(result);&#xD;
-	});&#xD;
-}else{&#xD;
-	$alert(&quot;璇峰嬀閫変笂鎶ユ暟鎹紒&quot;);&#xD;
-}&#xD;
-</ClientEvent>
+          });&#xD;
+          }else{&#xD;
+          $alert(&quot;璇峰嬀閫変笂鎶ユ暟鎹紒&quot;);&#xD;
+          }&#xD;
+        </ClientEvent>
         <Property name="caption">鎵嬪姩涓婁紶</Property>
         <Property name="iconClass">fa fa-hand-o-up</Property>
         <Property name="exClassName">toolbar-button-push</Property>
@@ -253,41 +257,56 @@
       </RowSelectorColumn>
       <DataColumn name="kqdm">
         <Property name="property">kqdm</Property>
+        <Property name="align">center</Property>
+        <Property name="width">240</Property>
       </DataColumn>
       <DataColumn name="lspzdm">
         <Property name="property">lspzdm</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="nd">
         <Property name="property">nd</Property>
+        <Property name="align">center</Property>
+        <Property name="width">80</Property>
       </DataColumn>
       <DataColumn name="yf">
         <Property name="property">yf</Property>
+        <Property name="width">80</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="qcsl">
         <Property name="property">qcsl</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="bqsrsl">
         <Property name="property">bqsrsl</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="bqzcsl">
         <Property name="property">bqzcsl</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="qmye">
         <Property name="property">qmye</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="yjbz">
         <Property name="property">yjbz</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="ywrq">
         <Property name="property">ywrq</Property>
-      </DataColumn>
-      <DataColumn name="zhgxsj">
-        <Property name="property">zhgxsj</Property>
-        <Property name="width">120</Property>
+        <Property name="align">center</Property>
       </DataColumn>
       <DataColumn name="czbz">
         <Property name="property">czbz</Property>
         <Property name="width">120</Property>
+        <Property name="align">center</Property>
+      </DataColumn>
+      <DataColumn name="zhgxsj">
+        <Property name="property">zhgxsj</Property>
+        <Property name="width">160</Property>
+        <Property name="align">center</Property>
       </DataColumn>
     </DataGrid>
     <ToolBar layoutConstraint="bottom">
@@ -299,118 +318,137 @@
     </ToolBar>
     <Dialog id="dialogMain">
       <Property name="width">1000</Property>
-      <Property name="caption">鍒颁粨淇℃伅</Property>
+      <Property name="caption">璐﹂潰搴撳瓨</Property>
       <Property name="iconClass">fa fa-sliders</Property>
       <Property name="closeable">false</Property>
       <Buttons>
         <Button>
           <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
-view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
-	self.get(&quot;parent&quot;).hide();&#xD;
-});</ClientEvent>
+            view.get(&quot;#updateSave&quot;).execute(function(){&#xD;
+            self.get(&quot;parent&quot;).hide();&#xD;
+            });</ClientEvent>
           <Property name="caption">淇濆瓨淇敼</Property>
           <Property name="iconClass">fa fa-check</Property>
           <Property name="exClassName">toolbar-button</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>
+            self.get(&quot;parent&quot;).hide();&#xD;
+            if(cur) cur.cancel();</ClientEvent>
           <Property name="caption">鍙栨秷淇敼</Property>
           <Property name="iconClass">fa fa-times</Property>
           <Property name="exClassName">toolbar-button-warn</Property>
         </Button>
       </Buttons>
       <Children>
-        <AutoForm>
-          <Property name="dataSet">dsMain</Property>
-          <Property name="cols">*,*,*</Property>
-          <Property name="labelWidth">100</Property>
-          <Property name="labelAlign">left</Property>
-          <Property name="labelSeparator">锛�</Property>
-          <Property name="labelPosition">top</Property>
-          <AutoFormElement>
-            <Property name="name">kqdm</Property>
-            <Property name="property">kqdm</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">lspzdm</Property>
-            <Property name="property">lspzdm</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">nd</Property>
-            <Property name="property">nd</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">hwdm</Property>
-            <Property name="property">hwdm</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">lsxzdm</Property>
-            <Property name="property">lsxzdm</Property>
-            <Editor/>
-          </AutoFormElement>
-          <Label>
-            <Property name="text">璇存槑锛氫笂娴蜂娇鐢�(璐т綅浠g爜銆佺伯椋熸�ц川浠g爜)</Property>
-            <Property name="style">
-              <Property name="color">blue</Property>
-            </Property>
-          </Label>
-          <AutoFormElement>
-            <Property name="name">yf</Property>
-            <Property name="property">yf</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">qcsl</Property>
-            <Property name="property">qcsl</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">bqsrsl</Property>
-            <Property name="property">bqsrsl</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">bqzcsl</Property>
-            <Property name="property">bqzcsl</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">qmye</Property>
-            <Property name="property">qmye</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">yjbz</Property>
-            <Property name="property">yjbz</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">ywrq</Property>
-            <Property name="property">ywrq</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">czbz</Property>
-            <Property name="property">czbz</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zhgxsj</Property>
-            <Property name="property">zhgxsj</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">bizId</Property>
-            <Property name="property">bizId</Property>
-            <Editor/>
-          </AutoFormElement>
-        </AutoForm>
+        <GroupBox>
+          <Property name="caption">鍩虹淇℃伅</Property>
+          <Buttons/>
+          <Children>
+            <AutoForm>
+              <Property name="dataSet">dsMain</Property>
+              <Property name="cols">*,*,*</Property>
+              <Property name="labelWidth">100</Property>
+              <Property name="labelAlign">left</Property>
+              <Property name="labelSeparator">锛�</Property>
+              <Property name="labelPosition">top</Property>
+              <AutoFormElement>
+                <Property name="name">kqdm</Property>
+                <Property name="property">kqdm</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">tykqbm</Property>
+                <Property name="property">tykqbm</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">lspzdm</Property>
+                <Property name="property">lspzdm</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">nd</Property>
+                <Property name="property">nd</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">yf</Property>
+                <Property name="property">yf</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">qcsl</Property>
+                <Property name="property">qcsl</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">bqsrsl</Property>
+                <Property name="property">bqsrsl</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">bqzcsl</Property>
+                <Property name="property">bqzcsl</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">qmye</Property>
+                <Property name="property">qmye</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">yjbz</Property>
+                <Property name="property">yjbz</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">ywrq</Property>
+                <Property name="property">ywrq</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">czbz</Property>
+                <Property name="property">czbz</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">zhgxsj</Property>
+                <Property name="property">zhgxsj</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">bizId</Property>
+                <Property name="property">bizId</Property>
+                <Editor/>
+              </AutoFormElement>
+            </AutoForm>
+          </Children>
+        </GroupBox>
+        <GroupBox>
+          <Property name="caption">涓婃捣甯傚钩鍙�</Property>
+          <Buttons/>
+          <Children>
+            <AutoForm>
+              <Property name="dataSet">dsMain</Property>
+              <Property name="cols">*,*,*</Property>
+              <Property name="labelWidth">100</Property>
+              <Property name="labelAlign">left</Property>
+              <Property name="labelSeparator">锛�</Property>
+              <Property name="labelPosition">top</Property>
+              <AutoFormElement>
+                <Property name="name">hwdm</Property>
+                <Property name="property">hwdm</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">lsxzdm</Property>
+                <Property name="property">lsxzdm</Property>
+                <Editor/>
+              </AutoFormElement>
+            </AutoForm>
+          </Children>
+        </GroupBox>
       </Children>
       <Tools/>
     </Dialog>

--
Gitblit v1.9.3