From 5495ff9d968cb582c6b54324e74e92c0b3597ff2 Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期一, 09 九月 2024 17:21:25 +0800 Subject: [PATCH] #优化 --- src/main/webapp/static/js/wrkMast/wrkMast.js | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index 8565ac7..7bf1dfc 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -274,6 +274,24 @@ table.on('tool(wrkMast)', function(obj){ let data = obj.data; switch (obj.event) { + case 'upSheetNo': + layer.open({ + type: 2, + title: '淇敼宸ヤ綔妗g殑鏈烘鑷傜浉鍏冲弬鏁�', + 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; // 鏄庣粏灞曠ず case 'detlShow': wrkNo = data.wrkNo; -- Gitblit v1.9.1