소스 검색

fix:报工的时候数据格式错误

lupeng 5 달 전
부모
커밋
ce290aaef4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/pro-operation/report-work/index.vue

+ 1 - 1
src/views/pro-operation/report-work/index.vue

@@ -287,7 +287,7 @@ const confirmClick = () => {
     processId: processStore.scanInfo.id,
     processUserReportList: persons.value,
     seqList: selectedProcess.value,
-    signatureId: selectedSign.value,
+    signatureId: Array.isArray(selectedSign.value) && selectedSign.value.length === 0?null:selectedSign.value,
     operateCondition: operateCondition.value,
   };