From 21a9bab4a910f78ed182c24543195698a63b1fe0 Mon Sep 17 00:00:00 2001 From: 18516761980 <tqsxp@163.com> Date: 星期四, 09 三月 2023 14:56:41 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/wrkMast/wrkMast.js | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index 692909a..afce170 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -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', @@ -198,7 +198,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 +357,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