zhangyuewww 3 年 前
コミット
a7fcc2bb16
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/views/statisticalReport/stockSaleOutReportList.vue

+ 3 - 3
src/views/statisticalReport/stockSaleOutReportList.vue

@@ -543,7 +543,7 @@
 				this.stockSaleReceiptReport.money = this.money
 				this.stockSaleReceiptReport.collectionDate = this.collectionDate
 				if (
-					this.money < 0 ||
+					this.money == 0 ||
 					(String(this.money).indexOf('.') != -1 &&
 						String(this.money).length - (String(this.money).indexOf('.') + 1) >
 						2)
@@ -570,13 +570,13 @@
 					})
 					return
 				}
-				if (this.money > this.uncollectedAmount) {
+				if (this.money >= 0&&this.money > this.uncollectedAmount) {
 					this.$message({
 						message: '收款金额不能大于未收金额!',
 						type: 'warning',
 					})
 					return
-				}
+			    }
 				this.$confirm(`确定提交收款信息?`, {
 					cancelButtonText: '取消',
 					confirmButtonText: '确定',