|
|
|
@ -85,9 +85,9 @@ Scene({ |
|
|
|
cancelOrder: function () { |
|
|
|
Dialog.confirm({ title: '温馨提示', message: '确定预约的日期无法送货,需要销售重新到纸厂进程预约?' }).then(() => { |
|
|
|
wx.showLoading({ title: '处理中', mask: true }) |
|
|
|
cancelProxyOrder(that.data.orderInfo.orderId).then(result => { |
|
|
|
cancelProxyOrder(this.data.orderInfo.orderId).then(result => { |
|
|
|
wx.hideLoading() |
|
|
|
that.setData({ ['orderInfo.status']: 55 }) |
|
|
|
this.setData({ ['orderInfo.status']: 55 }) |
|
|
|
event.emit('ProxyMessage', { what: 400, desc: 'ProxyChange' }) |
|
|
|
util.showToast('订单已经取消') |
|
|
|
}).catch(err => { |
|
|
|
|