From 1738edbe080a76d6954f90a6306ebe372627c6d4 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Thu, 14 May 2020 14:13:10 +0800
Subject: [PATCH] 修改时间显示的功能

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html
index edee941..241d508 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html
@@ -66,9 +66,10 @@
                     { field: 'proEndtime', width: 120, title: '结束时间',templet:function(d){
                         return new Date(d.proEndtime).dateFormat("yyyy/MM/dd");
                     } },
-                    { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){
-                        return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss");
-                    } },
+                    // { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){
+                    //     return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss");
+                    // } },
+                    { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" },
                     { field: 'enabled', width: 100, templet: '#product-tpl-state', sort: true, title: '审核' }
                 ]]
             });

--
Gitblit v1.8.0