dengrui 8 hónapja
szülő
commit
8fb3af44bf
1 módosított fájl, 8 hozzáadás és 1 törlés
  1. 8 1
      src/views/pro-steps/components/screwdriver.vue

+ 8 - 1
src/views/pro-steps/components/screwdriver.vue

@@ -97,7 +97,9 @@ import {
   startData,
   endData,
 } from "@/api/prosteps/screwdriver";
+import { useProcessStore } from "@/store";
 import { emitter, EventsNames } from "@/utils/common";
+const store = useProcessStore();
 const page = reactive({
   pageSize: 10,
   pageNo: 1,
@@ -113,7 +115,12 @@ const getData = async () => {
   page.total = data.totalCount;
 };
 const begin = async () => {
-  const { code } = await startData();
+  const { code } = await startData({
+    workOrderCode: store.odersData.workOrderCode,
+    seqNo: store.useSeqNo,
+    operationId: store.odersData.operationId,
+    operationName: store.processInfo.operationName,
+  });
   if (code == "200") {
     ElMessage.success("操作成功");
   }