123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- {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('option')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$info['id']|default='0'}">
- <div class="col-sm-12">
- <div class="form-group">
- <label class="control-label">所属机构<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- <input type="text" readonly class="form-control" value="{$org}">
- </div>
- </div>
- </div>
- <div class="col-sm-12">
- <div class="form-group">
- <label class="control-label">医废编号<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- <input type="text" readonly class="form-control" value="{$info.record_id}">
- </div>
- </div>
- </div>
- {if $info.user_id !=$old.user_id}
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">收取人(修改前)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- {:widget('common/select5',['name'=>'user_id','lists'=>$uList,'value'=>isset($old['user_id'])?$old['user_id']:''])}
- </div>
- </div>
- </div>
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">收取人(修改后)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- {:widget('common/select5',['name'=>'user_id1','lists'=>$uList,'value'=>isset($info['user_id'])?$info['user_id']:''])}
- </div>
- </div>
- </div>
- {/if}
- {if $info.cateid !=$old.cateid}
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">类型(修改前)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- {:widget('common/select5',['name'=>'cateid','lists'=>$type,'value'=>isset($old['cateid'])?$old['cateid']:''])}
- </div>
- </div>
- </div>
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">类型(修改后)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- {:widget('common/select5',['name'=>'cateid1','lists'=>$type,'value'=>isset($info['cateid'])?$info['cateid']:''])}
- </div>
- </div>
- </div>
- {/if}
- {if $info.waste_device_id !=$old.waste_device_id}
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">收取地点(修改前)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- {:widget('common/select5',['name'=>'waste_device_id','lists'=>$addr,'value'=>isset($old['waste_device_id'])?$old['waste_device_id']:''])}
- </div>
- </div>
- </div>
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">收取地点(修改后)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- {:widget('common/select5',['name'=>'waste_device_id1','lists'=>$addr,'value'=>isset($info['waste_device_id'])?$info['waste_device_id']:''])}
- </div>
- </div>
- </div>
- {/if}
- {if $info.weight !=$old.weight}
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">重量(修改前)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- <input type="text" class="form-control" readonly value="{$old.weight|default=''}">
- </div>
- </div>
- </div>
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">重量(修改后)<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- <input type="text" class="form-control" readonly value="{$info.weight|default=''}">
- </div>
- </div>
- </div>
- {/if}
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">申请人<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- <input type="text" class="form-control" readonly value="{$info.apply_user|default=''}">
- </div>
- </div>
- </div>
- <div class="col-sm-6">
- <div class="form-group">
- <label class="control-label">申请人电话<span class="text-danger">*</span></label></br>
- <div style="padding-right: 10px">
- <input type="text" class="form-control" readonly value="{$info.apply_user_phone|default=''}">
- </div>
- </div>
- </div>
- <div class="col-sm-12">
- <div class="form-group">
- <label class="control-label">备注</label></br>
- <div style="padding-right: 10px">
- <input type="text" class="form-control" name="remark" value="">
- </div>
- </div>
- </div>
- <div class="col-sm-12">
- <div class="form-group">
- <label class="control-label">状态</label></br>
- <div style="padding-right: 10px">
- <label class="cr-inline">
- <input type="radio" value="1" name="status">通过
- </label>
- <label class="cr-inline">
- <input type="radio" value="2" name="status">拒绝
- </label>
- </div>
- </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(){
- formSetValue("status", {$info.status1|default=1});
- });
- </script>
- {/block}
|