소스 검색

流程办理字段名称修改

cz 1 년 전
부모
커밋
c3779369ab
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/process/processApproval/index.vue
  2. 3 2
      src/views/purchaseManage/purchaseManage/handoverSlip/index.vue

+ 1 - 1
src/views/process/processApproval/index.vue

@@ -354,7 +354,7 @@ const handleSubmit = async (_type) => {
               proxy
                 .post("/flowExample/setStartData", {
                   exampleId: route.query.id,
-                  startDate: data,
+                  startData: data,
                 })
                 .then();
             }

+ 3 - 2
src/views/purchaseManage/purchaseManage/handoverSlip/index.vue

@@ -532,14 +532,15 @@ const lookRecords = (row) => {
       contractProductId: row.productId,
     })
     .then((res) => {
-      if (res.length > 0) {
+      if (res && res.length > 0) {
         activities.value = res;
         dialogVisibleTwo.value = true;
-      } else
+      } else {
         return ElMessage({
           message: "暂无跟进记录!",
           type: "info",
         });
+      }
     });
 };
 const handleFollow = (row) => {