12345678910111213141516171819202122232425262728293031323334353637383940 |
- <fieldset>
- <legend>条件搜索</legend>
- <form id="form" class="layui-form layui-form-pane form-search" action="{:request()->url()}" style="display: inline" onsubmit="return false" method="get" autocomplete="off">
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">用户名</label>
- <div class="layui-input-inline">
- <input name="name" value="{$Think.get.name|default=''}" placeholder="请输入用户名" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">手机号</label>
- <div class="layui-input-inline">
- <input name="phone" value="{$Think.get.phone|default=''}" placeholder="请输入手机号" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">HASH</label>
- <div class="layui-input-inline">
- <input name="hash" value="{$Think.get.hash|default=''}" placeholder="请输入HASH" class="layui-input">
- </div>
- </div>
- <input name="goods_id" value="{$Think.get.goods_id|default=''}" type="hidden"/>
- <div class="layui-form-item layui-inline">
- <button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
- </div>
- </form>
- <form action="" id="exportForm" method="post" style="display: inline;" >
- <button class="layui-btn layui-btn-primary layui-btn-sm" id="exportButton" type="submit" style="height: 32px;width: 73.69px;margin-left:3px; margin-bottom: 15px">
- <i class="layui-icon"></i>导 出
- </button>
- </form>
- <script>
- form.render();
- laydate.render({range: true, elem: '[name="create_at"]'})
- $('#exportButton').click(function () {
- $("#exportForm").attr('action', '/store/collect_info/get_excl?' + $('#form').serialize())
- })
- </script>
- <script>form.render()</script>
- </fieldset>
|