From ece092e4c5d4e968b424421c6f78b065bbb0bd73 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期六, 24 八月 2024 15:13:10 +0800
Subject: [PATCH] #修复目标站显示错误问题
---
src/main/webapp/static/js/locRule/locRule.js | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/static/js/locRule/locRule.js b/src/main/webapp/static/js/locRule/locRule.js
index 0bc8de9..536302b 100644
--- a/src/main/webapp/static/js/locRule/locRule.js
+++ b/src/main/webapp/static/js/locRule/locRule.js
@@ -20,22 +20,23 @@
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: '瑙勬牸'}
- ,{field: 'model', align: 'center',title: '鍨嬪彿'}
- ,{field: 'cstmr', align: 'center',title: '瀹㈡埛'}
+ ,{field: 'specs', 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: '寮�濮嬪垪'}
,{field: 'bayEnd', align: 'center',title: '缁撴潫鍒�'}
,{field: 'levBeg', align: 'center',title: '寮�濮嬪眰'}
,{field: 'levEnd', align: 'center',title: '缁撴潫灞�'}
- ,{field: 'limit', align: 'center',title: '涓婇檺'}
+ ,{field: 'limit', align: 'center',title: '涓婇檺', hide: true}
,{field: 'status$', align: 'center',title: '鐘舵��', hide: true}
,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳', hide: true}
,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿', hide: true}
@@ -43,7 +44,7 @@
,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿', hide: true}
,{field: 'memo', align: 'center',title: '澶囨敞', hide: true}
,{field: 'mixed$', align: 'center',title: '娣疯浇'}
- ,{field: 'keepGo$', align: 'center',title: '缁х画鎼滅储'}
+ // ,{field: 'keepGo$', align: 'center',title: '缁х画鎼滅储'}
,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
]],
@@ -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