From b7ae3f69ae6706a692284d2f12835d213debfb1a Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 07 四月 2026 17:21:41 +0800
Subject: [PATCH] -

---
 src/pages/wallet/recharge.vue |   39 ++++++++++++++++++++++++++-------------
 1 files changed, 26 insertions(+), 13 deletions(-)

diff --git a/src/pages/wallet/recharge.vue b/src/pages/wallet/recharge.vue
index 4dbd8bf..ccfb5cd 100644
--- a/src/pages/wallet/recharge.vue
+++ b/src/pages/wallet/recharge.vue
@@ -11,12 +11,19 @@
 						<up-button type="warning" size="small" shape="circle" text='鎻愮幇'
 							@click='GetTransferMoney'></up-button>
 					</view>
-					<view class="chuany-font28">
-						鍙彁鐜颁綑棰濓細锟�<text class="c-p-l-10">{{balance}} 鍏�</text>
+					<view class="chuany-font28 c-m-b-14">
+						鍙彁鐜颁綑棰濓細锟�<text class="c-p-l-10">{{availableBalance}} 鍏�</text>
+						<view class="" v-if="isLingHuoYongGong">
+							浣欓锛氾骏<text class="c-p-l-10">{{balance}} 鍏�</text>
+							<view class="">
+								鎮ㄤ负鐏垫椿鐢ㄥ伐浜哄憳锛屽鑸嶆娂閲戦渶缂寸撼300鍏冦��
+							</view>
+						</view>
+						<view class="chuany-font20 attention ">
+							*娉細鏈�浣庢彁鐜�0.3鍏冿紝姣忔棩鎻愮幇涓嶅彲瓒呰繃2000鍏�
+						</view>
 					</view>
-					<view class="chuany-font20 attention">
-						*娉細鏈�浣庢彁鐜�0.3鍏冿紝姣忔棩鎻愮幇涓嶅彲瓒呰繃2000鍏�
-					</view>
+					
 				</view>
 
 			</view>
@@ -38,15 +45,21 @@
 		},
 		computed: {
 			...mapGetters(['userInfo', 'identity']),
+			availableBalance(){
+				return this.userInfo.userWorker.availableBalance
+			},
+			isLingHuoYongGong(){
+				return this.userInfo.userWorker.isLingHuoYongGong
+			},
 			balance() {
 				// if (this.identity == 'worker') {
-				if (this.userInfo.userWorker) {
-					return this.$common.moneySub(this.userInfo.userWorker.tiXianZonge, this.userInfo
-						.userWorker
-						.yiTiXianJine)
-				} else {
-					return '0.00'
-				}
+				// if (this.userInfo.userWorker) {
+				// 	return this.$common.moneySub(this.userInfo.userWorker.tiXianZonge, this.userInfo
+				// 		.userWorker
+				// 		.yiTiXianJine)
+				// } else {
+					return this.userInfo.userWorker.balance
+				// }
 				// } else {
 				// 	if (this.userInfo.userCompany) {
 				// 		return this.userInfo.userCompany.chongZhiYue ? this.userInfo.userCompany
@@ -85,7 +98,7 @@
 					});
 					return false
 				}
-				if (this.stringToNumber(this.money) > this.stringToNumber(this.balance)) {
+				if (this.stringToNumber(this.money) > this.availableBalance) {
 					this.$util.showToast({
 						title: "杈撳叆閲戦澶т簬鍙彁鐜伴噾棰濓紒"
 					});

--
Gitblit v1.9.1