优化订单详情中显示的价格问题

master
lemon橪 2022-03-02 15:02:18 +08:00
parent 403ae0a963
commit c879cb2af0
2 changed files with 5 additions and 6 deletions

View File

@ -587,7 +587,7 @@ export default {
if (!params.row.goodsPrice) {
return h("div", this.$options.filters.unitPrice(0, "¥"));
}
return h("div", this.$options.filters.unitPrice(params.row.goodsPrice, "¥"));
return h("div", this.$options.filters.unitPrice(params.row.unitPrice, "¥"));
},
},
@ -601,7 +601,7 @@ export default {
key: "subTotal",
minWidth: 100,
render: (h, params) => {
return h("div", this.$options.filters.unitPrice(params.row.subTotal, "¥"));
return h("div", this.$options.filters.unitPrice(params.row.flowPrice, "¥"));
},
},
],
@ -674,8 +674,7 @@ export default {
},
modifyPrice() {
//
this.modifyPriceForm.price = this.orderInfo.order.subTotal;
console.log(this.modifyPriceForm.price)
this.modifyPriceForm.price = this.orderInfo.order.flowPrice;
this.modal = true;
},
//

View File

@ -643,7 +643,7 @@ export default {
render: (h, params) => {
return h(
"div",
this.$options.filters.unitPrice(params.row.subTotal, "¥")
this.$options.filters.unitPrice(params.row.flowPrice, "¥")
);
},
},