PDF回显

This commit is contained in:
mengxiaolong
2020-08-10 10:13:22 +08:00
parent 5acefd3ce6
commit 2d0ab9d958

View File

@@ -261,7 +261,7 @@ export default {
if (this.transfer.mode !== 2) {
// 校验开户行
if (!this.transfer.bank) {
return this.$toast('请选择开户行')
return this.$toast('请选择开户行')
}
// 银行卡号校验
let regx = /^(\d{16}|\d{18}|\d{19})$/
@@ -269,7 +269,7 @@ export default {
return this.$toast('银行卡号不符合规则')
}
if (this.transfer.cardPhoto.length === 0) {
return this.$toast('请上传银行卡片')
return this.$toast('请上传银行卡片')
}
}
@@ -389,13 +389,13 @@ export default {
if (this.issueType === '818901') {
// 校验处理方式
if (this.transfer.mode === '') {
return this.$toast('请选择处理方式')
return this.$toast('请选择处理方式')
}
// 非终止转账
if (this.transfer.mode !== 2) {
// 校验开户行
if (!this.transfer.bank) {
return this.$toast('请选择开户行')
return this.$toast('请选择开户行')
}
// 银行卡号校验
let regx = /^(\d{16}|\d{18}|\d{19})$/
@@ -403,7 +403,7 @@ export default {
return this.$toast('银行卡号不符合规则')
}
if (this.transfer.cardPhoto.length === 0) {
return this.$toast('请上传银行卡片')
return this.$toast('请上传银行卡片')
}
}
}
@@ -493,7 +493,7 @@ export default {
})
// 包含投保人和被保人证件id和姓名
this.problemInfo = rs.content
this.pdfUrl = this.problemInfo.pdfUrl
// this.pdfUrl = this.problemInfo.pdfUrl
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfUrl}`)
this.problemDetail = this.problemInfo.list[0]
// 问题件接收人类型: 0投保人, 1被保人