695593266@qq.com 4 месяцев назад
Родитель
Сommit
51855ea878
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/views/productionPlan/components/auxiliaryMaterial.vue

+ 3 - 1
src/views/productionPlan/components/auxiliaryMaterial.vue

@@ -794,7 +794,9 @@
 
       async getFindAssistMaterialInfoByPlanId(itemData) {
         const res = await findAssistMaterialInfoByPlanId({
-          planId: itemData.productionPlanId,
+          planId: itemData.productionPlanId
+            ? itemData.productionPlanId
+            : itemData.id,
           bomVersionId: itemData.bomCategoryId,
           routingId: itemData.produceRoutingId
         });