From b38c91e5cce54e1114ec5968c722c1a1c57bd21a Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期五, 21 六月 2024 13:27:00 +0800 Subject: [PATCH] 完成派送订单佣金写入余额逻辑 --- CoreCms.Net.Web.Admin/wwwroot/views/order/orders/index.html | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/index.html index f676c6b..1a8c3e3 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/index.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/orders/index.html @@ -922,6 +922,17 @@ area: ['1000px', '90%'], id: 'LAY-popup-CoreCmsOrder-distribution', success: function (layero, index) { + + if(e.data.order.delivery?.length>0) + { + e.data.order.delivery.forEach(element => { + if( element.logiCode=="Distributor") + { + e.data.order.logisticsName+=`[${element.logiName} == ${element.sendDistributionAccept}] ` + } + }); + } + view(this.id).render('order/orders/distribution', { data: e.data }).done(function () { form.on('submit(LAY-app-order-distributionPrint-submit)', function (data) { LODOP = getLodop(); @@ -955,6 +966,17 @@ id: 'LAY-popup-CoreCmsOrder-union', success: function (layero, index) { view(this.id).render('order/orders/union', { data: e.data }).done(function () { + + if(e.data.order.delivery?.length>0) + { + e.data.order.delivery.forEach(element => { + if( element.logiCode=="Distributor") + { + e.data.order.logisticsName+=`[${element.logiName} == ${element.sendDistributionAccept}]` + } + }); + } + form.on('submit(LAY-app-order-unionPrint-submit)', function (data) { LODOP = getLodop(); LODOP.ADD_PRINT_HTM(20, "5%", "90%", "100%", document.getElementById("printDiv").innerHTML); @@ -1089,6 +1111,7 @@ //鐩戝惉鎻愪氦 form.on('submit(LAY-app-CoreCmsOrder-shipForm-submit)', function (data) { + var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈� var keys = Object.keys(field); -- Gitblit v1.9.1