From b667644b1a9f93583b4bb2d508c570c65aa3497b Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期六, 27 五月 2023 19:01:47 +0800
Subject: [PATCH] 调整模块货位和库存

---
 igds-core/src/main/java/com/ld/igds/view/Depot.view.xml |   69 ++++++++++++----------------------
 1 files changed, 24 insertions(+), 45 deletions(-)

diff --git a/igds-core/src/main/java/com/ld/igds/view/Depot.view.xml b/igds-core/src/main/java/com/ld/igds/view/Depot.view.xml
index ccbfb50..361906c 100644
--- a/igds-core/src/main/java/com/ld/igds/view/Depot.view.xml
+++ b/igds-core/src/main/java/com/ld/igds/view/Depot.view.xml
@@ -129,30 +129,7 @@
         <Property name="dataType">String</Property>
       </PropertyDef>
     </DataType>
-    <DataType name="dtDepot" parent="global:dtDepot">
-      <ClientEvent name="onDataChange">var prop = arg.property;&#xD;
-var entity = arg.entity;&#xD;
-&#xD;
-/**&#xD;
- * &quot;01&quot;, //绌轰粨&#xD;
-   &quot;02&quot;,//婊′粨&#xD;
-    &quot;03&quot;,//鍏ュ簱&#xD;
- &quot;04&quot;,//鍑哄簱&#xD;
- */&#xD;
-if(&quot;depotStatus&quot; == prop){//琛ㄧず鐘舵�佷慨鏀�&#xD;
-    entity.set(&quot;editTag&quot;,entity.get(&quot;editTag&quot;)+&quot;-depotStatus&quot;);&#xD;
-	&#xD;
-	if(arg.newValue == &quot;01&quot; || arg.newValue == &quot;02&quot; || arg.newValue == &quot;03&quot; || arg.newValue == &quot;04&quot;){&#xD;
-		$alert(&quot;浠撳簱鐘舵��=婊′粨銆佺┖浠撱�佸嚭搴撲腑銆佸叆搴撲腑鏃堕渶瑕侀�氳繃 搴撳瓨绠$悊 鍔熻兘杩涜淇敼锛侊紒&quot;);&#xD;
-		view.get(&quot;#btnOK&quot;).set(&quot;disabled&quot;,true);&#xD;
-	}else{&#xD;
-		view.get(&quot;#btnOK&quot;).set(&quot;disabled&quot;,false);&#xD;
-	}&#xD;
-}</ClientEvent>
-      <PropertyDef name="editTag">
-        <Property name="label">淇敼鏍囪</Property>
-      </PropertyDef>
-    </DataType>
+    <DataType name="dtDepot" parent="global:dtDepot"/>
   </Model>
   <View layout="padding:5;regionPadding:5">
     <ClientEvent name="onReady">var deptId = window.parent.DEPT_ID;//椤甸潰閫夋嫨鐨勫垎搴撶紪鐮�&#xD;
@@ -269,17 +246,13 @@
         <Property name="property">foodYear</Property>
         <Property name="align">center</Property>
       </DataColumn>
-      <DataColumn name="foodLocation">
-        <Property name="property">foodLocation</Property>
-        <Property name="align">center</Property>
-      </DataColumn>
       <DataColumn name="depotType">
         <Property name="property">depotType</Property>
         <Property name="align">center</Property>
       </DataColumn>
     </DataGrid>
     <Dialog id="depotdialog">
-      <Property name="caption">浠撳簱鍩烘湰淇℃伅</Property>
+      <Property name="caption">璐т綅淇℃伅</Property>
       <Property name="width">1200</Property>
       <Property name="closeable">false</Property>
       <Buttons>
@@ -308,7 +281,7 @@
       </Buttons>
       <Children>
         <FieldSet layout="padding:15">
-          <Property name="caption">浠撳簱鍩烘湰淇℃伅</Property>
+          <Property name="caption">鍩烘湰淇℃伅</Property>
           <Buttons/>
           <Children>
             <AutoForm>
@@ -343,9 +316,8 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
-                <Property name="name">storageReal</Property>
-                <Property name="property">storageReal</Property>
-                <Property name="readOnly">true</Property>
+                <Property name="name">storeType</Property>
+                <Property name="property">storeType</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
@@ -359,14 +331,14 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
-                <Property name="name">depotStatus</Property>
-                <Property name="property">depotStatus</Property>
-                <Property name="trigger">autoMappingDropDown2</Property>
+                <Property name="name">granaryId</Property>
+                <Property name="property">granaryId</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
-                <Property name="name">storeType</Property>
-                <Property name="property">storeType</Property>
+                <Property name="name">depotStatus</Property>
+                <Property name="property">depotStatus</Property>
+                <Property name="trigger">autoMappingDropDown2</Property>
                 <Editor/>
               </AutoFormElement>
               <Label layoutConstraint="colSpan:3">
@@ -383,7 +355,7 @@
           <Property name="height">10</Property>
         </Control>
         <FieldSet layout="padding:15">
-          <Property name="caption">绮补鍩烘湰淇℃伅</Property>
+          <Property name="caption">鍌ㄧ伯淇℃伅</Property>
           <Buttons/>
           <Children>
             <AutoForm>
@@ -393,6 +365,12 @@
               <Property name="labelAlign">right</Property>
               <Property name="cols">*,*,*</Property>
               <Property name="labelWidth">110</Property>
+              <AutoFormElement>
+                <Property name="name">storageReal</Property>
+                <Property name="property">storageReal</Property>
+                <Property name="readOnly">true</Property>
+                <Editor/>
+              </AutoFormElement>
               <AutoFormElement>
                 <Property name="name">foodType</Property>
                 <Property name="property">foodType</Property>
@@ -453,17 +431,18 @@
                 <Property name="trigger">ddFoodOrigin</Property>
                 <Editor/>
               </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">orientation</Property>
-                <Property name="property">orientation</Property>
-                <Property name="trigger">listOri</Property>
-                <Editor/>
-              </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:3">
                 <Property name="name">remark</Property>
                 <Property name="property">remark</Property>
                 <Editor/>
               </AutoFormElement>
+              <Label layoutConstraint="colSpan:3">
+                <Property name="text">璇存槑锛氬偍澶囩伯璐ㄦ淇℃伅浼氭牴鎹川閲忕鐞� 鑷姩鍚屾鏇存柊</Property>
+                <Property name="style">
+                  <Property name="color">blue</Property>
+                  <Property name="padding-left">50px</Property>
+                </Property>
+              </Label>
             </AutoForm>
           </Children>
         </FieldSet>

--
Gitblit v1.9.3