695593266@qq.com 4 hónapja
szülő
commit
51855ea878

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

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