推广员编辑推广公司

master
liuweiwen 5 years ago
parent df1b878485
commit b3fcf58932

@ -335,7 +335,8 @@ class PromoteController extends ThinkController
$this->m_title = '推广员列表';
$this->assign('commonset', M('Kuaijieicon')->where(['url'=>'Promote/lists/type/1','status'=>1])->find());
$companys = M('promote_company','tab_')->select();
$this->assign('companys', $companys);
$this->display();
}
}

@ -168,6 +168,22 @@
</td>
</tr>
</if>
<if condition="$data['company_id'] == 0">
<tr>
<td class="l">推广公司:</td>
<td class="r">
<select name="company_id" id="company_id">
<option value="0">请选择推广公司</option>
<volist name="companys" id="vo">
<option value="{$vo.id}">{$vo.company_name}</option>
</volist>
</select>
<span class="notice-text">设置该推广员所属的推广公司</span>
</td>
</tr>
</if>
<tr>
<td class="l">注册时间:</td>
<td class="r">

Loading…
Cancel
Save