From ce6bfd4114d69b3fa8f78cd3d4cb1f9acbfca7e8 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 29 一月 2021 10:25:27 +0800
Subject: [PATCH] #物料新增

---
 src/main/webapp/views/pdaCe/index.html |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/pdaCe/index.html b/src/main/webapp/views/pdaCe/index.html
index 341686c..cf341ba 100644
--- a/src/main/webapp/views/pdaCe/index.html
+++ b/src/main/webapp/views/pdaCe/index.html
@@ -66,6 +66,7 @@
         }
         #tips {
             font-size: 12px;
+            margin-top: 2px;
             margin-left: 10px;
             display: inline-block;
             vertical-align: middle;
@@ -229,6 +230,11 @@
         var barcode = code.value;
         if (isEmpty(barcode)) {
             tips("璇疯緭鍏ユ墭鐩樻潯鐮�", true);
+            // document.getElementById("code").focus();
+            return;
+        }
+        if (barcode.length !== 8) {
+            tips("鏉$爜蹇呴』涓�8浣�", true);
             // document.getElementById("code").focus();
             return;
         }
@@ -481,7 +487,7 @@
 
     function help() {
         window.alert("鈶� 鎸塅1杈撳叆鏉$爜\n" +
-            "鈶� 鎸塅2杈撳叆鐗╂枡鍙凤紝鎸塃NTER鏌ヨ锛岄�夋嫨鏁伴噺鍚庢彁鍙朶n" +
+            "鈶� 鎸塅2杈撳叆鍟嗗搧缂栧彿锛屾寜ENTER鏌ヨ锛岄�夋嫨鏁伴噺鍚庢彁鍙朶n" +
             "鈶� 鎸塅3寮�濮嬬粍鎵榎n" +
             "鍏跺畠锛氭寜F5鍒锋柊椤甸潰");
     }

--
Gitblit v1.9.1