Browse Source

no message

feature/v2.3
xpz2018 4 years ago
parent
commit
bcaff0ff7e
1 changed files with 2 additions and 2 deletions
  1. 4
      pages/agent/order-detail/index.js

4
pages/agent/order-detail/index.js

@ -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 => {

Loading…
Cancel
Save