diff --git a/src/views/foodManage/supplierManage/supplierList/index.vue b/src/views/foodManage/supplierManage/supplierList/index.vue index 48b9e00a..2d36d0d8 100644 --- a/src/views/foodManage/supplierManage/supplierList/index.vue +++ b/src/views/foodManage/supplierManage/supplierList/index.vue @@ -661,6 +661,11 @@ export default { this.idCardImgF=[] } this.form = Object.assign({}, row) + let arr = ['2'] + this.form.categoryModelList.forEach(item=>{ + arr.push(item.categoryId) + }) + this.$set(this.form,"categoryIdList",arr) this.form.mainQualificationList.forEach(item=>{ if(item.imgUrl&&item.imgUrl!=''){ item.fileList = [{url:item.imgUrl}]