diff --git a/Application/Admin/Controller/PartnerController.class.php b/Application/Admin/Controller/PartnerController.class.php index c1d4986d2..9c677d708 100644 --- a/Application/Admin/Controller/PartnerController.class.php +++ b/Application/Admin/Controller/PartnerController.class.php @@ -37,9 +37,10 @@ class PartnerController extends ThinkController $row = intval(I('row', 0)); $row = empty($row) ? 10 : $row;//每页条数 - $data = $model - ->field('tab_partner.id,tab_partner.partner,tab_partner.status,tab_partner.create_time,sys_member.nickname') - ->join('left join sys_member on sys_member.uid = tab_partner.uid') + $data = $model->alias('p') + ->field('p.id,p.partner,p.status,p.create_time,link_man,link_phone,address,company_tax_no,payee_name, + bank_account,opening_bank,m.nickname') + ->join('left join sys_member as m on m.uid = p.uid') ->where($map) ->order('id desc') ->page($page, $row) diff --git a/Application/Admin/View/Partner/lists.html b/Application/Admin/View/Partner/lists.html index 223a2403e..87d478aba 100644 --- a/Application/Admin/View/Partner/lists.html +++ b/Application/Admin/View/Partner/lists.html @@ -73,6 +73,15 @@ 合作方 显示状态 + + 联系人 + 联系电话 + 邮寄地址 + 公司税号 + 收款方名称 + 银行账号 + 开户行 + 添加人 添加时间 操作 @@ -89,6 +98,15 @@ {$data.partner} {$data.status} + + {$data.link_man} + {$data.link_phone} + {$data.address} + {$data.company_tax_no} + {$data.payee_name} + {$data.bank_account} + {$data.opening_bank} + {$data.nickname} {$data.create_time}