奖罚记录管理-》奖罚时间为空判读,新增编辑判读

master
liuweiwen 5 years ago
parent e8f07f4292
commit 077a770de7

@ -259,7 +259,7 @@ class StatementMangementController extends ThinkController
$item['reward_type_desc'] = $item['reward_type'] == 1 ? "奖励" : "惩罚";
$item['company_type_desc'] = $item['company_type'] == 1 ? "上游公司" : "下游公司";
$item['relation_game_name'] = $games[$item['relation_game_id']];
$item['reward_time'] = date('Y-m-d H:i:s', $item['reward_time']);
$item['reward_time'] = $item['reward_time'] ? date('Y-m-d H:i:s', $item['reward_time']) : '-';
// if ($item['company_type'] == 1) {
// } else {

@ -153,7 +153,7 @@
<td>{$data.content}</td>
<td>{$data.money}</td>
<td>{$data.remark}</td>
<td>{:date('Y-m-d H:i:s',$data['reward_time'])}</td>
<td>{$data['reward_time']}</td>
<td>{:get_admin_nickname($data['creater_id'])}</td>
<td>
<a href="{:U('StatementMangement/rewardManageSave',array('id'=>$data['id']))}">编辑 </a>

@ -63,7 +63,7 @@
<form action="{:U('StatementMangement/rewardManageSave')}" enctype="application/x-www-form-urlencoded" method="POST"
class="form-horizontal form_info_ml" id="form">
<div class="formtitle"><span>奖惩编辑</span></div>
<div class="formtitle"><span>奖惩<?php if ($_GET['id']):?>编辑 <?php else:?>新增<?php endif;?></span></div>
<ul class="form_info ">
<input type="hidden" name="id" value="{$data.id}" />
<li>

Loading…
Cancel
Save