From 636e2cae8b77fd62496ba4d2006965f6376668f2 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 18 十一月 2025 17:41:35 +0800
Subject: [PATCH] yys 1.销售、采购关于发票的改成不必填 2.回款类型字典改-下 3.销售台账、采购台账可能不开票直接回款 4.销售台账要直接查产品名字 5.指标维护-内控值为非必填 6.所有税率都自己填,有时候可能不含税

---
 src/views/qualityManagement/processInspection/components/filesDia.vue |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/src/views/qualityManagement/processInspection/components/filesDia.vue b/src/views/qualityManagement/processInspection/components/filesDia.vue
index 66392f3..fb47850 100644
--- a/src/views/qualityManagement/processInspection/components/filesDia.vue
+++ b/src/views/qualityManagement/processInspection/components/filesDia.vue
@@ -46,18 +46,13 @@
         </div>
       </template>
     </el-dialog>
+		<filePreview ref="filePreviewRef" />
   </div>
 </template>
 
 <script setup>
 import {ref} from "vue";
-import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
-import {Search} from "@element-plus/icons-vue";
-import {
-  qualityInspectParamDel,
-  qualityInspectParamInfo,
-  qualityInspectParamUpdate
-} from "@/api/qualityManagement/qualityInspectParam.js";
+import filePreview from '@/components/filePreview/index.vue'
 import {ElMessageBox} from "element-plus";
 import {getToken} from "@/utils/auth.js";
 import {
@@ -72,6 +67,7 @@
 const dialogFormVisible = ref(false);
 const currentId = ref('')
 const selectedRows = ref([]);
+const filePreviewRef = ref()
 const tableColumn = ref([
   {
     label: "鏂囦欢鍚嶇О",
@@ -88,7 +84,14 @@
         clickFun: (row) => {
           downLoadFile(row);
         },
-      }
+      },
+			{
+				name: "棰勮",
+				type: "text",
+				clickFun: (row) => {
+					lookFile(row);
+				},
+			}
     ],
   },
 ]);
@@ -158,6 +161,10 @@
 function handleUploadError() {
   proxy.$modal.msgError("鏂囦欢涓婁紶澶辫触");
 }
+// 棰勮闄勪欢
+const lookFile = (row) => {
+	filePreviewRef.value.open(row.url)
+}
 // 鍒犻櫎
 const handleDelete = () => {
   let ids = [];

--
Gitblit v1.9.3