From 78f07b997b726ade5153f3468f0555c38fbd2bc8 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期二, 27 十二月 2022 09:42:53 +0800
Subject: [PATCH] 把所有扫码模块刷新表体信息时  批次号字段隐藏

---
 WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
index 3e7c6bf..9f86600 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
@@ -79,9 +79,9 @@
                                         </div>
                                         <div class="layui-col-xs8">
                                             <select name="HBillType" id="HBillType">
+                                                <option value="3714">宸ュ簭姹囨姤鍗�</option>
                                                 <option value="3711">鐢熶骇姹囨姤鍗�</option>
                                                 <option value="3710">鐢熶骇璁㈠崟</option>
-                                                <option value="3714">宸ュ簭姹囨姤鍗�</option>
                                             </select>
                                         </div>
                                     </div>
@@ -363,7 +363,7 @@
                     , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
                     , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
                     , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
-                    , { field: 'HBatchNo', title: '鎵规', width: 150 }
+                    //, { field: 'HBatchNo', title: '鎵规', width: 150 }
                     , { field: 'HInterID', title: '鍗曟嵁ID', width: 150, hide: true }
                     , { field: 'HBilltype', title: '鍗曟嵁绫诲瀷', width: 150, hide: true }
                     , { field: 'Hbarcode', title: '鏉$爜缂栧彿', width: 150, hide: true }
@@ -455,7 +455,7 @@
                         , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
                         , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
                         , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
-                        , { field: 'HBatchNo', title: '鎵规', width: 150 }
+                        //, { field: 'HBatchNo', title: '鎵规', width: 150 }
                     ]]
                     // , data: [linterid]
                     // , page: true
@@ -511,6 +511,8 @@
                 //鑾峰彇鏈�澶у崟鎹彿 new
                 $("#HInterID").val("");
                 $("#HBillNo").val("");
+                $("#HBillType").val("3714");
+                form.render('select');
                 $.ajax({
                     url: GetWEBURL() + "/Web/GetMAXNumPDA",
                     type: "GET",
@@ -738,7 +740,7 @@
                                 , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
                                 , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
                                 , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
-                                , { field: 'HBatchNo', title: '鎵规', width: 150 }
+                                //, { field: 'HBatchNo', title: '鎵规', width: 150 }
                                 , { field: 'HBarcodeQtys', title: '鏉$爜鏁伴噺', width: 150 }
                             ]]
                             // , data: [linterid]
@@ -923,7 +925,7 @@
                 var sMainStr = JSON.stringify(data.field);
                 var sSubStr = table.cache['wl-table'];
                 //var sSourceType = $("#HBillType").val();
-                var sSourceType = "3711";
+                var sSourceType = "3714";
                 if (AllowLoadData(sSubStr) != false)//闈炵┖楠岃瘉
                 {
                     layer.load(3);
@@ -1129,7 +1131,7 @@
                                             , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
                                             , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
                                             , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
-                                            , { field: 'HBatchNo', title: '鎵规', width: 150 }
+                                            //, { field: 'HBatchNo', title: '鎵规', width: 150 }
                                             , { field: 'HBarcodeQtys', title: '鏉$爜鏁伴噺', width: 150 }
                                         ]]
                                         // , data: [linterid]
@@ -1245,7 +1247,7 @@
                                             $("#HDeptName").val(result.data.hDeptNameField);
                                         }
                                         $("#HSourceBillNo").val(result.data.hSourceBillNoField);
-                                        $("#HBillType").val(result.data.hSourceBillTypeField)
+                                        $("#HBillType").val(result.data.hSourceBillTypeField == null ? "3714" : result.data.hSourceBillTypeField);
                                         HSourceFlag = true;
                                         //鑾峰彇婧愬崟绫诲瀷銆佹簮鍗曞崟鍙�
                                         if (result.data.hSourceBillTypeField == "3711") {
@@ -1378,7 +1380,7 @@
                     , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
                     , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
                     , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }
-                    , { field: 'HBatchNo', title: '鎵规', width: 150 }
+                    //, { field: 'HBatchNo', title: '鎵规', width: 150 }
                     , { field: 'HPieceQty', title: '鏉$爜鏁伴噺', width: 150 }
                 ]]
                 , height: 500
@@ -1398,7 +1400,7 @@
                     , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }
                     , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 }
                     , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 }
-                    , { field: 'HBatchNo', title: '鎵瑰彿', width: 150 }
+                    //, { field: 'HBatchNo', title: '鎵瑰彿', width: 150 }
                     //, { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 }
                     //, { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 }
                     , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 }

--
Gitblit v1.9.1