12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form method="post" action="{:url('apply')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$info['id']|default='0'}">
- <div class="form-group">
- <label class="col-sm-2 control-label">收取人<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- {:widget('common/select',['name'=>'user_id','lists'=>$uList,'value'=>isset($info['user_id'])?$info['user_id']:''])}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">收取地点<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- {:widget('common/select',['name'=>'waste_device_id','lists'=>$addr,'value'=>isset($info['waste_device_id'])?$info['waste_device_id']:''])}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">类型<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- {:widget('common/select',['name'=>'cateid','lists'=>$type,'value'=>isset($info['cateid'])?$info['cateid']:''])}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">重量</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" name="weight" value="{$info.weight|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">申请人<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="text" class="form-control" name="apply_user" value="{$uInfo.real_name|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">申请人电话<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="text" class="form-control" name="apply_user_phone" value="{$uInfo.mobile|default=''}">
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-6 col-sm-offset-2">
- <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
- <button class="btn cancel-btn btn-default" type="button">取 消</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script>
- $(document).ready(function(){
- });
- </script>
- {/block}
|