|
@@ -419,16 +419,22 @@
|
|
|
this.vtCardId = this.vtCardList.find( item => item.orderId = orderId).cardId
|
|
|
this.vtCardValue = this.vtCardList.find( item => item.orderId = orderId).cardName
|
|
|
this.orderId=orderId
|
|
|
+ console.log(this.orderId)
|
|
|
},
|
|
|
// 续费卡确认
|
|
|
handleAffirmClick() {
|
|
|
+ let that = this
|
|
|
const data = {
|
|
|
- cardId: this.vtCardList.find( item => item.orderId = this.orderId).cardId,
|
|
|
+ cardId: this.vtCardList.find( item => item.orderId == that.orderId).cardId,
|
|
|
studentId: parseInt(this.studentId),
|
|
|
classId: parseInt(this.classId),
|
|
|
orderId:parseInt(this.orderId)
|
|
|
}
|
|
|
+ //console.log(that.orderId)
|
|
|
+ //console.log(data)
|
|
|
+ ///return false
|
|
|
NET.request(API.openRenewalCard, data,'POST').then(res=> {
|
|
|
+ console.log(res)
|
|
|
if(res.status == 10000) {
|
|
|
this.vtCardShow = false
|
|
|
this.$refs.uTips.show({
|
|
@@ -443,6 +449,11 @@
|
|
|
})
|
|
|
this.vtCardShow = false
|
|
|
}
|
|
|
+ }).catch(error => {
|
|
|
+ this.$refs.uTips.show({
|
|
|
+ title: error.message,
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
// 选择上传文件类型
|