瀏覽代碼

复制本表加合同段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('操作成功')