From 7e5e4b43f4bcd7248325e1e1a5f10c61d64e93d3 Mon Sep 17 00:00:00 2001 From: TQS <56479841@qq.com> Date: 星期六, 03 十二月 2022 13:12:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/bfasrs' into bfasrs --- src/main/webapp/static/js/basSte/basSte.js | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/basSte/basSte.js b/src/main/webapp/static/js/basSte/basSte.js index 8da4147..9239199 100644 --- a/src/main/webapp/static/js/basSte/basSte.js +++ b/src/main/webapp/static/js/basSte/basSte.js @@ -38,6 +38,7 @@ ,{field: 'hisLev', align: 'center',title: '鍘嗗彶灞�', hide: true} ,{field: 'idleLoc', align: 'center',title: '鏆傚瓨搴撲綅'} ,{field: 'steErr', align: 'center',title: '閿欒鐮�'} + ,{field: 'chargeLine', align: 'center',title: '鏈�浣庣數閲�%'} ,{field: 'pakMk', align: 'center',title: '鏍囪', hide: true} // ,{field: 'status$', align: 'center',title: '鐘舵��'} // ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'} @@ -186,9 +187,10 @@ layDateRender(mData); form.val('detail', mData); form.on('submit(editSubmit)', function (data) { - if (!isEmpty(data.idleLoc)) { - if (data.idleLoc) { - + if (!isEmpty(data.field.idleLoc)) { + if (data.field.idleLoc.length !== 7) { + layer.msg("鏆傚瓨搴撳瓨涓嶅悎娉�", {icon: 2}); + return false; } } var loadIndex = layer.load(2); -- Gitblit v1.9.1