From dbb3b307bfa12f1db83701157ba6679fc3036ef0 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 24 Jul 2020 11:19:07 +0800
Subject: [PATCH] 20200724  代码提交

---
 src/main/resources/templates/febs/views/modules/trademanage/agentReturnInfo.html |    2 +-
 src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html     |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html b/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html
index 1d15fc1..6b42996 100644
--- a/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html
+++ b/src/main/resources/templates/febs/views/modules/trademanage/accountInfo.html
@@ -106,12 +106,11 @@
                                 return ''
                             }
                         }, minWidth: 80,align:'center',totalRow: true},
-
                         {field: 'accountType', title: '账号类型',
                         	templet: function (d) {
                                 if (d.accountType === 2) {
                                     return '<span style="color:red;">测试账号</span>'
-                                } else {
+                                } else if (d.accountType === 1) {
                                     return '<span style="color:green;">正常账号</span>'
                                 }
                             },minWidth: 100,align:'center'},
diff --git a/src/main/resources/templates/febs/views/modules/trademanage/agentReturnInfo.html b/src/main/resources/templates/febs/views/modules/trademanage/agentReturnInfo.html
index 7675759..3e2db38 100644
--- a/src/main/resources/templates/febs/views/modules/trademanage/agentReturnInfo.html
+++ b/src/main/resources/templates/febs/views/modules/trademanage/agentReturnInfo.html
@@ -104,7 +104,7 @@
                         	templet: function (d) {
                                 if (d.accountType === 2) {
                                     return '<span style="color:red;">测试账号</span>'
-                                } else {
+                                }else if (d.accountType === 1) {
                                     return '<span style="color:green;">正常账号</span>'
                                 }
                             },minWidth: 100,align:'center'},

--
Gitblit v1.9.1