From 7e9aed4d1d60a20c659a3cedeac94e05205cf2ea Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 19 三月 2024 09:00:25 +0800
Subject: [PATCH] 销售订单:编辑时是否取库存数据为否 问题解决

---
 WebTM/views/设备管理/Sb_EquipMaintainBillEdit.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_EquipMaintainBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html"
index 445c1fa..07516fc 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.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: 85px;
@@ -38,7 +39,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">
@@ -213,6 +214,13 @@
             //#endregion
 
             //#region 杩涘叆椤甸潰鍗冲姞杞�
+
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "3901";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
+            $("h1").html('<b>' + HPageTitle + '</b>');
+            //#endregion
 
             //鍒濆鍖栬〃鍗曟彃浠�
             set_InitFrom();
@@ -679,7 +687,7 @@
             function Table() {
                 //琛ㄥご
                 columns = [
-                    { type: 'checkbox', fixed: 'left' }
+                    { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}
                     , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" }
                     , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true }
                     , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', hide: true ,edit: 'text' }
@@ -697,6 +705,8 @@
                     , elem: '#mainTable'
                     , toolbar: '#toolbarDemo'
                     , page: false
+                    , limit: 100
+                    , totalRow: true
                     , cellMinWidth: 120
                     , height: 500
                     , cols: [columns]
@@ -708,7 +718,7 @@
             function Table1() {
                 //琛ㄥご
                 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" }
@@ -719,7 +729,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: '#barDemo', width: 150 }
                 ];
@@ -729,6 +739,7 @@
                     , toolbar: '#toolbarDemo1'
                     , height: 500
                     , page: true
+                    , totalRow: true
                     , limit: 500
                     , cellMinWidth: 120
                     , height: 500

--
Gitblit v1.9.1