master
yulingwei 5 years ago
parent 1c633e60cb
commit 1634f14fb2

@ -219,9 +219,9 @@ class PresidentDepositController extends ThinkController
$record['pay_way_text'] = $payWays[$presidentDeposit['pay_way']] ?? '--'; $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['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['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['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 H:i:s', $presidentDeposit['refund_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 H:i:s', $presidentDeposit['pay_accept_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['status_text'] = $statusList[$presidentDeposit['status']];
$record['has_record'] = true; $record['has_record'] = true;
$record['status'] = $presidentDeposit['status']; $record['status'] = $presidentDeposit['status'];

@ -136,13 +136,13 @@
<tr> <tr>
<td class="l">押金收到时间:</td> <td class="l">押金收到时间:</td>
<td class="r"> <td class="r">
<input type="text" class="txt time-stamp" name="pay_accept_time" id="pay_accept_time" value="<?= $record['pay_accept_time']?date('Y-m-d H:i:s', $record['pay_accept_time']):''?>" readonly> <input type="text" class="txt time-stamp" name="pay_accept_time" id="pay_accept_time" value="<?= $record['pay_accept_time']?date('Y-m-d', $record['pay_accept_time']):''?>" readonly>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l">押金退款时间:</td> <td class="l">押金退款时间:</td>
<td class="r"> <td class="r">
<input type="text" class="txt time-stamp" name="refund_time" id="refund_time" value="<?=$record['refund_time']?date('Y-m-d H:i:s', $record['refund_time']):''?>" readonly> <input type="text" class="txt time-stamp" name="refund_time" id="refund_time" value="<?=$record['refund_time']?date('Y-m-d', $record['refund_time']):''?>" readonly>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -199,7 +199,7 @@ $(function(){
$('.time-stamp').each(function(){ $('.time-stamp').each(function(){
laydate.render({ laydate.render({
elem: this, elem: this,
type: 'datetime' type: 'date'
}); });
}) })

@ -384,7 +384,7 @@
success : function() { success : function() {
laydate.render({ laydate.render({
elem: '#deposit_recept_time', elem: '#deposit_recept_time',
type: 'datetime', type: 'date',
value: new Date() value: new Date()
}); });
}, },

@ -111,14 +111,14 @@
<tr> <tr>
<td class="l">押金退款时间:</td> <td class="l">押金退款时间:</td>
<td class="r table_radio"> <td class="r table_radio">
<span class="form_radio table_btn"><?=$record['refund_time']?date('Y-m-d H:i:s', $record['refund_time']) : ''?></span> <span class="form_radio table_btn"><?=$record['refund_time']?date('Y-m-d', $record['refund_time']) : ''?></span>
<span class="notice-text"></span> <span class="notice-text"></span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l">押金收到时间:</td> <td class="l">押金收到时间:</td>
<td class="r table_radio"> <td class="r table_radio">
<span class="form_radio table_btn"><?=$record['pay_accept_time']?date('Y-m-d H:i:s', $record['pay_accept_time']) : ''?></span> <span class="form_radio table_btn"><?=$record['pay_accept_time']?date('Y-m-d', $record['pay_accept_time']) : ''?></span>
<span class="notice-text"></span> <span class="notice-text"></span>
</td> </td>
</tr> </tr>

Loading…
Cancel
Save