From 75bac456c3d66f6b173b1213776158c3bc5f8b96 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期日, 05 十一月 2023 09:45:24 +0800
Subject: [PATCH] 后台bug修改

---
 cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js
index a3ed6b0..4a36025 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js
@@ -43,7 +43,7 @@
             align: 'center',
             valign: 'middle',
             formatter: function(value, row) {
-                    if (row.status === 0) {
+                    if (row.status === 0 ) {
                                if (value) {
                         var moneyValues = value.split(',');
                     var moneyText = moneyValues[0] + '元/' + moneyValues[1] + '玩湃币';
@@ -51,11 +51,16 @@
                     }
 
                     else {
-                        if (row.payType === 3){
-                        return row.payMoney+'玩湃币' }else {
+                        if (row.payType === 4){
+                            var moneyValues = value.split(',');
+                            var moneyText = moneyValues[0] + '元/' + moneyValues[1] + '玩湃币';
+                            return moneyText;
+                        }else if (row.payType === 3){
+                            return row.payMoney+'玩湃币' }else {
                             return row.payMoney+'元'
                         }
 
+
                     }
 
             }

--
Gitblit v1.7.1