From 2a3c0e4877a08368bbb43ff72b401c5c8ea334f7 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期六, 09 九月 2023 16:09:05 +0800
Subject: [PATCH] #库位、库存冻结

---
 src/main/webapp/static/js/order/order.js |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js
index 0bd403c..afa749e 100644
--- a/src/main/webapp/static/js/order/order.js
+++ b/src/main/webapp/static/js/order/order.js
@@ -192,8 +192,7 @@
                             {type: 'numbers'},
                             {field: 'matnr', title: '鍟嗗搧缂栫爜', width: 160},
                             {field: 'maktx', title: '鍟嗗搧鍚嶇О', width: 160},
-                            {field: 'owner$', title: '璐т富', width: 160},
-                            {field: 'payment$', title: '璐х墿鐗瑰緛', width: 160},
+
                             // {field: 'batch', title: '鎵瑰彿'},
                             {field: 'anfme', title: '鏁伴噺'},
                             {field: 'workQty', title: '浣滀笟鏁伴噺'},
@@ -271,12 +270,7 @@
                             return false;
                         }
                     }
-                    for (let xi = 0; xi < nList.length; xi++) {
-                        if (nList[xi].owner <= 0){
-                            layer.msg('璐т富缂栧彿璇锋煡鐪嬭揣涓绘。妗�', {icon: 2});
-                            return false;
-                        }
-                    }
+
                     layer.load(2);
                     $.ajax({
                         url: baseUrl+"/order/form/" + (isExpAdd?"add":"modify") + "/auth",
@@ -320,8 +314,7 @@
                         {field: 'specs', title: '瑙勬牸'},
                         {field: 'weight', title: '閲嶉噺', edit: true},
                         {field: 'anfme', title: '鏁伴噺(淇敼)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110},
-                        {field: 'owner', title: '璐т富缂栧彿', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110},
-                        {field: 'payment', title: '璐х墿鐘舵��', style: 'color: blue;font-weight: bold', templet: '#payment'},
+
                         // {field: 'payment', title: '璐х墿鐘舵��',align: 'center', templet: '#payment'},
                         {field: 'qty', title: '浣滀笟鏁伴噺',  minWidth: 100, width: 100},
                         // {field: 'unit', title: '鍗曚綅', width: 80},
@@ -595,8 +588,7 @@
         layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
             layer.closeAll();
             layer.load(1, {shade: [0.1,'#fff']});
-            // location.href = "http://192.168.4.121:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo;
-            location.href = "http://10.114.97.100:8080/stwms/order/printExport/auth?orderNo="+data.orderNo;
+            location.href = baseUrl+"/order/printExport/auth?orderNo="+data.orderNo;
             layer.closeAll('loading');
         });
     }

--
Gitblit v1.9.1