1234567891011121314151617181920212223242526272829303132333435 |
- {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="importexcel" enctype="multipart/form-data" class="form-horizontal">
- <div class="form-group">
- <label class="col-sm-2 control-label">选择文件(支持:xls,xlsx)<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="file" name="file" id="file" class="form-control" value="" accept=".xls,.xlsx">
- </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-sm btn-primary" type="submit">确定导入</button>
- <a href="downloadtem" class="btn btn-sm btn-danger">下载模板</a>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script>
- $(document).ready(function(){
- formSetValue("enable", {$info.enable|default=1});
- });
- </script>
- {/block}
|