yusheng hace 7 meses
padre
commit
ead6121aeb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/productionPlan/components/factoryAdd/index.vue

+ 2 - 2
src/views/productionPlan/components/factoryAdd/index.vue

@@ -1268,8 +1268,8 @@
       // 选择BOM
       async changeBomId(row, index, bomData) {
         if (bomData) {
-          item.bomCategoryName = bomData.name;
-          item.bomCategoryVersions = bomData.versions;
+          row.bomCategoryName = bomData.name;
+          row.bomCategoryVersions = bomData.versions;
         }
         // row.routingList = []
         return await bomRoutingList(row.bomCategoryId).then((res) => {