diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 6440abd35..c07a26c1b 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -832,7 +832,21 @@ } }, props: {}, - watch: {}, + watch: { + 'addForm.esMatingRelations': { + handler: function(val) { + if(val && val !== ''){ + if(val.indexOf(",") !== -1){ + const list = val.split(",") + const filterList = list.filter(s => s !== 'null'); + this.addForm.esMatingRelations = filterList.join(","); + }else if(val === 'null'){ + this.addForm.esMatingRelations = ""; + } + } + } + }, + }, methods: { workChange (data) { this.workGroupList = data