优化其它入库的金额赋值逻辑

This commit is contained in:
神话
2022-04-30 17:26:27 +08:00
parent 04e77fad80
commit cce7b34fe0

View File

@@ -248,7 +248,7 @@
for(let item of detailArr){ for(let item of detailArr){
totalPrice += item.allPrice-0 totalPrice += item.allPrice-0
} }
billMain.totalPrice = totalPrice billMain.totalPrice = 0-totalPrice
if(this.fileList && this.fileList.length > 0) { if(this.fileList && this.fileList.length > 0) {
billMain.fileName = this.fileList billMain.fileName = this.fileList
} else { } else {