diff --git a/Application/Admin/Controller/PresidentDepositController.class.php b/Application/Admin/Controller/PresidentDepositController.class.php index 7d9f847ac..fa91bb84e 100644 --- a/Application/Admin/Controller/PresidentDepositController.class.php +++ b/Application/Admin/Controller/PresidentDepositController.class.php @@ -219,9 +219,9 @@ class PresidentDepositController extends ThinkController $record['pay_way_text'] = $payWays[$presidentDeposit['pay_way']] ?? '--'; $record['create_time'] = $presidentDeposit['create_time'] == 0 ? '--' : date('Y-m-d H:i:s', $presidentDeposit['create_time']); $record['verify_time'] = $promoteBelong && $promoteBelong['verify_time'] != 0 ? date('Y-m-d H:i:s', $promoteBelong['verify_time']) : '--'; - $record['pay_confirm_time'] = $presidentDeposit['pay_confirm_time'] == 0 ? '--' : date('Y-m-d H:i:s', $presidentDeposit['pay_confirm_time']); - $record['refund_time'] = $presidentDeposit['refund_time'] == 0 ? '--' : date('Y-m-d H:i:s', $presidentDeposit['refund_time']); - $record['pay_accept_time'] = $presidentDeposit['pay_accept_time'] == 0 ? '--' : date('Y-m-d H:i:s', $presidentDeposit['pay_accept_time']); + $record['pay_confirm_time'] = $presidentDeposit['pay_confirm_time'] == 0 ? '--' : date('Y-m-d', $presidentDeposit['pay_confirm_time']); + $record['refund_time'] = $presidentDeposit['refund_time'] == 0 ? '--' : date('Y-m-d', $presidentDeposit['refund_time']); + $record['pay_accept_time'] = $presidentDeposit['pay_accept_time'] == 0 ? '--' : date('Y-m-d', $presidentDeposit['pay_accept_time']); $record['status_text'] = $statusList[$presidentDeposit['status']]; $record['has_record'] = true; $record['status'] = $presidentDeposit['status']; diff --git a/Application/Admin/View/PresidentDeposit/form.html b/Application/Admin/View/PresidentDeposit/form.html index 3a2722b65..b6a496a7a 100644 --- a/Application/Admin/View/PresidentDeposit/form.html +++ b/Application/Admin/View/PresidentDeposit/form.html @@ -136,13 +136,13 @@ 押金收到时间: - + 押金退款时间: - + @@ -199,7 +199,7 @@ $(function(){ $('.time-stamp').each(function(){ laydate.render({ elem: this, - type: 'datetime' + type: 'date' }); }) diff --git a/Application/Admin/View/PresidentDeposit/records.html b/Application/Admin/View/PresidentDeposit/records.html index 52b5c5288..a9ba13742 100644 --- a/Application/Admin/View/PresidentDeposit/records.html +++ b/Application/Admin/View/PresidentDeposit/records.html @@ -384,7 +384,7 @@ success : function() { laydate.render({ elem: '#deposit_recept_time', - type: 'datetime', + type: 'date', value: new Date() }); }, diff --git a/Application/Admin/View/PresidentDeposit/show.html b/Application/Admin/View/PresidentDeposit/show.html index 64fa293b8..3389fd62c 100644 --- a/Application/Admin/View/PresidentDeposit/show.html +++ b/Application/Admin/View/PresidentDeposit/show.html @@ -111,14 +111,14 @@ 押金退款时间: - + 押金收到时间: - +