haugnfuli 3 роки тому
батько
коміт
bc6fc35d4e
1 змінених файлів з 1 додано та 1 видалено
  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('扣款输入错误!')