到账开票审核和来款回显支持pdf

This commit is contained in:
zhaoxiao
2021-12-24 16:24:54 +08:00
parent 4bf9cf9a3a
commit 12437e8fd9
2 changed files with 18 additions and 12 deletions
@@ -136,10 +136,10 @@ export default {
methods: {
async open(record) {
let flag = await this.getProofInfo(record)
if(!flag){
this.$message.warn('项目已审核')
return
}
if(!flag){
this.$message.warn('项目已审核')
return
}
this.form.resetFields()
let userInfo = Vue.ls.get(USER_INFO)
// 默认隐藏说明
@@ -157,15 +157,15 @@ export default {
*/
getProofType(record) {
if (record.projectType && (record.projectType.toString() === '5' || record.projectType.toString() === '6')) {
if (this.proofInfo.paymentMethod === '1') {
if (this.proofInfo.paymentMethod.toString() === '1') {
this.proofType = 'img'
return
}
if (this.proofInfo.paymentMethod === '2') {
if (this.proofInfo.paymentMethod.toString() === '2') {
this.proofType = 'pdf'
return
}
if (this.proofInfo.paymentMethod === '3') {
if (this.proofInfo.paymentMethod.toString() === '3') {
this.proofType = 'none'
return
}