From 0a09a1a253e2ed13b24c71c4aab19f9b731b71b8 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期一, 17 七月 2023 18:44:48 +0800
Subject: [PATCH] 廒间添加属性

---
 igds-core/src/main/java/com/ld/igds/view/Building.view.xml |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/igds-core/src/main/java/com/ld/igds/view/Building.view.xml b/igds-core/src/main/java/com/ld/igds/view/Building.view.xml
index e2beb73..51a8b03 100644
--- a/igds-core/src/main/java/com/ld/igds/view/Building.view.xml
+++ b/igds-core/src/main/java/com/ld/igds/view/Building.view.xml
@@ -21,7 +21,8 @@
       </Label>
       <Button layoutConstraint="left">
         <ClientEvent name="onClick">view.get(&quot;#dsMain&quot;).insert();&#xD;
-view.get(&quot;#dialogMain&quot;).show();</ClientEvent>
+view.get(&quot;#dialogMain&quot;).show();&#xD;
+view.get(&quot;#oneId&quot;).set(&quot;readOnly&quot;,false);</ClientEvent>
         <Property name="caption">鏂板</Property>
         <Property name="exClassName">btn-normal</Property>
         <Property name="iconClass">fa fa-plus</Property>
@@ -58,9 +59,9 @@
     <Container layoutConstraint="center">
       <Property name="exClassName">bg-color</Property>
       <DataGrid id="dgMain">
-        <ClientEvent name="onDataRowDoubleClick" signature="self,arg,depotdialog,oneId">depotdialog.show();&#xD;
-oneId.set(&quot;readOnly&quot;,true);&#xD;
-view.get(&quot;#storageReal&quot;).set(&quot;readOnly&quot;,true);</ClientEvent>
+        <ClientEvent name="onDataRowDoubleClick" signature="self,arg,depotdialog,oneId">var dialog= view.get(&quot;#dialogMain&quot;);&#xD;
+dialog.show();&#xD;
+oneId.set(&quot;readOnly&quot;,true);</ClientEvent>
         <Property name="dataSet">dsMain</Property>
         <Property name="readOnly">true</Property>
         <RowNumColumn/>
@@ -145,10 +146,15 @@
           <Property name="labelAlign">right</Property>
           <Property name="labelSeparator">锛�</Property>
           <Property name="labelWidth">120</Property>
-          <AutoFormElement>
+          <AutoFormElement id="oneId">
             <Property name="name">id</Property>
             <Property name="property">id</Property>
             <Property name="readOnly">false</Property>
+            <Editor/>
+          </AutoFormElement>
+          <AutoFormElement>
+            <Property name="name">gbm</Property>
+            <Property name="property">gbm</Property>
             <Editor/>
           </AutoFormElement>
           <AutoFormElement>
@@ -190,9 +196,9 @@
             <Editor/>
           </AutoFormElement>
           <AutoFormElement>
-              <Property name="name">storage</Property>
-              <Property name="property">storage</Property>
-              <Editor/>
+            <Property name="name">storage</Property>
+            <Property name="property">storage</Property>
+            <Editor/>
           </AutoFormElement>
           <AutoFormElement>
             <Property name="name">height</Property>

--
Gitblit v1.9.3