From 503c357fe236c71b2982fdce16ff8882c5d65615 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 22 九月 2022 10:32:34 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI

---
 WebTM/views/工资管理/外购墙布工资/Pay_PurchaseWallclothBillEdit.html |   37 ++++++++++++++++++++++++++++++++-----
 WebTM/views/领料发货/收料入库/Kf_ReciveBill_Fast.html              |    2 ++
 WebTM/views/车间管理/委外工序发出单/Cj_StationEntrustInBillList.html  |    4 ++--
 WebTM/views/车间管理/委外工序接收单/Cj_StationEntrustOutBillList.html |    4 ++--
 4 files changed, 38 insertions(+), 9 deletions(-)

diff --git "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\244\226\350\264\255\345\242\231\345\270\203\345\267\245\350\265\204/Pay_PurchaseWallclothBillEdit.html" "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\244\226\350\264\255\345\242\231\345\270\203\345\267\245\350\265\204/Pay_PurchaseWallclothBillEdit.html"
index 0373729..e00f2ce 100644
--- "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\244\226\350\264\255\345\242\231\345\270\203\345\267\245\350\265\204/Pay_PurchaseWallclothBillEdit.html"
+++ "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\244\226\350\264\255\345\242\231\345\270\203\345\267\245\350\265\204/Pay_PurchaseWallclothBillEdit.html"
@@ -178,10 +178,12 @@
                                                 <input type="text" name="HRemark" id="HRemark"   class="layui-input" value="" style="float:left;">
                                             </div>
                                         </div>
-                                        <div class="layui-col-xs4 layui-inline">
+                                        <div class="layui-col-xs4 layui-inline" >
                                             <label class="layui-form-label">鏉$爜</label>
-                                            <div class="layui-input-inline">
-                                                <input type="text" name="HBarcode" id="HBarcode"  class="layui-input" value="" style="float:left;">
+                                            <div class="layui-input-inline"style="float:left;width:220px;">
+                                                <!--<input type="text" name="HBarcode" id="HBarcode" class="layui-input" value="" style="float:left;">-->
+                                                <input type="text" name="HBarCode" id="HBarCode" placeholder="璇烽敭鍏ュ悗鍥炶溅" autocomplete="off" class="layui-input"style="float:left;width:150px;"><!--lay-verify="required"-->
+                                                <button type="button" lay-submit="" class="layui-btn" lay-filter="QueDin" name="QueDin" id="QueDin" style="width: 60px; background-color: #1492ff;color:white">纭畾</button>
                                             </div>
                                         </div>
                                     </div>
@@ -299,7 +301,7 @@
                 $("#HMaker").val(sessionStorage["HUserName"]);
                 $("#HUpDateDate").val(Format(new Date(), "yyyy-MM-dd"));
                 $("#HUpDater").val(sessionStorage["HUserName"]);
-                option.data = [{"HSelOrderNo": ""}];
+                option.data = [];
                 table.render(option);
             }
             else {
@@ -868,7 +870,32 @@
                 }
             });
 
-
+            //鏉″舰鐮佸洖杞︽柟娉�
+            $('#HBarCode').on('keydown', function (event) {
+                if (event.keyCode == 13) {
+                    GetMeesageByBarCode();
+                }
+            });
+            //鏉″舰鐮佺‘璁�
+            form.on('submit(QueDin)', function (data) {
+                GetMeesageByBarCode();
+            });
+            //鎵弿鏉″舰鐮佹柟娉�
+            function GetMeesageByBarCode() {
+                var HBarCode = $('#HBarCode').val();
+                if (!HBarCode) {
+                    layer.msg("鏉″舰鐮佷笉鑳戒负绌猴紒")
+                    return;
+                }
+                var index = layer.load();
+                var NewRow = { "HSelOrderNo": HBarCode };
+                table.cache["mainTable"].push(NewRow);
+                option.data = table.cache["mainTable"];
+                table.render(option);
+                layer.close(index);
+                $('#HBarCode').val("");
+                $("#HBarCode").focus();
+            }
         });
         function GetHGroupID1(obj)  
         {
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBillList.html"
index 3f6e462..3cfcf3c 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBillList.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBillList.html"
@@ -177,10 +177,10 @@
                         , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О' }
                         , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿' }
                         , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' }
-                        , { field: '娴佹按鍙�', title: '娴佹按鍙�' }
+                        , { field: '娴佹按鍙�', title: '娴佹按鍙�', sort: true }
                         , { field: 'HProcID', title: 'HProcID', hide: true }
                         , { field: '宸ュ簭浠g爜', title: '宸ュ簭浠g爜' }
-                        , { field: '宸ュ簭', title: '宸ュ簭' }
+                        , { field: '宸ュ簭', title: '宸ュ簭', sort: true }
                         , { field: '鍙戝嚭鏁伴噺', title: '鍙戝嚭鏁伴噺' }
                         , { field: '鍙戝嚭鏃堕棿', title: '鍙戝嚭鏃堕棿' }
                         , { field: '澶囨敞', title: '澶囨敞' }
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html"
index b21847c..96f0d92 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html"
@@ -182,10 +182,10 @@
                         , { field: '涓嶈壇鏁伴噺', title: '涓嶈壇鏁伴噺' }
                         , { field: '鎶ュ簾鏁伴噺', title: '鎶ュ簾鏁伴噺' }
                         , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' }
-                        , { field: '娴佹按鍙�', title: '娴佹按鍙�' }
+                        , { field: '娴佹按鍙�', title: '娴佹按鍙�', sort: true }
                         , { field: 'HProcID', title: 'HProcID', hide: true }
                         , { field: '宸ュ簭浠g爜', title: '宸ュ簭浠g爜' }
-                        , { field: '宸ュ簭', title: '宸ュ簭' }
+                        , { field: '宸ュ簭', title: '宸ュ簭', sort: true }
                         , { field: '鎺ユ敹鍚堟牸鏁伴噺', title: '鎺ユ敹鍚堟牸鏁伴噺' }
                         , { field: '鎺ユ敹涓嶅悎鏍兼暟閲�', title: '鎺ユ敹涓嶅悎鏍兼暟閲�' }
                         , { field: '鍚◣鍗曚环', title: '鍚◣鍗曚环' }
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html"
index cf5b232..ab3080b 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast.html"
@@ -221,6 +221,8 @@
                         layer.msg("鎺ュ彛璇锋眰澶辫触锛�" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
                     }
                 });
+                $('#HBarCode').val("");
+                $("#HBarCode").focus();
             }
 
             //閫�鍑�-鍏抽棴椤甸潰鏂规硶

--
Gitblit v1.9.1