From b6b46e1c4d390c80cf9bd7d4daa23202f2d11a22 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 26 五月 2023 13:47:57 +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