|
@@ -232,6 +232,7 @@ export default {
|
|
|
rules: {
|
|
|
seatTypeId: [{ required: true, message: '请选择票档', trigger: ['blur','change'] }],
|
|
|
realPrice_1: [{ required: true, message: '请输入金额', trigger: ['blur','change'] }],
|
|
|
+ paymentType: [{ required: true, message: '请输入支付方式', trigger: ['blur','change'] }],
|
|
|
rePaymentTime: [{ required: true, message: '选择日期', trigger: ['blur','change'] }],
|
|
|
photoList: [{ required: true, message: '请上传凭证', trigger: ['blur','change'] }],
|
|
|
goodsDiffAmount: [{ required: true, message: '请输入金额', trigger: ['blur','change'] }],
|
|
@@ -364,7 +365,7 @@ export default {
|
|
|
this.$message.error('团队授信余额不足!!!');
|
|
|
return
|
|
|
}
|
|
|
- if((this.rebookForm.paymentType == 3 || this.rebookForm.paymentType == 6) && this.form.photoList.length<1){
|
|
|
+ if((this.rebookForm.paymentType == 3 || this.rebookForm.paymentType == 6) && this.rebookForm.photoList.length<1){
|
|
|
this.$message.error('请上传凭证')
|
|
|
return
|
|
|
}
|
|
@@ -553,15 +554,15 @@ export default {
|
|
|
},
|
|
|
async handleCorporatePay(row) {
|
|
|
// 获取余额信息
|
|
|
- try {
|
|
|
- const balanceRes = await getBalanceInfo(row.memberId)
|
|
|
- if(balanceRes.code === 200) {
|
|
|
- this.balance = balanceRes.data.balance
|
|
|
- this.grantQuota = balanceRes.data.grantSurplus
|
|
|
+ try {
|
|
|
+ const balanceRes = await getBalanceInfo(row.memberId)
|
|
|
+ if(balanceRes.code === 200) {
|
|
|
+ this.balance = balanceRes.data.balance
|
|
|
+ this.grantQuota = balanceRes.data.grantSurplus
|
|
|
+ }
|
|
|
+ } catch(err) {
|
|
|
+ console.error('获取余额信息失败', err)
|
|
|
}
|
|
|
- } catch(err) {
|
|
|
- console.error('获取余额信息失败', err)
|
|
|
- }
|
|
|
},
|
|
|
}
|
|
|
}
|