From 789a2ddb815dbcac398928b32a048a490a5b414d Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 19:00:17 +0800 Subject: [PATCH] 收款计划的收款计划负责人默认选中登录人的逻辑,之前是name修改为id,切初始的时候循环添加到列表中 --- src/views/other/payment/collectionPlan/AddCollectionPlan.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/other/payment/collectionPlan/AddCollectionPlan.vue b/src/views/other/payment/collectionPlan/AddCollectionPlan.vue index 8b9d4d3..b36e2ac 100644 --- a/src/views/other/payment/collectionPlan/AddCollectionPlan.vue +++ b/src/views/other/payment/collectionPlan/AddCollectionPlan.vue @@ -209,7 +209,6 @@ created() { console.log(this.editCommonConfig) this.setData() - this.setTableForm() this.getCommonData() }, methods: { @@ -253,7 +252,9 @@ this.$set(this.editConfig.infomation, "principalId", item.id) } }) + this.principalId=this.editConfig.infomation.principalId } + this.setTableForm() }) .catch((err) => { console.log(err) -- Gitblit v1.8.0