自动化立体仓库 - WMS系统
#
whycq
2024-01-27 49905f42fe0b97911b988304ba83a8c0bf098509
src/main/webapp/static/js/wrkMast/wrkMast.js
@@ -125,7 +125,9 @@
    // 监听头工具栏事件
    table.on('toolbar(wrkMast)', function (obj) {
        console.log(obj)
        var checkStatus = table.checkStatus(obj.config.id);
        console.log(obj)
        switch(obj.event) {
            // 增加优先级
            case 'priAdd':
@@ -266,6 +268,26 @@
                    });
                });
                break;
            case 'priWrkMast':
                console.log(123)
                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('#data-detail :input', index), 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;
        }
    });