From c46f9c28f8d40d2a4efcc7ef6e528661d97a4be0 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 14 二月 2023 13:48:18 +0800 Subject: [PATCH] # --- 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