From 04a15056e60454472d2125d5825c598a5be111c5 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 11 十二月 2024 10:54:06 +0800
Subject: [PATCH] 电路试验上传文件报错
---
src/components/do/b1-inspect-order-plan/Inspection.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index 0497449..814896d 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -3732,6 +3732,8 @@
this.currentSample.insProduct = this.HaveJson(list)
this.currentNum++
}
+ }else {
+ this.$message.error(response.message);
}
},
beforeUpload(file) {
@@ -3739,9 +3741,9 @@
this.$message.error('涓婁紶闄勪欢鍓嶈鍏堝~鍐欏苟淇濆瓨棰戞');
return false
}else{
- if(file.name.includes('浜よ皟')||file.name.includes('浜掕皟')){
- this.$refs.CircuitParameters.saveAll()
- }
+ // if(file.name.includes('浜よ皟')||file.name.includes('浜掕皟')){
+ // this.$refs.CircuitParameters.saveAll()
+ // }
if (file.size > 1024 * 1024 * 10) {
this.$message.error('涓婁紶鏂囦欢涓嶈秴杩�10M');
this.$refs.upload.clearFiles()
--
Gitblit v1.9.3