Procházet zdrojové kódy

材料进场上传附件更改

duy před 2 roky
rodič
revize
08b07a7859
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 5 2
      src/views/tentative/material/approach.vue

+ 5 - 2
src/views/tentative/material/approach.vue

@@ -644,10 +644,13 @@ const viewAttachmentModal = ref(false)
 const viewAttachmentModalClick = (row) => {
     tableRowData.value = row
     viewAttachmentModal.value = true
+     tabTypeKey.value='productionCertificate'
+    const key = tabTypeKey.value
+    ispdf.value=getCaption( row[key])
 }
 
 //类型tab数据和相关处理
-const tabTypeKey = ref('productionCertificate')
+const tabTypeKey = ref('')
 const tabTypeKeyType=ref(1)
 const ispdf=ref(-1)
 const tabTypeTab = ref([
@@ -709,7 +712,7 @@ const tableRowPdfFinished = async (data1) => {
     tableRowData.value = row
     tableRowPdfDisabled.value = false
     if (!error && code === 200) {
-        window?.$message?.success('操作成功')
+        // window?.$message?.success('操作成功')
         await getTableData()
     }
 }