|
|
@ -127,9 +127,9 @@ |
|
|
|
} else { |
|
|
|
let qty = Number(that.value); |
|
|
|
if (that.vaildMaxValue) { |
|
|
|
if (qty > that.defaultValue) { |
|
|
|
if (qty >= that.defaultValue) { |
|
|
|
that.value = that.defaultValue; |
|
|
|
this.showMessage('数量不能大于' + that.defaultValue); |
|
|
|
this.showMessage('数量不能大于等于' + that.defaultValue); |
|
|
|
|
|
|
|
} else { |
|
|
|
if (!that.allowZero) //不允许0 |
|
|
|