|
|
@ -103,7 +103,7 @@ Page({ |
|
|
}, |
|
|
}, |
|
|
onConfirm: function({detail}){ |
|
|
onConfirm: function({detail}){ |
|
|
var nowItem = this.data.banckCardList[detail.index] |
|
|
var nowItem = this.data.banckCardList[detail.index] |
|
|
console.log(nowItem) |
|
|
|
|
|
|
|
|
// console.log(nowItem)
|
|
|
this.data.chooseBankCard.cardName = nowItem.bankName + '(' + nowItem.cardNoSuffix + '-' + nowItem.ownerName + ')' |
|
|
this.data.chooseBankCard.cardName = nowItem.bankName + '(' + nowItem.cardNoSuffix + '-' + nowItem.ownerName + ')' |
|
|
this.data.chooseBankCard.cardId = nowItem.id |
|
|
this.data.chooseBankCard.cardId = nowItem.id |
|
|
this.setData({ visible: false, chooseBankCard: this.data.chooseBankCard }) |
|
|
this.setData({ visible: false, chooseBankCard: this.data.chooseBankCard }) |
|
|
@ -123,7 +123,7 @@ Page({ |
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
paymentOrder({ factoryPermittedBankId: this.data.chooseBankCard.cardId, ids: this.data.checkIds }).then(res => { |
|
|
paymentOrder({ factoryPermittedBankId: this.data.chooseBankCard.cardId, ids: this.data.checkIds }).then(res => { |
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
if(res.data.markedWords){ |
|
|
|
|
|
|
|
|
if(res.data && res.data.markedWords){ |
|
|
Dialog.alert({ title: '温馨提示', message: res.data.markedWords }).then(() => { |
|
|
Dialog.alert({ title: '温馨提示', message: res.data.markedWords }).then(() => { |
|
|
wx.navigateBack() |
|
|
wx.navigateBack() |
|
|
}) |
|
|
}) |
|
|
|