From 2bcd2e34b928daf86ecb1c478a7b8a54fd698c7e Mon Sep 17 00:00:00 2001 From: DESKTOP-9BNTV8O <DESKTOP-9BNTV8O@163.com> Date: 星期一, 30 十二月 2024 19:11:00 +0800 Subject: [PATCH] 修改问题 --- HTML/views/WareHouseSetting/Area.html | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/HTML/views/WareHouseSetting/Area.html b/HTML/views/WareHouseSetting/Area.html index 556d41a..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), //浼樺厛绾� @@ -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