管理后台-》游戏-》合作方管理-》列表增加字段联系人,联系电话,邮寄地址。公司税号,收款方名称,银行账号,开户行

master
liuweiwen 5 years ago
parent fa3adf2e0b
commit 4892db340e

@ -37,9 +37,10 @@ class PartnerController extends ThinkController
$row = intval(I('row', 0)); $row = intval(I('row', 0));
$row = empty($row) ? 10 : $row;//每页条数 $row = empty($row) ? 10 : $row;//每页条数
$data = $model $data = $model->alias('p')
->field('tab_partner.id,tab_partner.partner,tab_partner.status,tab_partner.create_time,sys_member.nickname') ->field('p.id,p.partner,p.status,p.create_time,link_man,link_phone,address,company_tax_no,payee_name,
->join('left join sys_member on sys_member.uid = tab_partner.uid') bank_account,opening_bank,m.nickname')
->join('left join sys_member as m on m.uid = p.uid')
->where($map) ->where($map)
->order('id desc') ->order('id desc')
->page($page, $row) ->page($page, $row)

@ -73,6 +73,15 @@
</th> </th>
<th>合作方</th> <th>合作方</th>
<th>显示状态</th> <th>显示状态</th>
<th>联系人</th>
<th>联系电话</th>
<th>邮寄地址</th>
<th>公司税号</th>
<th>收款方名称</th>
<th>银行账号</th>
<th>开户行</th>
<th>添加人</th> <th>添加人</th>
<th>添加时间</th> <th>添加时间</th>
<th style="width:10%;min-width:150px;">操作</th> <th style="width:10%;min-width:150px;">操作</th>
@ -89,6 +98,15 @@
<td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td> <td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
<td>{$data.partner}</td> <td>{$data.partner}</td>
<td>{$data.status}</td> <td>{$data.status}</td>
<td>{$data.link_man}</td>
<td>{$data.link_phone}</td>
<td>{$data.address}</td>
<td>{$data.company_tax_no}</td>
<td>{$data.payee_name}</td>
<td>{$data.bank_account}</td>
<td>{$data.opening_bank}</td>
<td>{$data.nickname}</td> <td>{$data.nickname}</td>
<td>{$data.create_time}</td> <td>{$data.create_time}</td>
<td> <td>

Loading…
Cancel
Save