价格问题

dev
anthonywj 2 years ago
parent 0aa6c6c75e
commit cb2ea523f4

@ -486,10 +486,12 @@ export default {
return;
}
this.inputQuery.list = this.invoiceRow;
let mount = 0;
let mount = 0.00;
for (var i = 0; i < this.invoiceRow.length; i++) {
mount += this.invoiceRow[i].amount
}
console.log(mount,this.inputQuery.price)
if (mount != this.inputQuery.price) {
this.$confirm("价格不匹配,是否确定提交?", "提示", {
confirmButtonText: "确定",

@ -503,6 +503,7 @@ export default {
for (var i = 0; i < this.invoiceRow.length; i++) {
mount += this.invoiceRow[i].amount
}
console.log(mount, this.inputQuery.price)
if (mount != this.inputQuery.price) {
this.$confirm("价格不匹配,是否确定提交?", "提示", {
confirmButtonText: "确定",

Loading…
Cancel
Save