From 19f5949491976905f3cd3fd53407ff4898080a46 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 12 三月 2024 17:07:58 +0800
Subject: [PATCH] bug修复
---
src/views/supplierManage/supplier/DetailSupplier.vue | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/src/views/supplierManage/supplier/DetailSupplier.vue b/src/views/supplierManage/supplier/DetailSupplier.vue
index d3ea7d9..5c9aee8 100644
--- a/src/views/supplierManage/supplier/DetailSupplier.vue
+++ b/src/views/supplierManage/supplier/DetailSupplier.vue
@@ -76,13 +76,8 @@
<!-- 閲囪喘璁㈠崟-鍩烘湰淇℃伅 -->
<!-- 浜у搧淇℃伅 -->
<div class="basic-info">
- <div class="basic-info-label" @click="expandClick('basic')">
- <i v-if="isBasicExpand" class="el-icon-arrow-down"></i>
- <i v-else class="el-icon-arrow-up"></i>
- <span style="margin-left: 10px">浜у搧淇℃伅</span>
- </div>
- <div v-show="isBasicExpand" class="basic-info-content">
- <el-button type="primary" size="mini" @click="toPurchaseBtn"><i class="el-icon-plus"></i> 鏂板缓</el-button>
+ <div class="basic-info-content" >
+ <el-button type="primary" size="mini" @click="toPurchaseBtn"><i class="el-icon-plus"></i> 鏂板缓</el-button>
<TableCommonView
style="margin-top: 2px"
class="content-table"
@@ -133,8 +128,8 @@
showCol: ['閲囪喘鍗曞彿', '閲囪喘鍗曞悕绉�', '鍗曟嵁绫诲瀷', '渚涘簲鍟嗗悕绉�', '閲囪喘鏁伴噺', '鏀惰揣浠撳簱','缁忓姙浜�','鍒跺崟浜�'],
tableColumn: [
{ label: "鍗曟嵁绫诲瀷", prop: "orderType", min: 130 },
- { label: "閲囪喘鍗曞彿", prop: "number", min: 150, isCommonClick: true ,default:true},
- { label: "閲囪喘鍗曞悕绉�", prop: "name", min: 130, isCommonClick: true },
+ { label: "閲囪喘鍗曞彿", prop: "number", min: 150,default:true},
+ { label: "閲囪喘鍗曞悕绉�", prop: "name", min: 130 },
{ label: "渚涘簲鍟嗗悕绉�", prop: "supplierName", min: 130 },
{ label: "閲囪喘鏁伴噺", prop: "quantity", min: 130 },
{ label: "鏀惰揣浠撳簱", prop: "warehouse", min: 130 },
@@ -312,8 +307,10 @@
},
// 涓嬭浇鍚堝悓闄勪欢
downLoadFiles(){
- let url = "/api/downloadContract?id=" + this.commonDetail.infomation.fileId
- download(url, "", "")
+ if(this.detailConfig.infomation.contract.fileName){
+ let url = "/api/downloadContract?id=" + this.commonDetail.infomation.fileId
+ download(url, "", "")
+ }
}
}
}
@@ -366,6 +363,7 @@
font-size: 14px;
}
.basic-info-content {
+ margin-top: 10px;
background: #fff;
ul {
padding-inline-start: 0;
--
Gitblit v1.8.0