From 05486575a3d018e7f72835110e33521963a85767 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 18 一月 2024 11:32:01 +0800
Subject: [PATCH] 销售订单变更单列表、特批申请单列表、应收款余额列表、收款单列表、应收退库单列表、信用额度申请单列表:增加合计行

---
 WebTM/views/销售管理/收款单/YS_ReceiveBillList.html |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBillList.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBillList.html"
index 8a72b80..fcd6488 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBillList.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBillList.html"
@@ -280,6 +280,7 @@
                     , toolbar: '#toolbarDemo'
                     , height: 'full-50'
                     , page: true
+                    , totalRow: true
                     //, cellMinWidth: 90
                     , limit: 50
                     , limits: [50, 500, 5000, 50000]
@@ -297,6 +298,7 @@
                     data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                     success: function (data1) {
                         if (data1.count == 1) {
+                            var totalArray = ["鍗曟嵁閲戦", "鎶樻墸鍚庨噾棰�"];
                             var data = [];
                             var col = [];
                             //缁欑┖鐨勬暟缁勮祴鍊�
@@ -310,6 +312,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