From 8f9e3814fd49efd763f06305ffbfff6d87012627 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 17 Mar 2021 11:44:17 +0800 Subject: [PATCH] modify daliy-list-new --- 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