From ef48a7627cbb8dd2a257960a0890cebf190f75b5 Mon Sep 17 00:00:00 2001
From: DESKTOP-9BNTV8O <DESKTOP-9BNTV8O@163.com>
Date: 星期六, 14 十二月 2024 14:38:53 +0800
Subject: [PATCH] 修改问题
---
HTML/views/WareHouseSetting/Area.html | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/HTML/views/WareHouseSetting/Area.html b/HTML/views/WareHouseSetting/Area.html
index 385bc4e..6d8dbca 100644
--- a/HTML/views/WareHouseSetting/Area.html
+++ b/HTML/views/WareHouseSetting/Area.html
@@ -43,10 +43,11 @@
<div class="layui-input-inline" >
<select name="Type" id="Type" lay-filter="Type" lay-search>
<option value=""></option>
- <option value="1">鎴愬搧鍖�</option>
- <option value="2">鍘熸枡鍖�</option>
- <option value="3">鍖呮潗鍖�</option>
- <option value="4">绌烘墭鍖�</option>
+ <option value="0">鍑�妗跺尯</option>
+ <option value="1">棰勬贩鍖�</option>
+ <option value="2">鍗婃垚鍝佸尯</option>
+ <option value="3">鑴忔《鍖�</option>
+ <option value="4">璁惧鍖�</option>
</select>
</div>
</div>
@@ -197,7 +198,7 @@
},{
field: 'WareHouseName',
title: '鎵�灞炰粨搴�',
- width: 120,
+ width: 160,
align: 'center',
templet: function(d) {
@@ -213,6 +214,11 @@
}, {
field: 'AreaName',
title: '鍖哄煙鍚嶇О',
+ align: 'center'
+
+ }, {
+ field: 'DeviceCode',
+ title: '璁惧缂栫爜',
align: 'center'
}, {
@@ -309,8 +315,9 @@
console.log(field)
//鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
var param = {
- // AreaNo: field.AreaNo, //鍖哄煙缂栫爜
+ AreaNo: field.AreaNo, //鍖哄煙缂栫爜
AreaName: field.AreaName, //鍖哄煙鍚嶇О
+ DeviceCode:field.DeviceCode,//璁惧缂栫爜
WareHouseNo: field.WareHouseNo, //鎵�灞炰粨搴�
Status: field.Status, //鏄惁鍚敤 0
Priority: parseInt(field.Priority), //浼樺厛绾�
@@ -327,7 +334,7 @@
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
}, function() {
layer.close(index); //鍏抽棴寮瑰眰
- // refreshTable($("#CategoryName").val(),$("#AreaNo").val());
+ refreshTable($("#CategoryName").val(),$("#AreaNo").val());
doing = true;
});
}
@@ -408,7 +415,7 @@
title: '鍖哄煙绠$悊淇℃伅',
content: 'AreaFrom.html?id=' + cusId,
maxmin: true,
- area: ['445px', '340px'],
+ area: ['445px', '380px'],
btn: ['纭畾', '鍙栨秷'],
yes: function(index, layero){
var iframeWindow = window['layui-layer-iframe'+ index]
@@ -425,6 +432,7 @@
Priority: parseInt(field.Priority),
Type:field.Type,
Temperature:field.Temperature,
+ DeviceCode:field.DeviceCode
};
sendData(IP + "/Sys/EditStorageArea", param, 'post', function(res) {
console.log(res);
--
Gitblit v1.8.0