From 129fecf9a1cc53fc4d8d7ec6d7751e78571e73d0 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 21 八月 2025 17:34:13 +0800
Subject: [PATCH] 出库后刷新
---
src/components/do/b1-inspect-order-plan/Inspection.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index 4179148..3f2c62e 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -315,7 +315,7 @@
<span style="color: #3A7BFA;">淇濆瓨妯℃澘</span>
</el-button>
<!-- <el-button size="small" type="primary" @click="sampleVisible=true;uploadSample()">鏍峰搧鍒囨崲</el-button> -->
- <el-button size="small" type="primary" @click="showSampleChangeDialog" >鏍峰搧缂栧彿鏇存敼</el-button>
+ <el-button size="small" type="primary" @click="showSampleChangeDialog" v-show="!isLook">鏍峰搧缂栧彿鏇存敼</el-button>
<el-button size="small" type="primary" @click="taskVisible = true" v-show="!isLook">浠诲姟鍒囨崲</el-button>
<el-button size="small" type="primary" @click="handleSubmit" v-if="state == 1"
:loading="submitLoading">鎻愪氦</el-button>
@@ -4561,9 +4561,11 @@
let url = "";
if (res.data.type == 1) {
url = this.javaApi + "/img/" + res.data.fileUrl;
+ url = url.replace(/#/g, "%23");
file.downloadIamge(url, row.fileName);
} else {
url = this.javaApi + "/word/" + res.data.fileUrl;
+ url = url.replace(/#/g, "%23");
const link = document.createElement("a");
link.href = url;
link.download = row.fileName;
@@ -4637,6 +4639,7 @@
} else {
this.currentFile.url = this.javaApi + "/word/" + row.fileUrl;
}
+ this.currentFile.url = this.currentFile.url.replace(/#/g, "%23");
this.lookFileVisible = true;
},
handleBack() {
--
Gitblit v1.9.3