duhe
2025-09-01 e57b2edbffff5a653ba9eda65eae100ceb2e7822
WebTM/views/É豸¹ÜÀí/É豸µµ°¸/Gy_EquipFileMainList.html
@@ -916,7 +916,12 @@
            function get_PrintReport() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                if (checkStatus.data.length >= 1) {
                    var rows = [];
                    for (var i = 0; i < data.length; i++) {
                        rows.push(data[i].hmainid.toString());
                    }
                    layer.open({
                        type: 2
                        , area: ['50%', '50%']
@@ -924,12 +929,12 @@
                        , shade: 0.6 //遮罩透明度
                        , maxmin: false //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=HEquipFileMainBill', 'yes']
                        , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + rows.toString() + '&MyMsg=' + rows.toString() + '&Type=HEquipFileMainBill', 'yes']
                        , resize: false
                    })
                }
                else {
                    layer.msg('请选择一行数据打印!');
                    layer.msg('请选择数据打印!');
                }
            }
@@ -1031,6 +1036,7 @@
                $("#ColName1").val("0");
                $("#Comparator1").val("0");
                $("#HUSEORGID").val(sessionStorage["Organization"]);
                form.render('select');
                $("#btnSearch").click();
            }
@@ -1054,7 +1060,7 @@
                var openType = params[params[0]]; //从参数中获取 æ‰“开方式  1直接打开 2其它页面通过选择按钮打开
                var addSWhere = "";
                if (typeof (openType) != "undefined") {
                    addSWhere = " and å…³é—­äºº = '' and å®¡æ ¸äºº != ''";
                    addSWhere = " and isnull(关闭人,'') = '' and isnull(审核人,'') != ''";
                }
                return addSWhere;
            }