From 9c791d431038fe79a111805762ee2f42c96b51c5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 08 Nov 2021 17:03:15 +0800
Subject: [PATCH] fix

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

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/service-hk.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/service-hk.html
index e4f5269..bac4c1a 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/service-hk.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/service-hk.html
@@ -160,7 +160,7 @@
             title: "打印服务单",
             area: ['250px', '550px'],
             maxmin: true,
-            content: [basePath + '/admin/redirect/hive/beautySalon/print-service?id=' + id]
+            content: [basePath + '/admin/projService/printOrder?id=' + id]
         });
     }
 
@@ -176,7 +176,13 @@
                 c : false
             }).invoke(basePath+"/admin/projService/hkService?id="+id, function(loj) {
                 layer.msg(loj.getValue("info"),{icon:1,time:2000},function(){
-                    parent.myGrid.serchData();
+                    if (parent.myGrid) {
+                        parent.myGrid.serchData();
+                    }
+
+                    if (parent.app) {
+                        parent.app.serviceOrderQuery();
+                    }
                     MTools.closeForm()
                 });
             });

--
Gitblit v1.9.1