From 41c5a191f9419bfa03e3ba0c18bb00d3172d6162 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 14 十二月 2024 14:30:15 +0800 Subject: [PATCH] 修改问题 --- HTML/views/WareHouseSetting/Area.html | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/HTML/views/WareHouseSetting/Area.html b/HTML/views/WareHouseSetting/Area.html index 556d41a..22d0d90 100644 --- a/HTML/views/WareHouseSetting/Area.html +++ b/HTML/views/WareHouseSetting/Area.html @@ -43,10 +43,10 @@ <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> </select> </div> </div> @@ -197,7 +197,7 @@ },{ field: 'WareHouseName', title: '鎵�灞炰粨搴�', - width: 120, + width: 160, align: 'center', templet: function(d) { @@ -213,6 +213,11 @@ }, { field: 'AreaName', title: '鍖哄煙鍚嶇О', + align: 'center' + + }, { + field: 'DeviceCode', + title: '璁惧缂栫爜', align: 'center' }, { @@ -309,8 +314,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), //浼樺厛绾� @@ -408,7 +414,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 +431,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