From 9062bd82b905d0b34239a33b1d02e7f5cd4e3f32 Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期四, 23 九月 2021 09:02:40 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pda/locNormalIn.html |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/pda/locNormalIn.html b/src/main/webapp/views/pda/locNormalIn.html
index f82101e..8b1d8c1 100644
--- a/src/main/webapp/views/pda/locNormalIn.html
+++ b/src/main/webapp/views/pda/locNormalIn.html
@@ -272,6 +272,14 @@
     function confirm() {
         var matNo = $('#matNo').val();
         var count = $('#count').val();
+        if (count > maxCount) {
+            alert("鏁伴噺涓嶈兘瓒呰繃" + maxCount);
+            return;
+        }
+        if (count < minCount) {
+            alert("鏁伴噺涓嶈兘浣庝簬" + minCount);
+            return;
+        }
         var mnemonic = $("#mnemonic").val() === '' ? null : $("#mnemonic").val();
         for (var j = 0; j < matData.length; j++) {
             if (mnemonic) {

--
Gitblit v1.9.1