From 3f91a6737fc06b45461ce11eae5660cbbf766f7e Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 29 十月 2024 16:20:02 +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