From 257e141d4b8e7f29c5324f9d733ef3df31843c6a Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期五, 15 三月 2024 11:23:32 +0800 Subject: [PATCH] 入库问题修改 --- HTML/views/ASNSetting/AppointSlot.html | 36 +++++++++++++++++++++--------------- 1 files changed, 21 insertions(+), 15 deletions(-) diff --git a/HTML/views/ASNSetting/AppointSlot.html b/HTML/views/ASNSetting/AppointSlot.html index d62c817..d375f84 100644 --- a/HTML/views/ASNSetting/AppointSlot.html +++ b/HTML/views/ASNSetting/AppointSlot.html @@ -32,7 +32,7 @@ </div> </div> --> <div class="layui-inline" style="margin-right: 0;"> - <label class="layui-form-label" style="width: 60px;">鎵�灞炲尯鍩�</label> + <label class="layui-form-label" style="width: 60px;">鎵�灞炲贩閬�</label> <div class="layui-input-inline" style="margin-right: 0;"> <select name="RoadwayNo" id="RoadwayNo" lay-filter="RoadwayNo" lay-search> <option value=""></option> @@ -57,7 +57,7 @@ <div class="layui-input-inline" style="margin-right: 0;"> <input type="number" id="Column" name="Column" placeholder="鍒�" autocomplete="off" class="layui-input" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"> - </div> + </div> <!-- <label class="layui-form-label" style="width: 60px;">鍌ㄥ垪</label> <div class="layui-input-inline" style="margin-right: 0;"> <select name="Column" id="Column" lay-filter="Column" lay-search> @@ -98,7 +98,7 @@ </div> <div class="layui-card-body"> <table id="Slot-list" lay-filter="Slot-list"></table> - + </div> </div> </div> @@ -121,7 +121,7 @@ var id = getQueryString('id'); console.log(id); refreshTable(); - function refreshTable(){ + function refreshTable() { var where = { RoadwayNo: $("#RoadwayNo").val(), Row: $("#Row").val(), @@ -163,7 +163,7 @@ fixed: 'left', align: 'center', width: 160, - hide:true + hide: true }, { field: 'RoadwayNo', title: '鎵�灞炲尯鍩�', @@ -173,7 +173,7 @@ field: 'LocatNo', title: '鍌ㄤ綅缂栫爜', align: 'center', - + }, { field: 'Row', title: '鎺�', @@ -190,31 +190,37 @@ align: 'center', width: 100, }, { + field: 'Depth', + title: '娣卞害', + align: 'center', + width: 100, + }, + { field: 'Status', title: '鐘舵��', align: 'center', width: 110, templet: function (d) { switch (d.Status) { - case "0": return '绌哄偍浣�'; + case "0": return '绌哄偍浣�'; default: return ""; } }, }] ], - + }); - } + } var param = { - wareHouseNo:"W01" + wareHouseNo: "W01" } //鑾峰彇 宸烽亾涓嬫媺妗� - sendData(IP + "/Sys/GetStorageRoadwayByHouseNo", param, 'get', function(res) { + sendData(IP + "/Sys/GetStorageRoadwayByHouseNo", param, 'get', function (res) { $("#RoadwayNo").empty(); $("#RoadwayNo").append('<option value =""></option>'); if (res.code == 0) { //鎴愬姛 - for (var i = 0; i < res.data.length; i++) { - $("#RoadwayNo").append('<option value =' + res.data[i].RoadwayNo + '>' + + for (var i = 0; i < res.data.length; i++) { + $("#RoadwayNo").append('<option value =' + res.data[i].RoadwayNo + '>' + res.data[i].RoadwayName + '</option>'); } form.render('select'); @@ -222,7 +228,7 @@ layer.msg('鑾峰彇宸烽亾淇℃伅澶辫触', { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - }, function() { + }, function () { //鍥炶皟 form.render('select'); }); @@ -244,7 +250,7 @@ if (checkData.length === 0) { return layer.msg('璇烽�夋嫨鏁版嵁'); } - + var arr = checkData[0].Id; console.log(arr); var param = { -- Gitblit v1.8.0