From 82bcd0328dddbaad65933e2fada22bc68e82b3d5 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 26 八月 2023 10:07:46 +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