haugnfuli il y a 3 ans
Parent
commit
bc6fc35d4e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/erp/warehousing/warehousing.vue

+ 1 - 1
pages/erp/warehousing/warehousing.vue

@@ -573,7 +573,7 @@
 							String(this.detailData.deductionAmount).length -
 							(String(this.detailData.deductionAmount).indexOf('.') + 1) >
 							2) ||
-						this.detailData.deductionAmount < 1 ||
+						this.detailData.deductionAmount < 0 ||
 						this.detailData.deductionAmount > 10000
 					) {
 						this.$api.msg('扣款输入错误!')