1
duhe
2024-07-31 d9a642bfaf83001831ac9a56bb9637e767e48feb
WebTM/views/²É¹º¹ÜÀí/²É¹ººÏͬ/Cg_ContractBillList.html
@@ -508,7 +508,7 @@
                //    });
                //}
            }
            //#endregion  ç›‘听网格表体事件
            //#region  ç›‘听网格表体事件
            table.on('tool(mainTable)', function (obj) {
                var data = obj.data;
@@ -563,7 +563,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) {