From 7df042662e1929abdd667cfd7b037f4e10e8c2ad Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期四, 14 三月 2024 11:27:56 +0800
Subject: [PATCH] 其他应付单 增加子表保存,目录放到采购管理,其他入库单编辑模块 并完善 其他出库单 列表功能;( 常规 功能, 新增,修改,删除,审核,作废,关闭,自定义过滤,源单类型列表(源单 手工录入), 合计行,保存控制,审核控制,删除控制,关联数回填 等等 ) (注: 基础资料选择, 均用 基础资料列表 的方式)

---
 WebTM/views/设备管理/Sb_Add_EqpMaintenanceBillList.html |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html"
index b96d197..2e2bb19 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html"
@@ -8,6 +8,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
     <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/PageTitle.js"></script>
     <style type="text/css">
         .layui-form-label {
             width: 95px;
@@ -37,7 +38,7 @@
                                 <li class="layui-this">鍩烘湰淇℃伅</li>-->
                                 <!--<li>鍏朵粬淇℃伅</li>-->
                                 <!--</ul>-->
-                                <h1 style="text-align:center;"><b>璁惧缁翠慨璁板綍鍗�</b></h1>
+                                <h1 style="text-align: center; padding: 10px 0;"><b>璁惧缁翠慨璁板綍鍗�</b></h1>
                                 <div class="layui-tab-content">
                                     <div class="layui-tab-item layui-show">
                                         <div class="layui-form-item">
@@ -282,6 +283,14 @@
             //#endregion
 
             //#region 杩涘叆椤甸潰鍗冲姞杞�
+
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "3910";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
+            $("h1").html('<b>' + HPageTitle + '</b>');
+            //#endregion
+
             //鍒濆鍖栬〃鍗曟彃浠�
             set_InitFrom();
             //鍒濆鍖栬〃鏍�
@@ -763,7 +772,7 @@
             function set_InitGrid() {
                 //琛ㄥご
                 columns = [
-                    { type: 'checkbox', fixed: 'left' }
+                    { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
                     , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
                     , { field: 'HRepairID', title: 'HRepairID', edit: 'text', event: "", hide: true }
                     , { field: 'HRepairCode', title: '缁翠慨椤圭洰浠g爜', edit: 'text', event: "", event: "HRepairCode" }
@@ -784,6 +793,7 @@
                     , elem: '#mainTable'
                     , toolbar: '#toolbarDemo'
                     , page: true
+                    , totalRow: true
                     , cellMinWidth: 120
                     , height: 300
                     , cols: [columns]
@@ -797,7 +807,7 @@
             function set_InitGrid_pj() {
                 //琛ㄥご
                 columns = [
-                    { type: 'checkbox', fixed: 'left' }
+                    { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
                     , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
                     , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true }
                     , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" }
@@ -808,7 +818,7 @@
                     , { field: 'HManagerID', title: '璐熻矗浜篒D', edit: 'text', hide: true }
                     , { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', edit: 'text', event: 'HManagerNumber' }
                     , { field: 'HManagerName', title: '璐熻矗浜�', edit: 'text' }
-                    , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text' }
+                    , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text', totalRow: true }
                     , { field: 'HRemark', title: '澶囨敞', edit: 'text' }
                     , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 }
                 ];
@@ -817,6 +827,7 @@
                     , elem: '#mainTable1'
                     , toolbar: '#toolbarDemo1'
                     , page: true
+                    , totalRow: true
                     , cellMinWidth: 120
                     , height: 300
                     , cols: [columns]

--
Gitblit v1.9.1