1
duhe
2024-03-21 4c0f65f8ba29bbc72abb74cbb3ce323f73f461fa
WebTM/views/Éú²ú¹¤Ðò¹ÜÀí/ίÍ⹤ÐòÅɹ¤µ¥/WW_AddEntrustProcSendWork.html
@@ -388,12 +388,26 @@
            form.on('submit(HSupID-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_SupplierList.html', 'yes']
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.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('请选择数据');
                        }
                        $("#HSupID").val(checkStatus.data[0].HItemID);
                        $("#HSupNumber").val(checkStatus.data[0].供应商代码);
                        $("#HSupName").val(checkStatus.data[0].供应商名称);
                        layer.close(layer.index);
                    }
                    , resize: false
                    , cancel: function () {
                        //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -405,7 +419,7 @@
            form.on('submit(HMateriaID-BT)', function () {//选择产品
                layer.open({
                    type: 2
                    , area: ['666px', '666px']
                    , area: ['90%', '90%']
                    , title: '产品列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
@@ -422,7 +436,7 @@
            form.on('submit(HUnitID-BT)', function () {//选择单位
                layer.open({
                    type: 2
                    , area: ['666px', '666px']
                    , area: ['90%', '90%']
                    , title: '单位列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化