From 1b51c3e64ba8117900d594fcd5b677336e4759bc Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 25 Mar 2021 14:17:38 +0800 Subject: [PATCH] Merge branch 'data_move' of http://120.27.238.55:7000/r/beauty-erp into data_move --- 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