소스 검색

复制本表加合同段id

duy 2 년 전
부모
커밋
e76d9aceba
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/views/tentative/detect/components/ListItem.vue

+ 3 - 2
src/views/tentative/detect/components/ListItem.vue

@@ -671,10 +671,11 @@ const copyClick = async (item,index) => {
 }
 
 const copeBussTab = async (pkeyIds) => {
-    const { id } = baseData.value
+    const { id,contractId } = baseData.value
     const {error, code} = await dataApi.copyBussTab({
         id: id,
-        pKeyId: pkeyIds
+        pKeyId: pkeyIds,
+        contractId:contractId
     })
     if (!error && code === 200) {
         window?.$message?.success('操作成功')