From bcd71f6371fa870c7647857a71bf67d21cde47e8 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期五, 29 九月 2023 08:31:47 +0800 Subject: [PATCH] 库存更新修改 --- src/main/webapp/static/js/wrkMast/wrkMast.js | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index 692909a..546eb7e 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -30,7 +30,7 @@ ,{field: 'staNo$', align: 'center',title: '鐩爣绔�'} ,{field: 'sourceLocNo$', align: 'center',title: '婧愬簱浣�'} ,{field: 'locNo$', align: 'center',title: '鐩爣搴撲綅'} - ,{field: 'steNo', align: 'center',title: '灏忚溅', width: 70} + ,{field: 'shuttleNo', align: 'center',title: '灏忚溅', width: 70} ,{field: 'barcode', align: 'center',title: '鏉$爜', hide: false} ,{field: 'preHave', align: 'center',title: '鍏堝叆鍝�', hide: true} ,{field: 'takeNone', align: 'center',title: '绌烘搷浣�', hide: true} @@ -67,7 +67,7 @@ // return html; // }} - ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:250} + ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:290} ]], request: { pageName: 'curr', @@ -133,6 +133,7 @@ var list=[]; checkStatus.data.map(function (track) { list.push({ + wrkNo: track.wrkNo, ioTime: track.ioTime, ioPri: track.ioPri @@ -198,7 +199,7 @@ content: 'wrkMast_detail.html', success: function(layero, index){ layer.getChildFrame('#data-detail-submit-edit', index).hide(); - clearFormVal(layer.getChildFrame('#detail', index)); + clearFormVal(layer.getChildFrame('#detail', index)); layer.getChildFrame('##dealDownLine', index).hide();layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"}); } }); @@ -357,6 +358,24 @@ layer.closeAll(); }); break; + case 'priWrkMast': + layer.open({ + type: 2, + title: '缁存姢宸ヤ綔妗�', + maxmin: true, + area: ['500px', top.detailHeight], + shadeClose: false, + content: 'wrkMast_detail.html', + success: function(layero, index){ + layer.getChildFrame('#data-detail-submit-save', index).hide(); + setFormVal(layer.getChildFrame('#detail', index), data, false); + top.convertDisabled(layer.getChildFrame('#locNo', index), true); + layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"}); + layero.find('iframe')[0].contentWindow.layui.form.render('select'); + layero.find('iframe')[0].contentWindow.layui.form.render('checkbox'); + } + }); + break; } }); -- Gitblit v1.9.1