From 0ce3c898afc1c618833c8b4fc071102bedd379ee Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 24 二月 2021 16:12:38 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/comb.html | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html
index d8d2b77..237b297 100644
--- a/src/main/webapp/views/pda/comb.html
+++ b/src/main/webapp/views/pda/comb.html
@@ -241,9 +241,9 @@
var minCount = 1;
var maxCount = 1;
function add() {
- if (countDom.val() >= maxCount) {
- return;
- }
+ // if (countDom.val() >= maxCount) {
+ // return;
+ // }
countDom.val(Number(countDom.val()) + 1);
}
function reduce() {
@@ -259,7 +259,8 @@
var count = $('#count').val();
for (var j=0;j<matData.length;j++){
if (matnr === matData[j].matnr) {
- if (count > maxCount || count < minCount) {
+ // if (count > maxCount || count < minCount) {
+ if (count < minCount) {
tips("鏁伴噺涓嶈兘瓒呰繃鑼冨洿", true);
return;
}
--
Gitblit v1.9.1