订单状态
This commit is contained in:
parent
ea674336ff
commit
d78b636d6b
|
|
@ -4,6 +4,12 @@
|
||||||
<th:block th:include="include :: header('订单列表')"/>
|
<th:block th:include="include :: header('订单列表')"/>
|
||||||
<th:block th:include="include :: layout-latest-css"/>
|
<th:block th:include="include :: layout-latest-css"/>
|
||||||
<th:block th:include="include :: ztree-css"/>
|
<th:block th:include="include :: ztree-css"/>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#orderSearchBtnGroup {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
|
|
||||||
|
|
@ -14,18 +20,19 @@
|
||||||
<form id="order-form">
|
<form id="order-form">
|
||||||
<input type="hidden" id="deptId" name="deptId">
|
<input type="hidden" id="deptId" name="deptId">
|
||||||
<input type="hidden" id="parentId" name="parentId">
|
<input type="hidden" id="parentId" name="parentId">
|
||||||
|
<input type="hidden" id="orderStatus" name="orderStatus"/>
|
||||||
<div class="select-list">
|
<div class="select-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
订单号:<input type="text" name="code"/>
|
订单号:<input type="text" name="code"/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<!-- <li>-->
|
||||||
订单状态:<select name="orderStatus" th:with="type=${@dict.getType('order_status')}">
|
<!-- 订单状态:<select name="orderStatus" th:with="type=${@dict.getType('order_status')}">-->
|
||||||
<option value="">所有</option>
|
<!-- <option value="">所有</option>-->
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}"-->
|
||||||
th:value="${dict.dictValue}"></option>
|
<!-- th:value="${dict.dictValue}"></option>-->
|
||||||
</select>
|
<!-- </select>-->
|
||||||
</li>
|
<!-- </li>-->
|
||||||
<li>
|
<li>
|
||||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
||||||
class="fa fa-search"></i> 搜索</a>
|
class="fa fa-search"></i> 搜索</a>
|
||||||
|
|
@ -38,12 +45,60 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group-sm" id="toolbar" role="group">
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<div class="btn-group-sm" role="group">
|
||||||
<a class="btn btn-warning" onclick="$.table.exportExcel()"
|
<a class="btn btn-warning" onclick="$.table.exportExcel()"
|
||||||
shiro:hasPermission="order:order:export">
|
shiro:hasPermission="order:order:export">
|
||||||
<i class="fa fa-download"></i> 导出
|
<i class="fa fa-download"></i> 导出
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="orderSearchBtnGroup" role="group">
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(0)">
|
||||||
|
新订单
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(1)">
|
||||||
|
未约/未排
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(2)">
|
||||||
|
待上门
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(3)">
|
||||||
|
服务中
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(4)">
|
||||||
|
确认中
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(5)">
|
||||||
|
已完成
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="searchByOrderStatus(6)">
|
||||||
|
已取消
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="">
|
||||||
|
售后中
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="">
|
||||||
|
今日待上门
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="">
|
||||||
|
明日待上门
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="btn btn-success btn-outline" onclick="">
|
||||||
|
超时单
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-12 select-table table-striped">
|
<div class="col-sm-12 select-table table-striped">
|
||||||
<table id="bootstrap-table"></table>
|
<table id="bootstrap-table"></table>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -206,6 +261,11 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function searchByOrderStatus(orderStatus) {
|
||||||
|
$('#orderStatus').val(orderStatus);
|
||||||
|
$.table.search();
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue