1
duhe
2024-07-31 d9a642bfaf83001831ac9a56bb9637e767e48feb
WebTM/views/²É¹º¹ÜÀí/¸¶¿îµ¥/YF_PayMentBillList.html
@@ -473,7 +473,10 @@
                                else if ($.inArray(data[i].name, totalArray) > -1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
                                } else if (data[i].name == '单据号') {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '单据号' });
                                    col.push({
                                        field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '单据号', event: '单据号', templet: function (d) {
                                            return '<span style="color: blue;">' + d.单据号 + '</span>'
                                        }, style: 'cursor: pointer;' });
                                }  else {
                                    switch (data[i].Type) {
                                        //int
@@ -498,7 +501,7 @@
                                , limit: 50
                                , limits: [50, 500, 5000, 20000]
                                , done: function (res, curr, count) {
                                    soulTable.render(this);
                                }
                            }
                            option.cols = [col];
@@ -736,15 +739,15 @@
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 0) {
                    return layer.msg('请选择数据打印!');
                if (checkStatus.data.length != 1) {
                    return layer.msg('请一行数据打印!');
                }
                else {
                    var hmainid = [];
                    for (var i = 0; i < checkStatus.data.length; i++) {
                        hmainid.push((data[i].hmainid * (10 ** 8)) + data[i].hsubid)
                    }
                    //var hmainid = [];
                    //for (var i = 0; i < checkStatus.data.length; i++) {
                    //    hmainid.push((data[i].hmainid * (10 ** 8)) + data[i].hsubid)
                    //}
                    layer.open({
                        type: 2
@@ -753,7 +756,7 @@
                        , shade: 0.6 //遮罩透明度
                        , maxmin: false //允许全屏最小化
                        , anim: 0 //0-6的动画形式,-1不开启
                        , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + hmainid.toString() + '&MyMsg=' + hmainid.toString() + '&Type=HPayMentBill', 'yes']
                        , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=HPayMentBill', 'yes']
                        , resize: false
                    })
                }