| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>爱加</title>
- <script th:include="sys/common/metaCSS" th:remove="tag"></script>
- <script th:include="sys/common/metaJS" th:remove="tag"></script>
- <script src="sys/js/My97DatePicker/WdatePicker.js" th:src="@{/static/sys/js/My97DatePicker/WdatePicker.js}"></script>
- <script src="sys/js/jquery.searchableSelect.js" th:src="@{/static/sys/js/jquery.searchableSelect.js}"></script>
- </head>
- <style>
- .tablelink{margin-right:10px;}
- .stylecss{
- color: red;
- }
- .select_width{
- width: 220px;
- }
- .date_width{
- width: 150px;
- }
- </style>
- <body>
- <div class="place">
- <span>位置:</span>
- <ul class="placeul">
- <li><a href="#">销售管理</a></li>
- <li><a href="#">商户出库统计</a></li>
- </ul>
- </div>
- <div class="rightinfo">
- <form id="seachform" th:action="@{/sys/fx/deviceOutList.html}" method="post">
- <ul class="seachform">
- <li>
- <label>商户</label>
- <select class="scinput select_width" name="merchantId" id="merchantId" style="width: 150px;" >
- <option value="">全部</option>
- <option th:each="item:${poslist}" th:if="${item.orgCode !='SSJ-FX'}" th:selected="${search.get('merchantId') eq item.id}" th:value="${item.id}">[[${item.unitName}]]</option>
- </select>
- </li>
- <li>
- <label>开始月份</label>
- <input type="text" id="startMonth" name="startMonth" autocomplete="off" onclick=" WdatePicker({ dateFmt: 'yyyy-MM', isShowToday: false, isShowClear: false });" th:value="${search.startMonth }" class="scinput date_width " placeholder="开始月份">
- </li>
- <li>
- <label>结束月份</label>
- <input type="text" id="endMonth" name="endMonth" autocomplete="off" onclick=" WdatePicker({ dateFmt: 'yyyy-MM', isShowToday: false, isShowClear: false });" th:value="${search.endMonth }" class="scinput date_width " placeholder="结束月份">
- </li>
- <li>
- <input type="button" class="scbtn" value="查询" />
- </li>
- </ul>
- </form>
- <ul class="seachform">
- <li>
- <input type="button" id="button" class="scbtn" value="导出" />
- </li>
- </ul>
- <table class="tablelist">
- <thead>
- <tr>
- <th>日期</th>
- <th>商户</th>
- <th>收货内容</th>
- <th>出库数量</th>
- <th style="color: red">销售单价</th>
- <th>出库退回</th>
- <th>当月出库</th>
- <th>累计出库</th>
- </tr>
- </thead>
- <tbody>
- <tr th:each="item:${list}" >
- <td th:text="${item.get('time')}"></td>
- <td th:text="${item.get('unit_name')}"></td>
- <td th:text="${item.get('content')}"></td>
- <td th:text="${item.get('countab')}"></td>
- <td th:text="${merchant.orgCode eq 'SSJ-FX' ? item.get('hardware_price') : '*'}"></td>
- <td th:text="${item.get('countb')}"></td>
- <td th:text="${item.get('lefts')}"></td>
- <td th:text="${item.get('total_left')}"></td>
- </tr>
- </tbody>
- </table>
- <!-- 分页 -->
- <div class="pagin">
- <div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录,当前显示第 <i class="blue">[[${page.pageNo }]] </i>页</div>
- <div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
- </div>
- </div>
- </body>
- <script type="text/javascript">
- $("#button").on('click',function(){
- document.getElementById("seachform").action = "[[${sysUrl}]]/sys/fx/exportDeviceInAndOut?type=2";
- $("#seachform").submit();
- document.getElementById("seachform").action = "[[${sysUrl}]]/sys/fx/deviceOutList.html";
- });
- $(function(){
- $('select').searchableSelect();
- });
- </script>
- </html>
|