From 331ca3e38f479d0988ed18c45d7a8b72cdc15854 Mon Sep 17 00:00:00 2001 From: qiankunpingtai Date: Fri, 14 Jun 2019 15:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E6=8D=AE=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=B6=EF=BC=8C=E4=B8=8D=E8=83=BD=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=9C=80=E5=90=8E=E4=B8=80=E6=9D=A1=E9=9D=9E=E6=9C=AA=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/pages/materials/allocation_out_list.js | 4 +--- erp_web/js/pages/materials/assemble_list.js | 4 +--- erp_web/js/pages/materials/disassemble_list.js | 4 +--- erp_web/js/pages/materials/other_in_list.js | 4 +--- erp_web/js/pages/materials/other_out_list.js | 4 +--- erp_web/js/pages/materials/purchase_back_list.js | 4 +--- erp_web/js/pages/materials/purchase_in_list.js | 4 +--- erp_web/js/pages/materials/purchase_orders_list.js | 4 +--- erp_web/js/pages/materials/retail_back_list.js | 4 +--- erp_web/js/pages/materials/retail_out_list.js | 4 +--- erp_web/js/pages/materials/sale_back_list.js | 4 +--- erp_web/js/pages/materials/sale_orders_list.js | 4 +--- erp_web/js/pages/materials/sale_out_list.js | 4 +--- 13 files changed, 13 insertions(+), 39 deletions(-) diff --git a/erp_web/js/pages/materials/allocation_out_list.js b/erp_web/js/pages/materials/allocation_out_list.js index f85c8eb6..34905267 100644 --- a/erp_web/js/pages/materials/allocation_out_list.js +++ b/erp_web/js/pages/materials/allocation_out_list.js @@ -1071,9 +1071,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/assemble_list.js b/erp_web/js/pages/materials/assemble_list.js index 5dc7bd78..1e37bb85 100644 --- a/erp_web/js/pages/materials/assemble_list.js +++ b/erp_web/js/pages/materials/assemble_list.js @@ -1054,9 +1054,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/disassemble_list.js b/erp_web/js/pages/materials/disassemble_list.js index f1676356..cd6e9e03 100644 --- a/erp_web/js/pages/materials/disassemble_list.js +++ b/erp_web/js/pages/materials/disassemble_list.js @@ -1057,9 +1057,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/other_in_list.js b/erp_web/js/pages/materials/other_in_list.js index bee33a09..f8987f99 100644 --- a/erp_web/js/pages/materials/other_in_list.js +++ b/erp_web/js/pages/materials/other_in_list.js @@ -1073,9 +1073,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/other_out_list.js b/erp_web/js/pages/materials/other_out_list.js index 4ea33997..d1ca7f2a 100644 --- a/erp_web/js/pages/materials/other_out_list.js +++ b/erp_web/js/pages/materials/other_out_list.js @@ -1067,9 +1067,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/purchase_back_list.js b/erp_web/js/pages/materials/purchase_back_list.js index 1fa1f936..f47970ec 100644 --- a/erp_web/js/pages/materials/purchase_back_list.js +++ b/erp_web/js/pages/materials/purchase_back_list.js @@ -1083,9 +1083,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/purchase_in_list.js b/erp_web/js/pages/materials/purchase_in_list.js index f046cf4a..4e9a757a 100644 --- a/erp_web/js/pages/materials/purchase_in_list.js +++ b/erp_web/js/pages/materials/purchase_in_list.js @@ -1087,9 +1087,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/purchase_orders_list.js b/erp_web/js/pages/materials/purchase_orders_list.js index 0bc2f56d..edfdfc36 100644 --- a/erp_web/js/pages/materials/purchase_orders_list.js +++ b/erp_web/js/pages/materials/purchase_orders_list.js @@ -1089,9 +1089,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/retail_back_list.js b/erp_web/js/pages/materials/retail_back_list.js index 1890d826..f82a0bde 100644 --- a/erp_web/js/pages/materials/retail_back_list.js +++ b/erp_web/js/pages/materials/retail_back_list.js @@ -1110,9 +1110,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/retail_out_list.js b/erp_web/js/pages/materials/retail_out_list.js index 6a16bbf6..6413aa48 100644 --- a/erp_web/js/pages/materials/retail_out_list.js +++ b/erp_web/js/pages/materials/retail_out_list.js @@ -1101,9 +1101,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/sale_back_list.js b/erp_web/js/pages/materials/sale_back_list.js index 8c55e093..fe87a20c 100644 --- a/erp_web/js/pages/materials/sale_back_list.js +++ b/erp_web/js/pages/materials/sale_back_list.js @@ -1090,9 +1090,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/sale_orders_list.js b/erp_web/js/pages/materials/sale_orders_list.js index 9605ec90..5918b416 100644 --- a/erp_web/js/pages/materials/sale_orders_list.js +++ b/erp_web/js/pages/materials/sale_orders_list.js @@ -1090,9 +1090,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ","; diff --git a/erp_web/js/pages/materials/sale_out_list.js b/erp_web/js/pages/materials/sale_out_list.js index c8a9dd2c..8935b686 100644 --- a/erp_web/js/pages/materials/sale_out_list.js +++ b/erp_web/js/pages/materials/sale_out_list.js @@ -1087,9 +1087,7 @@ function batDeleteDepotHead(){ var ids = ""; for (var i = 0; i < row.length; i++) { if (i == row.length - 1) { - if (row[i].status == 0) { - ids += row[i].id; - } + ids += row[i].id; break; } ids += row[i].id + ",";