From 2e121f643a6776e6063796c104c95647faa000a8 Mon Sep 17 00:00:00 2001
From: CZT <czt18638530771@163.com>
Date: 星期三, 16 八月 2023 11:52:32 +0800
Subject: [PATCH] 优化定时更新库存信息

---
 igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml b/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
index d005b9c..9c815cb 100644
--- a/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
+++ b/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
@@ -269,7 +269,8 @@
             <Property name="iconClass">fa fa-search</Property>
           </Button>
           <Button layoutConstraint="left">
-            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).flushAsync();</ClientEvent>
+            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).flushAsync();&#xD;
+view.get(&quot;#dsParam&quot;).insert({});</ClientEvent>
             <Property name="caption">閲嶇疆</Property>
             <Property name="iconClass">fa fa-refresh</Property>
             <Property name="exClassName">btn-default</Property>
@@ -527,7 +528,8 @@
                 <Property name="iconClass">fa fa-search</Property>
               </Button>
               <Button layoutConstraint="left">
-                <ClientEvent name="onClick">view.get(&quot;#dsParamCheck&quot;).flushAsync();</ClientEvent>
+                <ClientEvent name="onClick">view.get(&quot;#dsParamCheck&quot;).flushAsync();&#xD;
+view.get(&quot;#dsParamCheck&quot;).insert({});</ClientEvent>
                 <Property name="caption">閲嶇疆</Property>
                 <Property name="iconClass">fa fa-refresh</Property>
                 <Property name="exClassName">btn-default</Property>

--
Gitblit v1.9.3