到账开票相关bug修改
This commit is contained in:
@@ -347,16 +347,16 @@ export default {
|
||||
},
|
||||
created() {
|
||||
// 初始化工作组信息
|
||||
this.initWorkGruopData()
|
||||
this.initWorkGroupData()
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 初始化工作组信息
|
||||
*/
|
||||
initWorkGruopData() {
|
||||
initWorkGroupData() {
|
||||
this.spinning = true
|
||||
this.workingGroupProject = this.$route.query.workingGroupProject
|
||||
this.workingGroupProjectId = this.$route.query.workingGroupProjectId
|
||||
this.workingGroupProject = this.$route.query.workingGroupProject || ''
|
||||
this.workingGroupProjectId = this.$route.query.workingGroupProjectId || ''
|
||||
this.canOperate = this.$route.query.canOperate === 'true' ? true : false
|
||||
this.filters.workingGroupId = this.workingGroupProjectId
|
||||
this.importParam.workGroupId = this.workingGroupProjectId
|
||||
@@ -365,7 +365,9 @@ export default {
|
||||
id: this.workingGroupProjectId
|
||||
}
|
||||
getWorkingGroupById(param).then(res => {
|
||||
this.workingGroupDetail = res.result
|
||||
if(res.success) {
|
||||
this.workingGroupDetail = res.result || {}
|
||||
}
|
||||
}).finally(() => {
|
||||
this.spinning = false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user