Explorar o código

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

695593266@qq.com hai 2 meses
pai
achega
ff204e5978
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  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) {