公司性质

master
liuweiwen 5 years ago
parent 3bb3a8b45d
commit 8dedae5587

@ -146,7 +146,7 @@ class PartnerController extends ThinkController
} elseif ($value['settlement_type'] == 2) { } elseif ($value['settlement_type'] == 2) {
$value['settlement_type'] = '月结'; $value['settlement_type'] = '月结';
} }
$value['company_type'] = $value['company_type'] == 2 ? '个人' : '公司';
$value['contract_time'] = time_format($value['contract_start_time'], 'Y/m/d') . '-' . $value['contract_time'] = time_format($value['contract_start_time'], 'Y/m/d') . '-' .
time_format($value['contract_end_time'], 'Y/m/d'); time_format($value['contract_end_time'], 'Y/m/d');
$row2 = array_sum(array_column($value['game'], 'row')) ; $row2 = array_sum(array_column($value['game'], 'row')) ;

@ -90,6 +90,7 @@
<tr> <tr>
<th style="width:8%;min-width:10px;">操作</th> <th style="width:8%;min-width:10px;">操作</th>
<th>合同合作方名称</th> <th>合同合作方名称</th>
<th>公司性质</th>
<th>对应平台</th> <th>对应平台</th>
<th>合同期限</th> <th>合同期限</th>
<th>开票税点</th> <th>开票税点</th>
@ -122,6 +123,7 @@
<a href="{:U('del',array('id'=>$data['id']))}" class="confirm ajax-get">删除</a> <a href="{:U('del',array('id'=>$data['id']))}" class="confirm ajax-get">删除</a>
</td> </td>
<td rowspan="{$data.row}">{$data.partner}</td> <td rowspan="{$data.row}">{$data.partner}</td>
<td rowspan="{$data.row}">{$data.company_type}</td>
<td rowspan="{$data.row}">{$data.matche_platform}</td> <td rowspan="{$data.row}">{$data.matche_platform}</td>
<td rowspan="{$data.row}">{$data.contract_time}</td> <td rowspan="{$data.row}">{$data.contract_time}</td>
<td rowspan="{$data.row}">{$data.invoice_rate}%</td> <td rowspan="{$data.row}">{$data.invoice_rate}%</td>

Loading…
Cancel
Save