|
@@ -121,7 +121,7 @@
|
|
this.discernReceiptList = resData.discernReceiptList
|
|
this.discernReceiptList = resData.discernReceiptList
|
|
this.receiptAmount = resData.order.receiptAmount
|
|
this.receiptAmount = resData.order.receiptAmount
|
|
this.returnedPurchaseFee = resData.order.returnedPurchaseFee
|
|
this.returnedPurchaseFee = resData.order.returnedPurchaseFee
|
|
- }).catch(response =>{
|
|
|
|
|
|
+ }).catch(error =>{
|
|
this.$util.modal('提示','订单查询失败,请稍后重试~','确定','',false,() =>{
|
|
this.$util.modal('提示','订单查询失败,请稍后重试~','确定','',false,() =>{
|
|
this.$api.switchTabTo('/pages/tabBar/home/home')
|
|
this.$api.switchTabTo('/pages/tabBar/home/home')
|
|
})
|
|
})
|
|
@@ -154,8 +154,8 @@
|
|
confirmReceipt({orderID:this.orderID}).then(response =>{
|
|
confirmReceipt({orderID:this.orderID}).then(response =>{
|
|
this.$util.msg(response.msg,2000,true,'success');
|
|
this.$util.msg(response.msg,2000,true,'success');
|
|
this.initOrderDetaileData()
|
|
this.initOrderDetaileData()
|
|
- }).catch(response =>{
|
|
|
|
- this.$util.msg(response.msg,2000)
|
|
|
|
|
|
+ }).catch(error =>{
|
|
|
|
+ this.$util.msg(error.msg,2000)
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -164,8 +164,8 @@
|
|
affirmOrder({orderID:this.orderID}).then(response =>{
|
|
affirmOrder({orderID:this.orderID}).then(response =>{
|
|
this.$util.msg(response.msg,2000,true,'success');
|
|
this.$util.msg(response.msg,2000,true,'success');
|
|
this.initOrderDetaileData()
|
|
this.initOrderDetaileData()
|
|
- }).catch(response =>{
|
|
|
|
- this.$util.msg(response.msg,2000)
|
|
|
|
|
|
+ }).catch(error =>{
|
|
|
|
+ this.$util.msg(error.msg,2000)
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -180,8 +180,8 @@
|
|
this.$api.redirectTo(`/pages/user/order/order-list?type=detele&state=${this.state}`)
|
|
this.$api.redirectTo(`/pages/user/order/order-list?type=detele&state=${this.state}`)
|
|
}
|
|
}
|
|
},500)
|
|
},500)
|
|
- }).catch(response =>{
|
|
|
|
- this.$util.msg(response.msg,2000)
|
|
|
|
|
|
+ }).catch(error =>{
|
|
|
|
+ this.$util.msg(error.msg,2000)
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -190,8 +190,8 @@
|
|
cancelOrder({orderID:this.orderID}).then(response =>{
|
|
cancelOrder({orderID:this.orderID}).then(response =>{
|
|
this.$util.msg(response.msg,2000,true,'success');
|
|
this.$util.msg(response.msg,2000,true,'success');
|
|
this.initOrderDetaileData()
|
|
this.initOrderDetaileData()
|
|
- }).catch(response =>{
|
|
|
|
- this.$util.msg(response.msg,2000)
|
|
|
|
|
|
+ }).catch(error =>{
|
|
|
|
+ this.$util.msg(error.msg,2000)
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|