From 033ab497c7ffbe4420f7525565931c9c58f48c98 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期一, 28 四月 2025 15:43:54 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI --- WebTM/views/项目管理/周计划/PM_WorkTaskWeekBillList.html | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\221\250\350\256\241\345\210\222/PM_WorkTaskWeekBillList.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\221\250\350\256\241\345\210\222/PM_WorkTaskWeekBillList.html" index 2da7b96..4cbd5ce 100644 --- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\221\250\350\256\241\345\210\222/PM_WorkTaskWeekBillList.html" +++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\221\250\350\256\241\345\210\222/PM_WorkTaskWeekBillList.html" @@ -333,6 +333,26 @@ }) //#endregion + table.on('tool(mainTable)', function (obj) { + var data = obj.data; + if (obj.event == '鍗曟嵁鍙�') { + var linterid = data.HInterID.toString(); + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '缂栬緫' + HPageTitle + , shift: 0//寮瑰嚭鍔ㄧ敾 + , content: '../../椤圭洰绠$悊/鍛ㄨ鍒�/PM_WorkTaskWeekBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=' + , btn: ['纭畾'], + // 鎸夐挳1 鐨勫洖璋� + end: function (index, layero, that) { + //鍒锋柊椤甸潰 + $("#btnSearch").trigger('click'); + } + }) + } + }); + //#region 閲嶇疆鎸夐挳 form.on('submit(btnReSearch)', function (data) { optionPage.curr = 1; @@ -579,6 +599,13 @@ if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� } + else if (data[i].name == '鍗曟嵁鍙�') {//娣诲姞瓒呴摼鎺� + col.push({ + field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '鍗曟嵁鍙�', templet: function (d) { + return '<span style="color: blue;">' + d.鍗曟嵁鍙� + '</span>' + }, style: 'cursor: pointer;' + }); + } 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 { -- Gitblit v1.9.1