From 62f346794d27086f41f7ce901bdd11eead5249c8 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期一, 06 五月 2024 08:54:47 +0800
Subject: [PATCH] 1

---
 WebTM/views/设备管理/Sb_EquipMaintainPlanBillList.html |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html"
index a0e73ea..0b6ff1f 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html"
@@ -11,6 +11,7 @@
     <script src="../../layuiadmin/layui/layui.js"></script>
     <script src="../../layuiadmin/HideButton.js"></script>
     <script src="../../../layuiadmin/soulTable.slim.js"></script>
+    <script src="../../../layuiadmin/PageTitle.js"></script>
     <style type="text/css">
         input.layui-input.layui-unselect {
             padding-right: 0;
@@ -160,6 +161,13 @@
             var option1 = [];
             var option2 = [];
             var HModName = "Sb_EquipMaintainPlanBillList";
+
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "3902";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? document.title : get_PageTitle(HModuleType);
+        //#endregion
+
             //#region 銆愯繃婊ゆ柟妗堛��
 
             //杩囨护鏉′欢鐨刢lass绫� 
@@ -317,6 +325,7 @@
                     , toolbar: '#toolbarDemo'
                     , height: '400'
                     , page: true
+                    , totalRow: true
                     , cellMinWidth: 90
                     , limit: 50
                     , limits: [50, 500, 5000, 20000]
@@ -324,7 +333,7 @@
                         soulTable.render(this);
                     }
                     , cols: [[
-                        { type: 'checkbox', fixed: 'left' }
+                        { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
                         , { field: 'hmainid', title: 'hmainid', hide: true, sort: true }
                         , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true }
                         , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true }
@@ -365,6 +374,7 @@
                     //, toolbar: '#toolbarDemo'
                     , height: '350'
                     , page: true
+                    , totalRow: true
                     , cellMinWidth: 90
                     , limit: 50
                     , limits: [50, 500, 5000, 20000]
@@ -394,6 +404,7 @@
                     //, toolbar: '#toolbarDemo'
                     , height: '350'
                     , page: true
+                    , totalRow: true
                     , cellMinWidth: 90
                     , limit: 50
                     , limits: [50, 500, 5000, 20000]
@@ -410,8 +421,8 @@
                         , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true}
                         , { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', width: 200 }
                         , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 }
-                        , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200 }
-                        , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 }
+                        , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true }
+                        , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true }
                         , { field: 'HRemark', title: '澶囨敞', width: 200 }
                     ]]
                 };
@@ -459,7 +470,7 @@
                 layer.open({
                     type: 2,
                     skin: 'layui-layer-rim', //鍔犱笂杈规
-                    title: '鏂板璁惧淇濆吇璁″垝鍗� ',
+                    title: '鏂板' + HPageTitle,
                     closeBtn: false,
                     shift: 2,
                     area: ['100%', '100%'],
@@ -521,7 +532,7 @@
                     layer.open({
                         type: 2
                         , area: ['100%', '100%']
-                        , title: '缂栬緫璁惧淇濆吇璁″垝鍗� '
+                        , title: '缂栬緫' + HPageTitle
                         , shade: 0.6 //閬僵閫忔槑搴�
                         , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
                         , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�

--
Gitblit v1.9.1