Browse Source

退回到发起人

cz 1 year ago
parent
commit
fd86481917
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/process/processApproval/index.vue

+ 5 - 2
src/views/process/processApproval/index.vue

@@ -329,7 +329,10 @@ const handleSubmit = async (_type) => {
             };
             data.victoriatouristJson = JSON.stringify(victoriatouristJson);
           } else if (flowForm.flowKey == "wdly_purchase") {
-            if (route.query.processType && route.query.processType == 10) {
+            if (
+              route.query.processType &&
+              (route.query.processType == 10 || route.query.processType == 30)
+            ) {
               data.purchaseDetailList = data.purchaseDetailList.map((x) => ({
                 bussinessId: x.bussinessId,
                 subscribeDetailId: x.subscribeDetailId,
@@ -459,7 +462,7 @@ const handleSubmit = async (_type) => {
               ...item.raw,
             };
           });
-          if (route.query.processType == 10) {
+          if (route.query.processType == 10 || route.query.processType == 30) {
             proxy
               .post("/flowProcess/jump", {
                 ...flowForm,