Commit c1077f4c authored by dragondean@qq.com's avatar dragondean@qq.com

修复供应商类别回显失败的bug

parent 566706f1
......@@ -315,7 +315,8 @@ export default {
if(this.$route.query.id){
getSupplier(this.$route.query.id).then(response => {
/* response.data.companyType = response.data.companyType.split(",") || [] */
this.formData = response.data;
this.formData = response.data
this.$set(this.formData, 'companyTypeArr', response.data.companyType?.split(",") || [])
});
}
})
......
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