Browse Source

no message

master
xpz2018 4 years ago
parent
commit
54fed47712
9 changed files with 9 additions and 9 deletions
  1. 2
      pages/process/check-list/index.js
  2. 2
      pages/process/order-info/index.js
  3. 2
      pages/process/order-list/index.js
  4. 2
      pages/process/order-price/index.js
  5. 2
      pages/process/outside-add/index.js
  6. 2
      pages/process/outside-list/index.js
  7. 2
      pages/process/payment-list/index.js
  8. 2
      pages/storage/order-list/index.js
  9. 2
      pages/storage/pound-list/index.js

2
pages/process/check-list/index.js

@ -109,7 +109,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
cancelOrder(e.currentTarget.dataset.id).then(result => { cancelOrder(e.currentTarget.dataset.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showToast('订单已经删除')
util.showToast('订单已经消该')
this.onRefreshList() this.onRefreshList()
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/process/order-info/index.js

@ -111,7 +111,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
cancelOrder(this.data.form.id).then(result => { cancelOrder(this.data.form.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showBackToast('订单已经删除')
util.showBackToast('订单已经消该')
event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' }) event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' })
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/process/order-list/index.js

@ -135,7 +135,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
cancelOrder(e.currentTarget.dataset.id).then(result => { cancelOrder(e.currentTarget.dataset.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showToast('订单已经删除')
util.showToast('订单已经消该')
this.onRefreshList() this.onRefreshList()
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/process/order-price/index.js

@ -138,7 +138,7 @@ Scene({
wx.showLoading({ title: '处理中', mask: true }) wx.showLoading({ title: '处理中', mask: true })
cancelOrder(this.data.form.id).then(result => { cancelOrder(this.data.form.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showBackToast('订单已经删除')
util.showBackToast('订单已经消该')
event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' }) event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' })
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/process/outside-add/index.js

@ -153,7 +153,7 @@ Scene({
wx.showLoading({ title: '处理中', mask: true }) wx.showLoading({ title: '处理中', mask: true })
cancelOrder(this.data.form.scrapPaperReceiptId).then(result => { cancelOrder(this.data.form.scrapPaperReceiptId).then(result => {
wx.hideLoading() wx.hideLoading()
util.showBackToast('订单已经删除')
util.showBackToast('订单已经消该')
event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' }) event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' })
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/process/outside-list/index.js

@ -130,7 +130,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
cancelOrder(e.currentTarget.dataset.id).then(result => { cancelOrder(e.currentTarget.dataset.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showToast('订单已经删除')
util.showToast('订单已经消该')
this.onRefreshList() this.onRefreshList()
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/process/payment-list/index.js

@ -90,7 +90,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
cancelOrder(e.currentTarget.dataset.id).then(result => { cancelOrder(e.currentTarget.dataset.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showToast('订单已经删除')
util.showToast('订单已经消该')
this.onRefreshList() this.onRefreshList()
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/storage/order-list/index.js

@ -129,7 +129,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
cancelOrder(e.currentTarget.dataset.id).then(result => { cancelOrder(e.currentTarget.dataset.id).then(result => {
wx.hideLoading() wx.hideLoading()
util.showToast('订单已经删除')
util.showToast('订单已经消该')
this.onRefreshList() this.onRefreshList()
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

2
pages/storage/pound-list/index.js

@ -94,7 +94,7 @@ Scene({
wx.showLoading({ title: '正在获取', mask: true }) wx.showLoading({ title: '正在获取', mask: true })
deletePound({id: e.currentTarget.dataset.id}).then(result => { deletePound({id: e.currentTarget.dataset.id}).then(result => {
wx.hideLoading() wx.hideLoading()
util.showToast('订单已经删除')
util.showToast('订单已经消该')
this.onRefreshList() this.onRefreshList()
}).catch(err => { }).catch(err => {
wx.hideLoading() wx.hideLoading()

Loading…
Cancel
Save