From a88cf964159303c208d8a3a9d0b8dadef7b1388a Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 12 Jan 2021 10:34:45 +0800
Subject: [PATCH] Merge branch 'api' into order_reform

---
 zq-erp/src/main/resources/templates/views/admin/hive/vip/moneyCardUse-form.html |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/vip/moneyCardUse-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/vip/moneyCardUse-form.html
index 08ab9f2..56eeb3b 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/vip/moneyCardUse-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/vip/moneyCardUse-form.html
@@ -114,8 +114,14 @@
     var myForm = MForm.initForm({
         invokeUrl: basePath + "/admin/moneyCardUse/modify",
         afterSubmit: function () {
-            parent.myGrid.serchData();
-            parent.myGrid2.serchData();
+            if(parent.myGrid) {
+                parent.myGrid.serchData();
+                parent.myGrid2.serchData();
+            }
+
+            if (parent.app) {
+                parent.app.refreshTable();
+            }
         },
     });
 

--
Gitblit v1.9.1