Commit aca0b4ca authored by 高滢's avatar 高滢

feat(样品): 车企删除

parent d4cae745
......@@ -665,6 +665,15 @@ export default {
}
selectSampleInfo({ id: id }).then(res => {
this.editParamsForm = res.data
const foundObject = this.componentSelect.find(
item => item.id === this.editParamsForm.manufacturingEnterpriseId
)
if (foundObject) {
this.editParamsForm.manufacturingEnterpriseId =
res.data.manufacturingEnterpriseId
} else {
this.editParamsForm.manufacturingEnterpriseId = ''
}
this.dialogVisible = true
})
this.$refs.editForm.resetFields()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment