From 33430ec5f8f7bd181bbeea8d933285ef58a7980a Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期五, 23 二月 2024 09:22:00 +0800 Subject: [PATCH] 项目管理、车间管理、仓库管理 模块下的全部单据和单据列表; 单据有网格的 增加 合计行 --- WebTM/views/项目管理/周计划/PM_WorkReportWeekBillMainList.html | 6 ++++-- 1 files changed, 4 insertions(+), 2 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_WorkReportWeekBillMainList.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_WorkReportWeekBillMainList.html" index 21c50f5..f2194da 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_WorkReportWeekBillMainList.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_WorkReportWeekBillMainList.html" @@ -292,8 +292,7 @@ data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, success: function (data1) { if (data1.count == 1) { - var data = []; - var col = []; + var totalArray = ["璁″垝宸ユ椂", "娑堣�楀伐鏃�", "鏈夋晥宸ユ椂", "寤舵湡浠诲姟", "瓒呭墠浠诲姟"]; var data = []; var col = []; //缁欑┖鐨勬暟缁勮祴鍊� @@ -307,6 +306,9 @@ if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� } + 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 { switch (data[i].Type) { //int -- Gitblit v1.9.1