From ba4688fd4f54578dcea7fd1a95092040eb5713c5 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 23 八月 2024 15:09:01 +0800
Subject: [PATCH] 编辑列设置

---
 WebTM/views/采购管理/询价单/Sup_AskPriceBillEdit.html |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\350\257\242\344\273\267\345\215\225/Sup_AskPriceBillEdit.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\350\257\242\344\273\267\345\215\225/Sup_AskPriceBillEdit.html"
index c1e7e19..4c46b76 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\350\257\242\344\273\267\345\215\225/Sup_AskPriceBillEdit.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\350\257\242\344\273\267\345\215\225/Sup_AskPriceBillEdit.html"
@@ -248,6 +248,7 @@
                             <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
                             <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Inventory" id="get_Inventory"><i class="layui-icon layui-icon-form"></i>搴撳瓨鏌ヨ</button>
                             <button type="button" class="layui-btn layui-btn-sm" lay-event="get_InOutSum" id="get_InOutSum"><i class="layui-icon layui-icon-form"></i>鍑哄叆搴撹褰曟煡璇�</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="set_HideColumn"><i class="layui-icon layui-icon-form"></i>鍒楄缃�</button>
                         </div>
                     </script>
                 </form>
@@ -277,7 +278,7 @@
         var option;
 
         //#endregion
-
+        HModName = 'Sup_AskPriceBillEdit'
         //#region 杩涘叆椤甸潰鍗冲姞杞�
 
         //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
@@ -362,6 +363,10 @@
                     break;
                 //鍑哄叆搴撹褰曟煡璇�
                 case 'get_InOutSum': get_InOutSum();
+                    break;
+                //鍒楄缃�
+                case 'set_HideColumn':
+                    get_HideColumn();
                     break;
             }
         });
@@ -665,7 +670,7 @@
             //琛ㄥご
             columns = [ //琛ㄥご
                 { type: 'checkbox', totalRowText: '鍚堣琛�' }
-                , { type: 'numbers', title: '搴忓彿', totalRow: true }
+                , { type: 'numbers', field: '搴忓彿', title: '搴忓彿', totalRow: true }
                 , { field: 'HMaterID', title: '鐗╂枡ID', hide: true }
                 , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', edit: 'text', event: "HMaterID", width: 165 }
                 , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 220 }
@@ -679,7 +684,7 @@
                 , { field: 'HCarryType', title: '杩愯緭鏂瑰紡', edit: 'text', width: 120 }
                 , { field: 'HAddress', title: '浜よ揣鍦扮偣', edit: 'text', width: 120 }
                 , { field: 'HRemark', title: '澶囨敞', edit: 'text' }
-                , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 65 }
+                , { fixed: 'right', field: '鎿嶄綔', title: '鎿嶄綔', toolbar: '#barDemo', width: 65 }
             ];
             option = {
                 id: 'mainTable'
@@ -711,6 +716,7 @@
             }];
             table.render(option);
 
+            DisPlay_HideColumn();
         }
 
 

--
Gitblit v1.9.1