Commit a9655e02 by YG8999

订单退款显示修改

parent b103ac90
...@@ -1058,9 +1058,8 @@ export default { ...@@ -1058,9 +1058,8 @@ export default {
let isUseCoupon = row.couponId ? '1' : '0'; let isUseCoupon = row.couponId ? '1' : '0';
this.refundForm.isUseCoupon = this.selectDictLabel(this.dict.type.store_is_use_coupon, isUseCoupon); this.refundForm.isUseCoupon = this.selectDictLabel(this.dict.type.store_is_use_coupon, isUseCoupon);
if (row.couponId) { if (row.couponId) {
let coupon = this.couponList.find(item => item.id === row.couponId); this.refundForm.couponName = row.couponName;
this.refundForm.couponName = coupon.name; this.refundForm.couponAmount = row.couponPayPrice ? row.couponPayPrice : row.couponPrice;
this.refundForm.couponAmount = coupon.subPrice ? coupon.subPrice : row.couponPrice;
} }
this.refundForm.payAmount = row.payPrice; this.refundForm.payAmount = row.payPrice;
this.refundForm.amount = row.payPrice ? row.payPrice : 0; this.refundForm.amount = row.payPrice ? row.payPrice : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment