【修改】到账开票的显示信息的bug
This commit is contained in:
@@ -484,8 +484,13 @@ export default {
|
|||||||
if (record.projectType === 3) {
|
if (record.projectType === 3) {
|
||||||
this.meetingType = record.meetingType
|
this.meetingType = record.meetingType
|
||||||
this.situationId = record.situationId
|
this.situationId = record.situationId
|
||||||
|
let params = {
|
||||||
|
meetingType:record.meetingType,
|
||||||
|
situationId:record.situationId,
|
||||||
|
type:'kp'
|
||||||
|
}
|
||||||
this.$refs.auditModal.title = '审核凭证'
|
this.$refs.auditModal.title = '审核凭证'
|
||||||
this.$refs.auditModal.open(record, false)
|
this.$refs.auditModal.open(params, false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -223,27 +223,37 @@ export default {
|
|||||||
signUpPersonId: '',
|
signUpPersonId: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch:{
|
||||||
|
situationId(val){
|
||||||
|
this.signUpPersonId = val
|
||||||
|
this.querySingUpUserInfo()
|
||||||
|
return val
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
open(record, signUp) {
|
open(record, signUp) {
|
||||||
this.form.resetFields()
|
this.form.resetFields()
|
||||||
|
|
||||||
this.signUpPersonId = this.situationId ? this.situationId : record.id
|
this.signUpPersonId = this.situationId ? this.situationId : record.id
|
||||||
this.querySingUpUserInfo()
|
|
||||||
// 控制行程信息显示 审核凭证不显示
|
// 控制行程信息显示 审核凭证不显示
|
||||||
this.checkSignBool = signUp || false
|
this.checkSignBool = signUp || false
|
||||||
let meetingType = this.meetingType ? this.meetingType+'' :this.$route.query.meetingType
|
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 + ''
|
meetingType = record.meetingType + ''
|
||||||
|
this.signUpPersonId = record.situationId
|
||||||
|
this.querySingUpUserInfo()
|
||||||
|
}else {
|
||||||
|
this.querySingUpUserInfo()
|
||||||
}
|
}
|
||||||
// 会议类型不同 url不同
|
// 会议类型不同 url不同
|
||||||
this.url = Object.assign({}, this.createUrlByMeetingType(meetingType))
|
this.url = Object.assign({}, this.createUrlByMeetingType(meetingType))
|
||||||
this.visible = true
|
this.visible = true
|
||||||
console.log( this.url,this.url)
|
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
this.model = {}
|
||||||
|
this.signUpPersonId = ''
|
||||||
},
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
const that = this
|
const that = this
|
||||||
|
|||||||
Reference in New Issue
Block a user