소스 검색

fix(产检): 修正计划规则事件对话框中的planInfo参数传递

liujt 6 달 전
부모
커밋
2d47cc2ed6

+ 1 - 1
src/views/produce/components/prenatalExamination/PlanRulesEventDialog.vue

@@ -36,7 +36,7 @@
         "
         :workOrderId="currentPlans.matchedRecords[0].id"
         :workOrderInfo="workOrderInfo"
-        :planInfo="currentPlans"
+        :planInfo="rulesInfo"
       ></workOrderDetails>
     </div>
 

+ 2 - 0
src/views/produce/components/prenatalExamination/components/workOrder/workOrderEvent.vue

@@ -792,6 +792,8 @@
             body.produceTaskId = this.planInfo.produceTaskId;
             body.produceTaskConfigId = this.planInfo.produceTaskConfigId;
 
+            console.log('body~~', body);
+
             this.butLoading = true;
 
             try {