1
duhe
2024-03-21 4c0f65f8ba29bbc72abb74cbb3ce323f73f461fa
WebTM/views/Éú²ú¹¤Ðò¹ÜÀí/¹¤Ðò»ã±¨µ¥/Sc_Add_ProcessReportList.html
@@ -619,12 +619,26 @@
            form.on('submit(HDeptID-BT)', function () {//选择部门
                layer.open({
                    type: 2
                    , area: ['666px', '666px']
                    , area: ['90%', '90%']
                    , title: '部门列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_DepartmentList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_DepartmentList.html', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
                        //按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index];
                        var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HDeptID").val(checkStatus.data[0].HItemID);
                        $("#HDeptNumber").val(checkStatus.data[0].部门代码);
                        $("#HDeptName").val(checkStatus.data[0].部门名称);
                        layer.close(layer.index);
                    }
                    , resize: false
                    , cancel: function () {
                        //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -636,7 +650,7 @@
            form.on('submit(HMateriaID-BT)', function () {//选择产品
                layer.open({
                    type: 2
                    , area: ['666px', '666px']
                    , area: ['90%', '90%']
                    , title: '产品列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
@@ -653,7 +667,7 @@
            form.on('submit(HUnitID-BT)', function () {//选择单位
                layer.open({
                    type: 2
                    , area: ['666px', '666px']
                    , area: ['90%', '90%']
                    , title: '单位列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化