|
|
@@ -592,7 +592,7 @@
|
|
|
);
|
|
|
num += this.form.datasource[index].totalPrice;
|
|
|
});
|
|
|
- return num;
|
|
|
+ return parseFloat(num).toFixed(2);
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
@@ -734,10 +734,10 @@
|
|
|
return sum + Number(item.discountTotalPrice);
|
|
|
}, 0)
|
|
|
.toFixed(2);
|
|
|
- this.$emit('update:payAmount', this.payAmount);
|
|
|
- this.$store.commit('returnGoods/setAllcountAmount', sum);
|
|
|
+ // this.$emit('update:payAmount', this.payAmount);
|
|
|
+ // this.$store.commit('returnGoods/setAllcountAmount', sum);
|
|
|
} else {
|
|
|
- this.$store.commit('returnGoods/setAllcountAmount', 0);
|
|
|
+ // this.$store.commit('returnGoods/setAllcountAmount', 0);
|
|
|
}
|
|
|
},
|
|
|
orderNoChange(row, item) {
|