From 069c3ea2792899256f46c44ff2bd497d91f91a4d Mon Sep 17 00:00:00 2001
From: CZT <czt18638530771@163.com>
Date: 星期五, 08 三月 2024 16:03:30 +0800
Subject: [PATCH] 优化出入库数据同步的必填项
---
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml | 98 +++++++++++++++++++-----------------------------
1 files changed, 39 insertions(+), 59 deletions(-)
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
index 2d2f1a4..3c3569b 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
@@ -28,11 +28,6 @@
<PropertyDef name="htlx">
<Property></Property>
<Property name="label">鍚堝悓绫诲瀷</Property>
- <Property name="mapping">
- <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("HT_YWLX")}</Property>
- <Property name="keyProperty">code</Property>
- <Property name="valueProperty">name</Property>
- </Property>
</PropertyDef>
<PropertyDef name="htbh">
<Property></Property>
@@ -59,13 +54,12 @@
<Property name="label">鍚堝悓瀹㈡埛鍚嶇О</Property>
</PropertyDef>
<PropertyDef name="htspdj">
- <Property></Property>
+ <Property name="dataType">Double</Property>
<Property name="label">鍚堝悓鍟嗗搧鍗曚环</Property>
</PropertyDef>
<PropertyDef name="htspsl">
<Property name="dataType">Double</Property>
<Property name="label">鍚堝悓鍟嗗搧鏁伴噺</Property>
- <Property name="displayFormat">#0.00</Property>
</PropertyDef>
<PropertyDef name="spbm">
<Property></Property>
@@ -75,7 +69,7 @@
<Property name="dataType">Double</Property>
<Property name="label">鎬婚噾棰�</Property>
</PropertyDef>
- <PropertyDef name="htqdr">
+ <PropertyDef name="hrqdr">
<Property></Property>
<Property name="label">鍚堝悓绛捐浜�</Property>
</PropertyDef>
@@ -89,7 +83,7 @@
</PropertyDef>
<PropertyDef name="htjzrq">
<Property name="dataType">Date</Property>
- <Property name="label">鍚堝悓鎴鏃堕棿</Property>
+ <Property name="label">鍚堝悓鎴鏃ユ湡</Property>
</PropertyDef>
<PropertyDef name="htcjr">
<Property></Property>
@@ -118,28 +112,26 @@
<PropertyDef name="zffs">
<Property></Property>
<Property name="label">鏀粯鏂瑰紡</Property>
- <Property name="mapping">
- <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("JSFS")}</Property>
- <Property name="keyProperty">code</Property>
- <Property name="valueProperty">name</Property>
- </Property>
</PropertyDef>
<PropertyDef name="ywcsl">
<Property name="dataType">Double</Property>
<Property name="label">宸插畬鎴愭暟閲�</Property>
</PropertyDef>
<PropertyDef name="ywcslje">
- <Property></Property>
+ <Property name="dataType">Double</Property>
<Property name="label">宸插畬鎴愭暟閲忛噾棰�</Property>
</PropertyDef>
<PropertyDef name="htbz">
<Property></Property>
<Property name="label">鍚堝悓澶囨敞</Property>
</PropertyDef>
- <PropertyDef name="xh">
+ <PropertyDef name="htzt">
<Property></Property>
- <Property name="label">搴忓彿</Property>
+ <Property name="label">鍚堝悓鐘舵��</Property>
+ </PropertyDef>
+ <PropertyDef name="xh">
<Property name="dataType">Integer</Property>
+ <Property name="label">搴忓彿</Property>
</PropertyDef>
<PropertyDef name="sfyx">
<Property></Property>
@@ -170,11 +162,11 @@
<Property></Property>
<Property name="label">搴撳尯浠g爜</Property>
</PropertyDef>
- <Reference name="htspqd">
- <Property name="parameter">$${this.htid}</Property>
- <Property name="dataProvider">whjlApi1206PR#listItem</Property>
+ <PropertyDef name="htspqd">
+ <Property></Property>
+ <Property name="label">鍚堝悓鍟嗗搧娓呭崟</Property>
<Property name="dataType">[dtItem]</Property>
- </Reference>
+ </PropertyDef>
</DataType>
<DataType name="dtItem">
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlQDItem</Property>
@@ -247,6 +239,7 @@
<DataSet id="dsMain">
<Property name="dataType">[dtMain]</Property>
<Property name="dataProvider">whjlApi1206PR#listData</Property>
+ <Property name="pageSize">20</Property>
</DataSet>
<Container layout="regionPadding:10" layoutConstraint="top">
<Property name="exClassName">bg-color</Property>
@@ -387,11 +380,18 @@
</DataColumn>
</DataGrid>
</Container>
+ <Container layoutConstraint="bottom">
+ <Property name="exClassName">bg-color</Property>
+ <DataPilot layoutConstraint="right">
+ <Property name="dataSet">dsMain</Property>
+ <Property name="itemCodes">pageSize,pages</Property>
+ </DataPilot>
+ </Container>
<Dialog id="dialogMain" layout="regionPadding:10;padding:5">
<Property name="width">85%</Property>
<Property name="closeable">false</Property>
<Property name="iconClass">fa fa-sliders</Property>
- <Property name="caption">瀹㈡埛淇℃伅</Property>
+ <Property name="caption">鍚堝悓淇℃伅</Property>
<Property name="height">85%</Property>
<Buttons>
<Button>
@@ -423,12 +423,6 @@
<Property name="labelSeparator">:</Property>
<Property name="labelAlign">left</Property>
<AutoFormElement>
- <Property name="name">htlx</Property>
- <Property name="property">htlx</Property>
- <Property name="editorType">RadioGroup</Property>
- <Editor/>
- </AutoFormElement>
- <AutoFormElement>
<Property name="name">htid</Property>
<Property name="property">htid</Property>
<Editor/>
@@ -454,6 +448,11 @@
<Editor/>
</AutoFormElement>
<AutoFormElement>
+ <Property name="name">htlx</Property>
+ <Property name="property">htlx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
<Property name="name">htbh</Property>
<Property name="property">htbh</Property>
<Editor/>
@@ -466,38 +465,22 @@
<AutoFormElement>
<Property name="name">jljgqybh</Property>
<Property name="property">jljgqybh</Property>
- <Editor>
- <TextEditor>
- <Property name="blankText">----鐢ㄤ簬閲囪喘鍚堝悓----</Property>
- </TextEditor>
- </Editor>
+ <Editor/>
</AutoFormElement>
<AutoFormElement>
<Property name="name">jljgqymc</Property>
<Property name="property">jljgqymc</Property>
- <Editor>
- <TextEditor>
- <Property name="blankText">----鐢ㄤ簬閲囪喘鍚堝悓----</Property>
- </TextEditor>
- </Editor>
+ <Editor/>
</AutoFormElement>
<AutoFormElement>
<Property name="name">htkhbh</Property>
<Property name="property">htkhbh</Property>
- <Editor>
- <TextEditor>
- <Property name="blankText">----鐢ㄤ簬閿�鍞悎鍚�----</Property>
- </TextEditor>
- </Editor>
+ <Editor/>
</AutoFormElement>
<AutoFormElement>
<Property name="name">htkhmc</Property>
<Property name="property">htkhmc</Property>
- <Editor>
- <TextEditor>
- <Property name="blankText">----鐢ㄤ簬閿�鍞悎鍚�----</Property>
- </TextEditor>
- </Editor>
+ <Editor/>
</AutoFormElement>
<AutoFormElement>
<Property name="name">htspdj</Property>
@@ -520,8 +503,8 @@
<Editor/>
</AutoFormElement>
<AutoFormElement>
- <Property name="name">htqdr</Property>
- <Property name="property">htqdr</Property>
+ <Property name="name">hrqdr</Property>
+ <Property name="property">hrqdr</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement>
@@ -562,7 +545,6 @@
<AutoFormElement>
<Property name="name">htgylx</Property>
<Property name="property">htgylx</Property>
- <Property name="trigger">listDropLX</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement>
@@ -588,6 +570,11 @@
<AutoFormElement>
<Property name="name">htbz</Property>
<Property name="property">htbz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">htzt</Property>
+ <Property name="property">htzt</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement>
@@ -649,14 +636,7 @@
if(!data){
return;
}
-view.get("#ajaxItem").set("parameter",data).execute(function(result){
- if(result){
- $alert(result);
- return;
- }else{
- data.remove();
- }
-});</ClientEvent>
+data.remove();</ClientEvent>
<Property name="caption">鍒犻櫎</Property>
<Property name="exClassName">btn-warn</Property>
<Property name="iconClass">fa fa-minus</Property>
--
Gitblit v1.9.3