【修改】到账开票的显示信息的bug

This commit is contained in:
fengachen
2022-07-29 15:10:59 +08:00
parent 76ecc88c6d
commit 67c5434731
2 changed files with 21 additions and 6 deletions
@@ -484,8 +484,13 @@ export default {
if (record.projectType === 3) {
this.meetingType = record.meetingType
this.situationId = record.situationId
let params = {
meetingType:record.meetingType,
situationId:record.situationId,
type:'kp'
}
this.$refs.auditModal.title = '审核凭证'
this.$refs.auditModal.open(record, false)
this.$refs.auditModal.open(params, false)
return
}
},
@@ -223,27 +223,37 @@ export default {
signUpPersonId: '',
}
},
watch:{
situationId(val){
this.signUpPersonId = val
this.querySingUpUserInfo()
return val
}
},
methods: {
open(record, signUp) {
this.form.resetFields()
this.signUpPersonId = this.situationId ? this.situationId : record.id
this.querySingUpUserInfo()
// 控制行程信息显示 审核凭证不显示
this.checkSignBool = signUp || false
let meetingType = this.meetingType ? this.meetingType+'' :this.$route.query.meetingType
// prop meetingType 第一次传进来值拿不
if(Object.prototype.hasOwnProperty.call(record,'meetingType')){
// 到账开票
if(record.type && record.type === 'kp' ){
meetingType = record.meetingType + ''
this.signUpPersonId = record.situationId
this.querySingUpUserInfo()
}else {
this.querySingUpUserInfo()
}
// 会议类型不同 url不同
this.url = Object.assign({}, this.createUrlByMeetingType(meetingType))
this.visible = true
console.log( this.url,this.url)
},
close() {
this.$emit('close')
this.visible = false
this.model = {}
this.signUpPersonId = ''
},
handleOk() {
const that = this