소스 검색

创建报告传参修改

duy 5 달 전
부모
커밋
97c86ddc5d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/tentative/detect/commission.vue

+ 2 - 2
src/views/tentative/detect/commission.vue

@@ -521,11 +521,11 @@ const rowActionSave = async () => {
     if (!isForm) return
     rowActionLoading.value = true
     const { contractType } = contractInfo.value
-    const { id, expCount } = formModel.value
+    const { expCount } = formModel.value
     const { primaryKeyId } = nodeDataInfo.value
     setStoreValue('testTreeItem', nodeDataInfo.value)
     setStoreValue('prenodeDataInfo', nodeDataInfo.value)
-    const { repealType, sampleStatus } = creatRow.value
+    const { repealType, sampleStatus, id } = creatRow.value
 
     const { error, code, msg } = await mainApi.update({ id, expCount, repealType, sampleStatus })
     if (!error && code === 200) {