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

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) { if (!params.row.goodsPrice) {
return h("div", this.$options.filters.unitPrice(0, "¥")); 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", key: "subTotal",
minWidth: 100, minWidth: 100,
render: (h, params) => { 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() { modifyPrice() {
// //
this.modifyPriceForm.price = this.orderInfo.order.subTotal; this.modifyPriceForm.price = this.orderInfo.order.flowPrice;
console.log(this.modifyPriceForm.price)
this.modal = true; this.modal = true;
}, },
// //

View File

@ -643,7 +643,7 @@ export default {
render: (h, params) => { render: (h, params) => {
return h( return h(
"div", "div",
this.$options.filters.unitPrice(params.row.subTotal, "¥") this.$options.filters.unitPrice(params.row.flowPrice, "¥")
); );
}, },
}, },
@ -900,7 +900,7 @@ dl dt {
.search { .search {
.div-item { .div-item {
line-height: 35px; line-height: 35px;