From 301d10c88b03bc7993c64c3467b1bcb0b48104ea Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Wed, 17 Mar 2021 11:54:28 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/score_shop' into score_shop

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html
index be177b0..1982dfd 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html
@@ -549,7 +549,16 @@
         created : function() {
             let _this = this;
             this.orderParam = /*[[${orderParam}]]*/
-                this.queryOrderDetailData(this.orderParam);
+            var orderId = /*[[${orderId}]]*/
+            var orderNo = /*[[${orderNo}]]*/
+
+            var param = {};
+            if(orderId) {
+                param.id = orderId;
+            } else {
+                param.orderNo = orderNo;
+            }
+            this.queryOrderDetailData(param);
             // 业绩类型
             AjaxProxy.requst({
                 app: _this,
@@ -575,7 +584,7 @@
                 let _this = this;
                 AjaxProxy.requst({
                     app: _this,
-                    data: {id: param, orderNo:param},
+                    data: param,
                     contentType: 'application/x-www-form-urlencoded',
                     url: basePath + '/admin/order/findOrderDetailByIdOrNo',
                     callback: function (data) {

--
Gitblit v1.9.1