|
|
|
@ -120,21 +120,27 @@ Page({ |
|
|
|
util.showToast('请选择一张银行卡') |
|
|
|
return |
|
|
|
} |
|
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
|
paymentOrder({ factoryPermittedBankId: this.data.chooseBankCard.cardId, ids: this.data.checkIds }).then(res => { |
|
|
|
wx.hideLoading() |
|
|
|
if(res.data && res.data.markedWords){ |
|
|
|
Dialog.alert({ title: '温馨提示', message: res.data.markedWords }).then(() => { |
|
|
|
wx.navigateBack() |
|
|
|
}) |
|
|
|
} else { |
|
|
|
Dialog.alert({ title: '温馨提示', message: '提现申请已经提交,请等待提现结果。' }).then(() => { |
|
|
|
wx.navigateBack() |
|
|
|
var that = this |
|
|
|
wx.requestSubscribeMessage({ |
|
|
|
tmplIds: ['9nSUAoD3kMF0O3BE-YMHQB7US_IKMmjr-DKPMQ4gvsE'], |
|
|
|
complete(res) { |
|
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
|
paymentOrder({ factoryPermittedBankId: that.data.chooseBankCard.cardId, ids: that.data.checkIds }).then(res => { |
|
|
|
wx.hideLoading() |
|
|
|
if(res.data && res.data.markedWords){ |
|
|
|
Dialog.alert({ title: '温馨提示', message: res.data.markedWords }).then(() => { |
|
|
|
wx.navigateBack() |
|
|
|
}) |
|
|
|
} else { |
|
|
|
Dialog.alert({ title: '温馨提示', message: '提现申请已经提交,请等待提现结果。' }).then(() => { |
|
|
|
wx.navigateBack() |
|
|
|
}) |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|
wx.hideLoading() |
|
|
|
util.showToast(err) |
|
|
|
}) |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|
wx.hideLoading() |
|
|
|
util.showToast(err) |
|
|
|
}) |
|
|
|
}, |
|
|
|
checkList: function(e){ |
|
|
|
|