...
|
...
|
@@ -120,7 +120,11 @@ Page({ |
|
|
});
|
|
|
},
|
|
|
cancelOrder() {
|
|
|
orderHandle.cancelOrder(this.orderCode);
|
|
|
orderHandle.cancelOrder(this.orderCode, res => {
|
|
|
if (res && res.code === 200) {
|
|
|
wx.navigateBack({delta: 1});
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
payNow() {
|
|
|
orderHandle.payNow({
|
...
|
...
|
@@ -129,13 +133,21 @@ Page({ |
|
|
});
|
|
|
},
|
|
|
deleteOrder() {
|
|
|
orderHandle.deleteOrder(this.orderCode);
|
|
|
orderHandle.deleteOrder(this.orderCode, res => {
|
|
|
if (res && res.code === 200) {
|
|
|
wx.navigateBack({delta: 1});
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
viewExpress() {
|
|
|
orderHandle.expressDetail(this.orderCode);
|
|
|
},
|
|
|
confirmOrder() {
|
|
|
orderHandle.confirmReceive(this.orderCode);
|
|
|
orderHandle.confirmReceive(this.orderCode, res => {
|
|
|
if (res && res.code === 200) {
|
|
|
wx.navigateBack({delta: 1});
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
refundOrder() {
|
|
|
let that = this;
|
...
|
...
|
|