295cdce9 by yangjianbin

init

1 parent 78bd7cb4
...@@ -19,6 +19,11 @@ ...@@ -19,6 +19,11 @@
19 <option value="" selected>网点</option> 19 <option value="" selected>网点</option>
20 <?php foreach ($this->session->departments as $k=>$v):?> 20 <?php foreach ($this->session->departments as $k=>$v):?>
21 <option value="<?=$v->id?>"><?=$v->name?></option> 21 <option value="<?=$v->id?>"><?=$v->name?></option>
22 <?php if($v->children && !empty($v->children)):?>
23 <?php foreach ($v->children as $kk=>$vv):?>
24 <option value="<?=$vv->id?>"><?=$vv->name?></option>
25 <?php endforeach;?>
26 <?php endif;?>
22 <?php endforeach;?> 27 <?php endforeach;?>
23 </select> 28 </select>
24 </span> 29 </span>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!