区段赋值时清除逻辑区段code列表

This commit is contained in:
fan 2019-12-26 10:44:08 +08:00
parent 1c04b8d215
commit d79d2af32c

View File

@ -665,6 +665,7 @@ export default {
} }
this.$refs.dataform.resetFields(); this.$refs.dataform.resetFields();
this.editModel.points = []; this.editModel.points = [];
this.editModel.logicSectionCodeList = [];
this.activeName = 'first'; this.activeName = 'first';
this.editModel = deepAssign(this.editModel, selected); this.editModel = deepAssign(this.editModel, selected);
this.editModel.logicSectionNum = selected.type === '01' ? selected.logicSectionNum : [0]; this.editModel.logicSectionNum = selected.type === '01' ? selected.logicSectionNum : [0];