瀏覽代碼

修改bug

695593266@qq.com 6 月之前
父節點
當前提交
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
         });