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_ProjectBillMainMy.html | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
index bbcda7d..1268a1b 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
@@ -205,6 +205,7 @@
, toolbar: '#toolbarDemo'
, page: true
, height: 300
+ , totalRow: true
, cellMinWidth: 90
, limit: 50
, limits: [50, 500, 5000, 20000]
@@ -219,6 +220,7 @@
elem: '#mainTable2'
//, toolbar: '#toolbarDemo'
, page: false
+ , totalRow: true
, height: 500
, cellMinWidth: 90
, limit: Number.MAX_VALUE//榛樿鏄剧ず鍏ㄩ儴
@@ -238,6 +240,7 @@
data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
success: function (data1) {
if (data1.count == 1) {
+ var totalArray = ["杩涘害鍗犳瘮", "鍚堝悓瀹炴柦浜哄ぉ", "棰勪及浜屾寮�鍙戜汉澶�", "鑰楃敤澶╂暟"];
var data = [];
var col = [];
//缁欑┖鐨勬暟缁勮祴鍊�
@@ -250,6 +253,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) {
@@ -271,6 +277,7 @@
, data: data1.data.h_p_My_PM_ProjectReportBill
, height: 'full-80'
, page: true
+ , totalRow: true
, limits: [50, 500, 5000, 50000]
, limit: 50
, cellMinWidth: 90
@@ -284,6 +291,7 @@
, data: data1.data.h_p_My_PM_ProjectReportBill1
, height: 'full-80'
, page: true
+ , totalRow: true
, limits: [50, 500, 5000, 50000]
, limit: 50
, cellMinWidth: 90
--
Gitblit v1.9.1