From d5d0e6011e60581c9e020a26cd6c5af107fbe204 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期五, 31 五月 2024 10:23:05 +0800
Subject: [PATCH] 全部PDA出入库扫码模块、模具出入库扫码模块,扫码上传前判断修改

---
 WebTM/views/模治具管理/模具报废入库单/Sc_MouldScrapInBill_PDA.html    |   15 +-
 WebTM/views/WMS扫码模块/出门确认单/Xs_OutDoorCheckBill_PDA.html    |    3 
 WebTM/views/WMS扫码模块/生产入库/Kf_ProductInBill_PDA.html        |   13 -
 WebTM/views/WMS扫码模块/生产汇报/Sc_ICMOReportBill_PDA.html       |   13 -
 WebTM/views/WMS扫码模块/生产调拨/Kf_MoveStockStepInBill_PDA.html  |   13 -
 WebTM/views/WMS扫码模块/其他入库/Kf_OtherInBill_PDA.html          |   13 -
 WebTM/views/WMS扫码模块/采购入库/Kf_POStockInBackBill_PDA.html    |   13 -
 WebTM/views/WMS扫码模块/其他出库/Kf_OtherOutBill_PDA.html         |   13 -
 WebTM/views/模治具管理/模具其他入库单/Sc_MouldOtherInBill_PDA.html    |   15 +-
 WebTM/views/模治具管理/模具报废出库单/Sc_MouldScrapOutBill_PDA.html   |   15 +-
 WebTM/views/模治具管理/模具采购入库单/Sc_MouldProdInBill_PDA.html     |   15 +-
 WebTM/views/WMS扫码模块/生产领料/Kf_MateOutBill_PDA.html          |   13 -
 WebTM/views/WMS扫码模块/生产调拨/Kf_MoveStockBill_PDA.html        |   13 -
 WebTM/views/WMS扫码模块/销售出库/Kf_SellOutBill_PDA.html          |   13 -
 WebTM/views/WMS扫码模块/采购入库/Kf_POStockInBill_PDA.html        |   13 -
 WebTM/views/模治具管理/模具生产退库单/Sc_MouldProdBackBill_PDA.html   |   15 +-
 WebTM/views/模治具管理/模具调拨/Sc_MouldProdMoveBill_PDA.html      |   15 +-
 WebTM/views/WMS扫码模块/生产补料/Kf_MateReplenishOutBill_PDA.html |   13 -
 WebTM/views/WMS扫码模块/委外入库/Kf_EntrustInBill_PDA.html        |   13 -
 WebTM/views/WMS扫码模块/销售出库/Kf_SellOutBill_QiaoYi_PDA.html   |   13 -
 WebTM/views/模治具管理/模具生产领用单/Sc_MouldProdOutBill_PDA.html    |   15 +-
 WebTM/views/WMS扫码模块/生产领料/Kf_MateOutBackBill_PDA.html      |   13 -
 WebTM/views/WMS扫码模块/委外领料/Kf_EntrustOutBill_PDA.html       |   13 -
 WebTM/views/模治具管理/模具其他出库单/Sc_MouldOtherOutBill_PDA.html   |   15 +-
 WebTM/layuiadmin/Scripts/webConfig.js                     |    6 
 WebTM/views/模治具管理/模具改制入库单/Sc_MouldRepairInBill_PDA.html   |   15 +-
 WebTM/views/模治具管理/模具改制出库单/Sc_MouldRepairOutBill_PDA.html  |   15 +-
 WebTM/views/WMS扫码模块/生产调拨/Kf_MoveStockStepOutBill_PDA.html |   13 -
 WebTM/WebTM.csproj                                        |    1 
 29 files changed, 171 insertions(+), 197 deletions(-)

diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 0e9d0ed..aeec19b 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -2488,7 +2488,6 @@
     <Folder Include="Files\" />
     <Folder Include="views\浠撳瓨绠$悊\璋冩嫧鍗曟牳瀵筡" />
     <Folder Include="views\浠撳瓨绠$悊\璋冩嫧鍗曠ń鏍竆" />
-    <Folder Include="views\妯℃不鍏风鐞哱妯″叿澶勭悊鍑哄簱鍗昞" />
   </ItemGroup>
   <PropertyGroup>
     <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
diff --git a/WebTM/layuiadmin/Scripts/webConfig.js b/WebTM/layuiadmin/Scripts/webConfig.js
index 706cb6f..394bde9 100644
--- a/WebTM/layuiadmin/Scripts/webConfig.js
+++ b/WebTM/layuiadmin/Scripts/webConfig.js
@@ -3,12 +3,12 @@
     //var WEBURL = "http://192.168.16.80:8011/";          //鍔炲叕瀹ゆ湇鍔″櫒
     //var WEBURL = "http://localhost:8081/SWEAPI/";       //ch鏈湴*/
     //var WEBURL = "http://61.164.86.218:8099/ABAPI/";
-    //var WEBURL = "http://localhost/API/";             //棰滄檽鍐涙湰鍦伴厤缃�
+    var WEBURL = "http://localhost/API/";             //棰滄檽鍐涙湰鍦伴厤缃�
     //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //鏉ㄤ箰鏈湴閰嶇疆
     //var WEBURL = "http://localhost:8082/API/";    //鏉滆春鏈湴閰嶇疆
-    var WEBURL = "http://localhost:81/API/";    //鐜嬪浆鏈湴閰嶇疆
+    //var WEBURL = "http://localhost:81/API/";    //鐜嬪浆鏈湴閰嶇疆
     /*var WEBURL = "http://localhost:8083/API/";  //闄堥洴闈欐湰鍦伴厤缃�*/
-    var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
+    //var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
     /*var WEBURL = "http://localhost:8082/API/";    //寮犵憺骞挎湰鍦伴厤缃�*/
     //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //浣欐�濇澃鏈湴閰嶇疆
     //var WEBURL = "http://localhost:8088/ARAPI/";    //浣欐�濇澃鏈湴閰嶇疆(瀹夌憺)
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_PDA.html"
index 46f92ba..5dc8199 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\205\245\345\272\223/Kf_OtherInBill_PDA.html"
@@ -1816,14 +1816,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1832,9 +1833,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_PDA.html"
index 54fa21f..193fa6c 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\205\266\344\273\226\345\207\272\345\272\223/Kf_OtherOutBill_PDA.html"
@@ -1949,14 +1949,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1965,9 +1966,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225/Xs_OutDoorCheckBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225/Xs_OutDoorCheckBill_PDA.html"
index a8c4b0a..f8eb581 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225/Xs_OutDoorCheckBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225/Xs_OutDoorCheckBill_PDA.html"
@@ -509,10 +509,11 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵弿鎵�瑕佸嚭搴撳崟鎹彿锛岃鍏堟壂鎻忛渶瑕佸嚭搴撶殑鍗曟嵁鍙凤紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_PDA.html"
index 7821bdb..e58302e 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\345\205\245\345\272\223/Kf_EntrustInBill_PDA.html"
@@ -1799,14 +1799,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1815,9 +1816,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\351\242\206\346\226\231/Kf_EntrustOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\351\242\206\346\226\231/Kf_EntrustOutBill_PDA.html"
index 04ffb97..8da6be6 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\351\242\206\346\226\231/Kf_EntrustOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\247\224\345\244\226\351\242\206\346\226\231/Kf_EntrustOutBill_PDA.html"
@@ -1911,14 +1911,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1927,9 +1928,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\345\205\245\345\272\223/Kf_ProductInBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\345\205\245\345\272\223/Kf_ProductInBill_PDA.html"
index e130325..f2249d4 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\345\205\245\345\272\223/Kf_ProductInBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\345\205\245\345\272\223/Kf_ProductInBill_PDA.html"
@@ -1751,14 +1751,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1767,9 +1768,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\346\261\207\346\212\245/Sc_ICMOReportBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\346\261\207\346\212\245/Sc_ICMOReportBill_PDA.html"
index 153720e..d1cf712 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\346\261\207\346\212\245/Sc_ICMOReportBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\346\261\207\346\212\245/Sc_ICMOReportBill_PDA.html"
@@ -1479,14 +1479,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1495,9 +1496,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\241\245\346\226\231/Kf_MateReplenishOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\241\245\346\226\231/Kf_MateReplenishOutBill_PDA.html"
index 5f77dc9..5c94e72 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\241\245\346\226\231/Kf_MateReplenishOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\241\245\346\226\231/Kf_MateReplenishOutBill_PDA.html"
@@ -1786,14 +1786,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1802,9 +1803,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockBill_PDA.html"
index ba90854..173881d 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockBill_PDA.html"
@@ -2573,14 +2573,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -2589,9 +2590,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepInBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepInBill_PDA.html"
index 5316736..35aa77c 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepInBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepInBill_PDA.html"
@@ -1918,14 +1918,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1934,9 +1935,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepOutBill_PDA.html"
index 22321a0..f234cc0 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\350\260\203\346\213\250/Kf_MoveStockStepOutBill_PDA.html"
@@ -2161,14 +2161,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -2177,9 +2178,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBackBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBackBill_PDA.html"
index 3547099..5de3aaa 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBackBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBackBill_PDA.html"
@@ -1626,14 +1626,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1642,9 +1643,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html"
index 0a6dfca..592842c 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html"
@@ -1835,14 +1835,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1851,9 +1852,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBill_PDA.html"
index 0e135fb..acb2b45 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBackBill_PDA.html"
@@ -1759,14 +1759,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1775,9 +1776,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_PDA.html"
index bb5c5de..a0f8b12 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\207\207\350\264\255\345\205\245\345\272\223/Kf_POStockInBill_PDA.html"
@@ -1799,14 +1799,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 >0) {
                         s = 1;
                     }
                 }
@@ -1815,9 +1816,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_PDA.html"
index 7ac07ce..2cdcf9f 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_PDA.html"
@@ -1931,14 +1931,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1947,9 +1948,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_QiaoYi_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_QiaoYi_PDA.html"
index 2700fbe..51434de 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_QiaoYi_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_QiaoYi_PDA.html"
@@ -1594,14 +1594,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
             //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].绫虫暟 > 0) {
                         s = 1;
                     }
                 }
@@ -1610,9 +1611,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\205\245\345\272\223\345\215\225/Sc_MouldOtherInBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\205\245\345\272\223\345\215\225/Sc_MouldOtherInBill_PDA.html"
index a0175d1..16fb0e9 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\205\245\345\272\223\345\215\225/Sc_MouldOtherInBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\205\245\345\272\223\345\215\225/Sc_MouldOtherInBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\207\272\345\272\223\345\215\225/Sc_MouldOtherOutBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\207\272\345\272\223\345\215\225/Sc_MouldOtherOutBill_PDA.html"
index c75a4e4..f1d79b5 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\207\272\345\272\223\345\215\225/Sc_MouldOtherOutBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\345\205\266\344\273\226\345\207\272\345\272\223\345\215\225/Sc_MouldOtherOutBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\205\245\345\272\223\345\215\225/Sc_MouldScrapInBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\205\245\345\272\223\345\215\225/Sc_MouldScrapInBill_PDA.html"
index 55b8058..c142b0a 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\205\245\345\272\223\345\215\225/Sc_MouldScrapInBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\205\245\345\272\223\345\215\225/Sc_MouldScrapInBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\207\272\345\272\223\345\215\225/Sc_MouldScrapOutBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\207\272\345\272\223\345\215\225/Sc_MouldScrapOutBill_PDA.html"
index 5b4fd47..0c6fcec 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\207\272\345\272\223\345\215\225/Sc_MouldScrapOutBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\212\245\345\272\237\345\207\272\345\272\223\345\215\225/Sc_MouldScrapOutBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\205\245\345\272\223\345\215\225/Sc_MouldRepairInBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\205\245\345\272\223\345\215\225/Sc_MouldRepairInBill_PDA.html"
index 3fd8ee4..00f3b40 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\205\245\345\272\223\345\215\225/Sc_MouldRepairInBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\205\245\345\272\223\345\215\225/Sc_MouldRepairInBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\207\272\345\272\223\345\215\225/Sc_MouldRepairOutBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\207\272\345\272\223\345\215\225/Sc_MouldRepairOutBill_PDA.html"
index 94e355d..05964ac 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\207\272\345\272\223\345\215\225/Sc_MouldRepairOutBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\346\224\271\345\210\266\345\207\272\345\272\223\345\215\225/Sc_MouldRepairOutBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\200\200\345\272\223\345\215\225/Sc_MouldProdBackBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\200\200\345\272\223\345\215\225/Sc_MouldProdBackBill_PDA.html"
index 83692a7..b7fc537 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\200\200\345\272\223\345\215\225/Sc_MouldProdBackBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\200\200\345\272\223\345\215\225/Sc_MouldProdBackBill_PDA.html"
@@ -1504,14 +1504,15 @@
                 layer.msg("楠屾敹鍛樻病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1520,9 +1521,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\242\206\347\224\250\345\215\225/Sc_MouldProdOutBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\242\206\347\224\250\345\215\225/Sc_MouldProdOutBill_PDA.html"
index a8f83c3..f2e1916 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\242\206\347\224\250\345\215\225/Sc_MouldProdOutBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\347\224\237\344\272\247\351\242\206\347\224\250\345\215\225/Sc_MouldProdOutBill_PDA.html"
@@ -1504,14 +1504,15 @@
                 layer.msg("棰嗘枡鍛樻病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1520,9 +1521,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\350\260\203\346\213\250/Sc_MouldProdMoveBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\350\260\203\346\213\250/Sc_MouldProdMoveBill_PDA.html"
index 1390bc0..7c9b9a1 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\350\260\203\346\213\250/Sc_MouldProdMoveBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\350\260\203\346\213\250/Sc_MouldProdMoveBill_PDA.html"
@@ -1651,14 +1651,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1667,9 +1668,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\351\207\207\350\264\255\345\205\245\345\272\223\345\215\225/Sc_MouldProdInBill_PDA.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\351\207\207\350\264\255\345\205\245\345\272\223\345\215\225/Sc_MouldProdInBill_PDA.html"
index 1c0fb22..ae2e116 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\351\207\207\350\264\255\345\205\245\345\272\223\345\215\225/Sc_MouldProdInBill_PDA.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\345\205\267\351\207\207\350\264\255\345\205\245\345\272\223\345\215\225/Sc_MouldProdInBill_PDA.html"
@@ -1387,14 +1387,15 @@
                 layer.msg("鍗曟嵁鍙疯幏鍙栧け璐ワ紝閿欒鐨勫崟鎹彿锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            if (typeof (sSubStr) == "undefined") {
+            if (sSubStr.length == 0) {
                 layer.msg("娌℃湁鎵爜淇℃伅锛岃鍏堟壂鎻忔潯鐮侊紝纭鏃犺鍚庡啀鎻愪氦锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                 return false;
             }
-            //鍒ゆ柇鏄惁宸叉壂鎻忓櫒鍏锋潯鐮�
-            if (!typeof (sSubStr) == "undefined") {
-                for (var i = 0; i <= sSubStr.length - 1; i++) { 
-                    if (parseFloat(sSubStr[i].HQty) > 0) {
+            //鍒ゆ柇鏄惁宸叉壂鎻忕墿鏂欐潯鐮�
+            else {
+                var s = 0;
+                for (var i = 0; i <= sSubStr.length - 1; i++) {
+                    if (sSubStr[i].鏁伴噺 > 0) {
                         s = 1;
                     }
                 }
@@ -1403,9 +1404,7 @@
                     return false;
                 }
             }
-            else {
-                return true;
-            }
+            return true;
         }
     </script>
 

--
Gitblit v1.9.1