Quellcode durchsuchen

bugfix: 修复工序报工-工步报工查询

zhuyong vor 11 Monaten
Ursprung
Commit
e26ec5643c
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      src/views/produce/index.vue

+ 3 - 1
src/views/produce/index.vue

@@ -336,7 +336,8 @@ import TaskDialog from '@/views/produce/components/taskDialog/index.vue';
         workTaskId: null, //选中的工单工序id
         workStepQueryParam: {
           taskId: null,
-          workOrderId: null
+          workOrderId: null,
+          bomCategoryId: null,
         }
       };
     },
@@ -504,6 +505,7 @@ import TaskDialog from '@/views/produce/components/taskDialog/index.vue';
           data.list.length > 0 ? data.list[0].taskId : null;
         this.workStepQueryParam.workOrderId =
           data.list.length > 0 ? data.list[0].id : null;
+        this.workStepQueryParam.bomCategoryId = data.list.length > 0 ? data.list[0].bomCategoryId : null;
         this.singleReportInspection =
           data.list.length > 0 ? data.list[0].singleReport : null; //获取选中的工单是单个还是批量
         this.isStep = true;