From 473c4e9cf23f9e43ae2f93c4da79b2204e34c3f8 Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Tue, 09 Mar 2021 11:50:48 +0800
Subject: [PATCH] 解决微信回调报错问题

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/updateOrderTime.html |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/updateOrderTime.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/updateOrderTime.html
index e1c132d..976e611 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/updateOrderTime.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/updateOrderTime.html
@@ -55,11 +55,11 @@
 	
 	<div class="form-group">
 		 
-			<label class="col-sm-2 control-label">订单时间</label>
+			<label class="col-sm-2 control-label">收款时间</label>
 			<div class="col-sm-4">
-				<input autocomplete="off"   name="orderTime" type="text"
+				<input autocomplete="off"   name="payTime" type="text"
 					class="form-control  datetimepicker"
-					   th:value="${#dates.format(order.orderTime, 'yyyy-MM-dd hh:mm')}" />
+					   th:value="${#dates.format(order.payTime, 'yyyy-MM-dd hh:mm')}" />
 			</div>
 	</div>
 <br>
@@ -83,7 +83,13 @@
 	var myForm = MForm.initForm({
 		invokeUrl : basePath+"/admin/order/updateOrderTime",
 		afterSubmit : function(loj) {
-			_p.myGrid.serchData();
+			if(_p.myGrid) {
+				_p.myGrid.serchData();
+			}
+
+			if (_p.app) {
+				_p.app.orderQuery();
+			}
 
 		},
 	});

--
Gitblit v1.9.1