From 167c3df9b3a80e9a80db53a16b613a624c842686 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期二, 16 五月 2023 09:12:22 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/order/out.js |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/order/out.js b/src/main/webapp/static/js/order/out.js
index f1bba0a..fd062a8 100644
--- a/src/main/webapp/static/js/order/out.js
+++ b/src/main/webapp/static/js/order/out.js
@@ -162,6 +162,7 @@
                                     {field: 'orderNo', title: '鍗曟嵁缂栧彿', merge: true, align: 'center'},
                                     {field: 'title', title: '鍟嗗搧', merge: true, align: 'center', width: 350},
                                     {field: 'batch', title: '搴忓垪鐮�', align: 'center'},
+                                    {field: 'manu', title: '浠撳簱', align: 'center'},
                                     // { title: '鍓╀綑闇�姹傞噺', align: 'center' , width: 120, toolbar: '#checkNeedQty'},
                                     // {field: 'anfme', title: '瀹為檯鏁伴噺', align: 'center', width: 90, style: 'font-weight: bold'},
                                     { title: '鍑哄簱鏁伴噺', align: 'center',field: 'anfme', width: 90, style: 'font-weight: bold; color: red'},
@@ -265,6 +266,7 @@
                         ,yes: function(index, layero){
                             //鎸夐挳銆愮珛鍗冲嚭搴撱�戠殑鍥炶皟
                             pakout(tableCache, index);
+                            pakout2(tableCache, index);
                         }
                         ,btn2: function(index, layero){
                             //鎸夐挳銆愮◢鍚庡鐞嗐�戠殑鍥炶皟
@@ -306,6 +308,31 @@
         });
     }
 
+    function pakout2(tableCache, layerIndex) {
+        // let loadIndex = layer.load(2);
+        notice.msg('姝e湪鐢熸垚鎷h揣鍗�......', {icon: 4});
+        $.ajax({
+            url: baseUrl + "/out/pakout2/auth",
+            headers: {'token': localStorage.getItem('token')},
+            contentType: 'application/json;charset=UTF-8',
+            data: JSON.stringify(tableCache),
+            method: 'POST',
+            success: function (res) {
+                notice.destroy();
+                if (res.code === 200) {
+                    layer.close(layerIndex);
+                    layer.msg(res.msg, {icon: 1});
+                    insTb.reload({where: null});
+                    insTb2.reload({where: null, page: {curr: 1}});
+                } else if (res.code === 403) {
+                    top.location.href = baseUrl + "/";
+                } else {
+                    layer.msg(res.msg, {icon: 2})
+                }
+            }
+        });
+    }
+
 
 
     /* 鍒犻櫎璁㈠崟 */

--
Gitblit v1.9.1