|
@@ -161,6 +161,7 @@
|
|
|
async putTableValue(productList) {
|
|
async putTableValue(productList) {
|
|
|
if (productList) {
|
|
if (productList) {
|
|
|
this.form.datasource = productList;
|
|
this.form.datasource = productList;
|
|
|
|
|
+ this.allPrice = productList?.reduce((acc, item) => acc + item.totalPrice, 0).toFixed(2) || 0;
|
|
|
this.$refs.table.reload();
|
|
this.$refs.table.reload();
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|