优化订单详情中显示的价格问题
parent
403ae0a963
commit
c879cb2af0
|
@ -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;
|
||||
},
|
||||
//修改订单金额提交
|
||||
|
|
|
@ -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, "¥")
|
||||
);
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue