|
|
|
@ -48,9 +48,8 @@ |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
onLoad(op) { |
|
|
|
|
console.log(JSON.parse(op.order)) |
|
|
|
|
this.orderId = op.orderId; |
|
|
|
|
this.order = op.order ? JSON.parse(op.order) : '' |
|
|
|
|
this.order = op.order ? JSON.parse(decodeURIComponent(op.order)) : '' |
|
|
|
|
this.deliveryStatus = op.deliveryStatus; |
|
|
|
|
this.receiptStatus = op.receiptStatus |
|
|
|
|
}, |
|
|
|
@ -58,14 +57,13 @@ |
|
|
|
|
openPage(index) { |
|
|
|
|
if (index == 4) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/order/refund/freight?orderId=' + this.orderId + '&order=' + JSON.stringify(this |
|
|
|
|
.order) + |
|
|
|
|
url: '/pages/order/refund/freight?orderId=' + this.orderId + '&order=' + encodeURIComponent(JSON.stringify(this.order))+ |
|
|
|
|
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/order/refund/refund?type='+index+'&orderId=' + this.orderId + '&order=' + JSON.stringify(this |
|
|
|
|
.order) + |
|
|
|
|
url: '/pages/order/refund/refund?type='+index+'&orderId=' + this.orderId + '&order=' + '&order=' + encodeURIComponent(JSON.stringify(this |
|
|
|
|
.order)) + |
|
|
|
|
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|