1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {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('batchdelay',[],'')}/id/{$id}" class="form-horizontal">
- <div id="type1">
- <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'=>'delay_reason_id','lists'=>$delay_reason,'value'=>''])}
- </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" data-reload="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>
- function setType(val) {
- if(val==1){
- $("#type1").css('display','block')
- $("#type2").css('display','none')
- }else {
- $("#type2").css('display','block')
- $("#type1").css('display','none')
- }
- }
- </script>
- {/block}
|