修改售后退货退款-显示undefine的bug

This commit is contained in:
赵毅 2025-11-04 15:28:13 +08:00
parent 9fe388e5d8
commit e2b284f048
2 changed files with 3 additions and 4 deletions

View File

@ -369,7 +369,7 @@ export default {
console.log('售后商品 - 选中的售后类型:', selectedType);
console.log('选中的售后商品:', this.selectedAsGood);
this.merchantContact = `${this.orderItem.supplier_name} ${this.orderItem.supplier_phone}`;
this.merchantContact = `${this.orderItem.supplier_name} ${this.orderItem.supplier_phone || ''}`;
this.merchantAddress = this.orderItem.supplier_address;
this.afterSalePopup = false;

View File

@ -165,7 +165,7 @@ export default {
data() {
return {
status: "",
countdown: "9:59:59",
countdown: "",
orderInfo: {},
};
},
@ -173,8 +173,7 @@ export default {
const item = JSON.parse(options?.item);
this.orderInfo = item;
//
// item.order_status == "1" ? this.startCountdown() : "";
this.startCountdown()
item.order_status == "1" ? this.startCountdown() : "";
this.status = JSON.stringify(item.order_status);
},
methods: {