diff --git a/src/components/tools/StatusSlot.vue b/src/components/tools/StatusSlot.vue index 0191007..ec37556 100644 --- a/src/components/tools/StatusSlot.vue +++ b/src/components/tools/StatusSlot.vue @@ -128,6 +128,10 @@ export default { if(res.success) { let arr = res.result[this.opeStatusKey] || [] let result = [] + // 我的合同详情后端返回邮寄信息为payMailContract对象,将对象处理为数组 + if (!(arr instanceof Array)) { + arr = [arr] + } arr.map(tt => { result.push(this.showTemplate(tt)) }) @@ -151,7 +155,7 @@ export default { result = `${item.paymentDate}到账${item.amountReceived}` } else if(this.statusKey === 'bill') { result = `${item.billDate}新增发票,发票单号:${item.billNo}` - } else if(this.statusKey === 'mail') { + } else if(this.statusKey === 'mail' || this.statusKey === 'payMailContract') { result = `${item.sendDate}新增邮寄信息,邮寄单号:${item.postNo}` } return result diff --git a/src/views/mineContract/MineContract.vue b/src/views/mineContract/MineContract.vue index 3050c6f..f0b55a3 100644 --- a/src/views/mineContract/MineContract.vue +++ b/src/views/mineContract/MineContract.vue @@ -27,7 +27,7 @@