12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- {extend name="common/common2" /}
- {block name="main"}
- <style>
- .layui-laydate-content>.layui-laydate-list {
- padding-bottom: 0px;
- overflow: hidden;
- }
- .layui-laydate-content>.layui-laydate-list>li{
- width:50%
- }
- .merge-box .scrollbox .merge-list {
- padding-bottom: 5px;
- }
- .laydate-time-list ol li{
- padding-left:55px !important;
- }
- </style>
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>未转运提醒设置</h5>
- </div>
- <div class="ibox-content">
- <form method="post" action="{:url('index')}" class="form-horizontal">
- <div class="form-group">
- <label class="col-sm-2 control-label">每日未转运提示</label>
- <div class="col-sm-6">
- <label class="cr-inline">
- <input type="radio" value="0" name="waste_status">关闭
- </label>
- <label class="cr-inline">
- <input type="radio" value="1" name="waste_status">开启
- </label>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">每日提醒时间</label>
- <div class="col-sm-2">
- <input type="text" class="form-control" id="time" readonly value="{$waste_time|default=''}" name="waste_time">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">提醒人员</label>
- <div class="col-sm-6">
- {:widget_view('common/multiselect',['name'=>'waste_user','lists' => $user, 'val' => $waste_user?$waste_user:[]])}
- </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" target-form="form-horizontal" type="submit">保 存</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script type="text/javascript" src="/static/layDate-v5.0.9/laydate.js"></script>
- <script>
- laydate.render({
- elem: '#time',
- type: 'time',
- trigger: 'click' ,
- format:'HH:mm',
- theme:'#148d8f'
- });
- $(document).ready(function(){
- formSetValue("waste_status", {$waste_status|default=0});
- });
- </script>
- {/block}
|