From f512b0475560ed449f936e0b7a27ba197e6bafe5 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期四, 26 九月 2024 15:16:08 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/liudongl/jc24-wms
---
HTML/views/ASNSetting/AppointSlot.html | 39 +++++++++++++++++++++++----------------
1 files changed, 23 insertions(+), 16 deletions(-)
diff --git a/HTML/views/ASNSetting/AppointSlot.html b/HTML/views/ASNSetting/AppointSlot.html
index 81b9389..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,13 +121,14 @@
var id = getQueryString('id');
console.log(id);
refreshTable();
- function refreshTable(){
+ function refreshTable() {
var where = {
RoadwayNo: $("#RoadwayNo").val(),
Row: $("#Row").val(),
Column: $("#Column").val(),
Layer: $("#Layer").val(),
- LocateNo: $("#LocateNo").val()
+ LocateNo: $("#LocateNo").val(),
+ BindId: id,
};
// 娴佹按璇︽儏
var tableIns = table.render({
@@ -162,7 +163,7 @@
fixed: 'left',
align: 'center',
width: 160,
- hide:true
+ hide: true
}, {
field: 'RoadwayNo',
title: '鎵�灞炲尯鍩�',
@@ -172,7 +173,7 @@
field: 'LocatNo',
title: '鍌ㄤ綅缂栫爜',
align: 'center',
-
+
}, {
field: 'Row',
title: '鎺�',
@@ -189,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');
@@ -221,7 +228,7 @@
layer.msg('鑾峰彇宸烽亾淇℃伅澶辫触', {
icon: 2,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
- }, function() {
+ }, function () {
//鍥炶皟
form.render('select');
});
@@ -243,7 +250,7 @@
if (checkData.length === 0) {
return layer.msg('璇烽�夋嫨鏁版嵁');
}
-
+
var arr = checkData[0].Id;
console.log(arr);
var param = {
--
Gitblit v1.8.0