From ebef191888d9d2c2a2e7a7f677189164e4eef0b3 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 05 八月 2025 19:04:33 +0800
Subject: [PATCH] 车间委外接收单列表bug处理
---
WebTM/views/项目管理/工作任务/PM_WorkTaskBillMainMy.html | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillMainMy.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillMainMy.html"
index 2aac929..026e03e 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillMainMy.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillMainMy.html"
@@ -143,6 +143,7 @@
elem: '#mainTable_notcomplete'
, toolbar: '#toolbarDemo'
, page: true
+ , totalRow: true
, height: 300
, cellMinWidth: 90
, limit: 50
@@ -158,6 +159,7 @@
elem: '#mainTable_finish'
, page: false
, height: 500
+ , totalRow: true
, cellMinWidth: 90
, limit: Number.MAX_VALUE//榛樿鏄剧ず鍏ㄩ儴
, cols: []
@@ -170,6 +172,7 @@
elem: '#mainTable_proc'
, page: false
, height: 500
+ , totalRow: true
, cellMinWidth: 90
, limit: Number.MAX_VALUE//榛樿鏄剧ず鍏ㄩ儴
, cols: []
@@ -188,6 +191,7 @@
data: { "user": sessionStorage["HUserName"] },
success: function (data1) {
if (data1.count == 1) {
+ var totalArray = ["璇勪及宸ユ椂","宸茶�楃敤宸ユ椂"]
var data = [];
var col = [];
//缁欑┖鐨勬暟缁勮祴鍊�
@@ -200,6 +204,9 @@
// if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
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) {
@@ -221,6 +228,7 @@
, data: data1.data.h_p_PM_WorkTaskBillMyList
, height: 'full-80'
, page: true
+ , totalRow: true
, limits: [50, 500, 5000, 50000]
, limit: 50
, cellMinWidth: 90
@@ -235,6 +243,7 @@
, data: data1.data.h_p_PM_WorkTaskBillMyList1
, height: 'full-80'
, page: true
+ , totalRow: true
, limits: [50, 500, 5000, 50000]
, limit: 50
, cellMinWidth: 90
@@ -248,6 +257,7 @@
, data: data1.data.h_p_PM_WorkTaskBillMyList2
, height: 'full-80'
, page: true
+ , totalRow: true
, limits: [50, 500, 5000, 50000]
, limit: 50
, cellMinWidth: 90
--
Gitblit v1.9.1