[bug] 收入合同关联项目--普通项目科室问题;

This commit is contained in:
zhaoxiao
2021-10-27 18:08:18 +08:00
parent 12b72221dd
commit 51e8ee5d7c
2 changed files with 19 additions and 25 deletions
@@ -150,6 +150,7 @@ export default {
requird: false,
default: null
},
// 负责人id
principal: {
type: String,
requird: false,
@@ -261,7 +262,6 @@ export default {
}
},
methods: {
/**
* 运行年份变化
*/
@@ -278,7 +278,7 @@ export default {
// 运行年份默认为当年
this.queryParam.year = new Date().getFullYear().toString()
this.lastQueryParam.year = new Date().getFullYear().toString()
//
// 默认科室、负责人
this.queryParam.principalId = this.principal
this.lastQueryParam.principalId = this.principal
this.queryParam.departId = this.departId