From 8890d7dc1bdf54ba3e4dc90b6d79f4224f8cbd2a Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期一, 22 九月 2025 13:38:10 +0800
Subject: [PATCH] yys  1.回款登记台账页面,增加一个开票日期列 2.销售台账,在合同金额后面,增加已开票金额、待开票金额、已回款金额、待回款金额

---
 src/components/filePreview/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/filePreview/index.vue b/src/components/filePreview/index.vue
index 7221b25..cda5b56 100644
--- a/src/components/filePreview/index.vue
+++ b/src/components/filePreview/index.vue
@@ -88,6 +88,7 @@
 });
 
 const isPdf = computed(() => {
+  console.log(fileUrl.value)
   return /\.pdf$/i.test(fileUrl.value);
 });
 
@@ -163,7 +164,7 @@
 };
 
 const open = (url) => {
-  fileUrl.value = javaApi + url;
+  fileUrl.value = window.location.protocol+'//'+window.location.host+ url;
   dialogVisible.value = true;
 };
 const handleClose = () => {

--
Gitblit v1.9.3