From 05f8a54cbcc8ae34da3ae6fe2081e0ca6f82174e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 21 十月 2025 14:44:18 +0800
Subject: [PATCH] fix: bug

---
 src/views/EnterpriseManage/components/WechatConfigureView.vue |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/src/views/EnterpriseManage/components/WechatConfigureView.vue b/src/views/EnterpriseManage/components/WechatConfigureView.vue
index 2060204..c9d5758 100644
--- a/src/views/EnterpriseManage/components/WechatConfigureView.vue
+++ b/src/views/EnterpriseManage/components/WechatConfigureView.vue
@@ -123,7 +123,12 @@
               :limitFileSize="10"
               accept="jpg/jpeg,png"
             ></ProFormUpload>
-            <el-button style="margin-left: 10px" type="primary" link @click="downloadTemplate"
+            <el-button
+              v-if="!isDetail"
+              style="margin-left: 10px"
+              type="primary"
+              link
+              @click="downloadTemplate"
               >妯℃澘涓嬭浇</el-button
             >
           </div>
@@ -364,7 +369,12 @@
             :limitFileSize="10"
             accept="jpg/jpeg,png"
           ></ProFormUpload>
-          <el-button style="margin-left: 10px" type="primary" link @click="downloadFRTemplate"
+          <el-button
+            v-if="!isDetail"
+            style="margin-left: 10px"
+            type="primary"
+            link
+            @click="downloadFRTemplate"
             >妯℃澘涓嬭浇</el-button
           >
         </div>
@@ -549,7 +559,7 @@
       >
         <div class="ubo-info-list-top">
           <div class="ubo-info-list-title">鏈�缁堝彈鐩婁汉淇℃伅鍒楄〃</div>
-          <div class="ubo-info-list-btn">
+          <div class="ubo-info-list-btn" v-if="!isDetail">
             <el-button type="primary" link @click="addUboInfo">娣诲姞</el-button>
           </div>
         </div>
@@ -660,7 +670,9 @@
               placeholder="璇烽�夋嫨璇佷欢鏈夋晥鏈熺粨鏉熸椂闂�"
             ></ProFormDatePicker>
           </ProFormItemV2>
-          <el-button type="primary" link @click="deleteUboInfo(index)">鍒犻櫎</el-button>
+          <el-button v-if="!isDetail" type="primary" link @click="deleteUboInfo(index)"
+            >鍒犻櫎</el-button
+          >
         </div>
       </div>
 
@@ -727,7 +739,7 @@
               v-model.trim="form.biz_address_code"
               placeholder="璇疯緭鍏ョ嚎涓嬪満鎵�鐪佸競缂栫爜"
             />
-            <el-button type="primary" link @click="downloadAddressCodeTemplate"
+            <el-button v-if="!isDetail" type="primary" link @click="downloadAddressCodeTemplate"
               >鐪佸競缂栫爜妯℃澘</el-button
             >
           </div>
@@ -900,6 +912,7 @@
               accept="jpg/jpeg,png"
             ></ProFormUpload>
             <el-button
+              v-if="!isDetail"
               style="margin-left: 10px"
               type="primary"
               link
@@ -1000,7 +1013,12 @@
       >
         <div style="display: flex; width: 100%">
           <ProFormText v-model.trim="form.settlement_id" placeholder="璇疯緭鍏ュ叆椹荤粨绠楄鍒橧D" />
-          <el-button style="margin-left: 10px" type="primary" link @click="openOuterSettleRule"
+          <el-button
+            v-if="!isDetail"
+            style="margin-left: 10px"
+            type="primary"
+            link
+            @click="openOuterSettleRule"
             >璐圭巼缁撶畻瑙勫垯瀵圭収琛�</el-button
           >
         </div>
@@ -1046,7 +1064,9 @@
         prop="bank_alias"
         :checkRules="[{ message: '璇疯緭鍏ュ紑鎴烽摱琛�' }]"
       >
+        <div v-if="isDetail">{{ form.bank_alias }}</div>
         <WeChatPayWalletBanksSelect
+          v-else
           v-model:bank_alias="form.bank_alias"
           v-model:account_bank="form.account_bank"
           v-model:account_bank_code="form.account_bank_code"

--
Gitblit v1.9.1