From 486afcda1174e8791d8e790543ea90ae6f097701 Mon Sep 17 00:00:00 2001 From: zgq <519541279@qq.com> Date: 星期日, 21 二月 2021 18:53:09 +0800 Subject: [PATCH] 找货单 --- WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 58 +++++++++++++++++++++++++++++++++------------------------- 1 files changed, 33 insertions(+), 25 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 4e3c566..65db348 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" @@ -70,7 +70,7 @@ <label class="layui-form-label" style="width:30px;padding-left:0px;">浠撳簱</label> </div> <div class="layui-col-xs6"> - <input type="text" name="HWHNAME" id="HWHNAME" lay-verify="HWHNAME" autocomplete="off" class="layui-input"> + <input type="text" name="HWHNAME" id="HWHNAME" lay-verify="HWHNAME" autocomplete="off" class="layui-input" readonly> <input type="hidden" name="HWHID" id="HWHID" lay-verify="HWHID" value="0" autocomplete="off" class="layui-input"> </div> <div class="layui-col-xs3"> @@ -88,7 +88,7 @@ <input type="hidden" name="HStockPlaceID" id="HStockPlaceID" lay-verify="HStockPlaceID" value="0" autocomplete="off" class="layui-input"> </div> <div class="layui-col-xs3"> - <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-BT">...</button> + <button type="button" lay-submit="" class="layui-btn" lay-filter="HSpID-BT" style="display:none">...</button> </div> </div> </div> @@ -268,6 +268,14 @@ } return vars; } + + //鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤� + if (sessionStorage.login != "login") { + layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", { + icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍'] + }, function () { window.location.href = "../../user/login.html"; }); + } + var params = getUrlVars(); var linterid = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鍗曟嵁鍐呯爜 var lSourceBillType = params[params[2]]; //浠庡崟鎹幏鍙� 婧愬崟绫诲瀷 @@ -694,28 +702,28 @@ layer.load(3) table.render({ elem: '#wl-table' - //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json' - , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' - , toolbar: '#toolbarDemo' - , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' } - , cols: [[ - { type: 'radio' } - , { field: 'HQty', title: '鏁伴噺', width: 150 } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 } - , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 } - , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 } - , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 } - , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 } - , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 } - , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 } - , { field: 'HBatchNo', title: '鎵规', width: 150 } - ]] - // , data: [linterid] - // , page: true - , height: 500 - , done: function () { - layer.closeAll("loading"); - } + //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL1() + '/ProductIn/DisBillEntryList_Webs_Json' + , toolbar: '#toolbarDemo' + , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' } + , cols: [[ + { type: 'radio' } + , { field: 'HQty', title: '鏁伴噺', width: 150 } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', width: 150 } + , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 } + , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 150 } + , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 150 } + , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 150 } + , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 150 } + , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 150 } + , { field: 'HBatchNo', title: '鎵规', width: 150 } + ]] + // , data: [linterid] + // , page: true + , height: 500 + , done: function () { + layer.closeAll("loading"); + } }); } else { @@ -798,7 +806,7 @@ if (event.keyCode == 13) { //鍒ゆ柇鏂囨湰妗嗘槸鍚︽湁鏁版嵁 new $.ajax({ - url: GetWEBURL() + "/Web/GetSpName_Json", + url: GetWEBURL() + "/LookingFor/getSpName_Json", type: "GET", data: { "HBarCode": HBarCode }, success: function (result) { -- Gitblit v1.9.1