到账开票审核和来款回显支持pdf
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user