Browse Source

合同段分配人员,切换类型之后,后面的“选择岗位”默认显示第一个

gangyj 3 years ago
parent
commit
2c19ca7d69
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/manager/contractinfo/detail.vue

+ 1 - 0
src/views/manager/contractinfo/detail.vue

@@ -706,6 +706,7 @@ export default {
         if (val.id === this.rId) {
           if (val.children) {
             this.postList = val.children
+            this.postId = this.postList[0].id;//切换的时候默认选中第一个岗位
           } else {
             this.postList = []
           }