|
|
|
@ -100,7 +100,7 @@ Page({ |
|
|
|
cancelOrder: function(e){ |
|
|
|
Dialog.confirm({ title: '温馨提示', message: '确定取消该订单?' }).then(() => { |
|
|
|
wx.showLoading({ title: '正在获取', mask: true }) |
|
|
|
cancelOrder(this.data.form.id).then(result => { |
|
|
|
cancelOrder(e.currentTarget.dataset.id).then(result => { |
|
|
|
wx.hideLoading() |
|
|
|
util.showToast('订单已经删除') |
|
|
|
this.onRefreshList() |
|
|
|
|