普通项目、工作组项目关联收入合同校验,bug修改

This commit is contained in:
zhaoxiao
2021-10-19 09:00:03 +08:00
parent 285946ee43
commit cbd2687c58
11 changed files with 177 additions and 93 deletions
@@ -140,6 +140,11 @@ export default {
type: Number,
requird: false,
default: null
},
principal: {
type: String,
requird: false,
default: ''
}
},
data() {
@@ -246,14 +251,14 @@ export default {
userList: [], // 用户列表
}
},
// 部门id变化时绑定查询条件
watch: {
departId(val) {
this.queryParam.departId = val
}
},
methods: {
open() {
// 运行年份默认为当年
this.queryParam.year = new Date().getFullYear().toString()
this.lastQueryParam.year = new Date().getFullYear().toString()
//
this.queryParam.principalId = this.principal
this.queryParam.departId = this.departId
this.loadDepartTreeData()
this.visible = true
this.loadData()