From 6f7a815b2d6e4f30e7ccf901b24d5103aaa72078 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 25 十二月 2023 10:23:08 +0800
Subject: [PATCH] Merge branch 'tzskasrs-1' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-1

---
 src/main/webapp/static/js/locRule/locRule.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/locRule/locRule.js b/src/main/webapp/static/js/locRule/locRule.js
index 62df390..536302b 100644
--- a/src/main/webapp/static/js/locRule/locRule.js
+++ b/src/main/webapp/static/js/locRule/locRule.js
@@ -20,15 +20,16 @@
         toolbar: '#toolbar',
         cellMinWidth: 50,
         height: 'full-120',
+        where:{cstmr : 0},
         cols: [[
             {type: 'checkbox'}
             // ,{field: 'id', align: 'center',title: 'ID'}
             ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'}
             ,{field: 'specs', align: 'center',title: '瑙勬牸', hide: true}
-            ,{field: 'model', align: 'center',title: '鍨嬪彿', hide: true}
+            ,{field: 'model', align: 'center',title: '閫氱敤鍨嬪彿', hide: true}
             ,{field: 'cstmr', align: 'center',title: '瀹㈡埛', hide: true}
             ,{field: 'batch', align: 'center',title: '鎵瑰彿'}
-            ,{field: 'other', align: 'center',title: '鍏朵粬', hide: true}
+            ,{field: 'other', align: 'center',title: '搴撳尯'}
             ,{field: 'rowBeg', align: 'center',title: '寮�濮嬫帓'}
             ,{field: 'rowEnd', align: 'center',title: '缁撴潫鎺�'}
             ,{field: 'bayBeg', align: 'center',title: '寮�濮嬪垪'}
@@ -166,6 +167,7 @@
                 layDateRender(mData);
                 form.val('detail', mData);
                 form.on('submit(editSubmit)', function (data) {
+                    data.field.cstmr = 0;
                     var loadIndex = layer.load(2);
                     $.ajax({
                         url: baseUrl+"/locRule/"+(mData?'update':'add')+"/auth",

--
Gitblit v1.9.1