diff --git a/packages/myOrders/index/popup/afterSale/index.vue b/packages/myOrders/index/popup/afterSale/index.vue index 24623e6e..7bcb560d 100644 --- a/packages/myOrders/index/popup/afterSale/index.vue +++ b/packages/myOrders/index/popup/afterSale/index.vue @@ -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; diff --git a/packages/myOrders/orderDetails/index.vue b/packages/myOrders/orderDetails/index.vue index 6c7a9d56..00991ae5 100644 --- a/packages/myOrders/orderDetails/index.vue +++ b/packages/myOrders/orderDetails/index.vue @@ -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: {