From 2fc66774335bfc603aa36b1ca41e5f1be19442b0 Mon Sep 17 00:00:00 2001 From: bfwms <1> Date: 星期一, 07 七月 2025 16:27:05 +0800 Subject: [PATCH] ERP对接 --- src/main/webapp/static/js/basSte/basSte.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/static/js/basSte/basSte.js b/src/main/webapp/static/js/basSte/basSte.js index 8da4147..33ef791 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: '娣诲姞浜哄憳'} @@ -180,15 +181,16 @@ admin.open({ type: 1, area: '600px', - title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��', + title: (mData ? '淇敼' : '娣诲姞') + '灏忚溅鐘舵��', content: $('#editDialog').html(), success: function (layero, dIndex) { 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