Jelajahi Sumber

工单交接新增物料型号显示

695593266@qq.com 2 bulan lalu
induk
melakukan
ff204e5978
1 mengubah file dengan 7 tambahan dan 1 penghapusan
  1. 7 1
      src/views/produce/components/workOrderHandover/index.vue

+ 7 - 1
src/views/produce/components/workOrderHandover/index.vue

@@ -651,7 +651,13 @@
           .catch(() => {});
       },
       allSelection(id, list) {
-        this.materialList = list;
+        // console.log(list, 'list');
+        this.materialList = list.map((item) => {
+          return {
+            ...item,
+            modelType: item.categoryModel
+          };
+        });
       },
       /* 删除 */
       remove(row) {