|
|
@@ -94,6 +94,9 @@
|
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="order:orderbase:export">
|
|
|
<i class="fa fa-download"></i> 导出
|
|
|
</a>
|
|
|
+ <a class="btn btn-danger" onclick="refreshArrivalTime()" shiro:hasPermission="order:orderbase:refreshArrivalTime">
|
|
|
+ <i class="fa fa-refresh"></i> 批量刷新确认期望到货时间
|
|
|
+ </a>
|
|
|
</div>
|
|
|
<div class="col-sm-12 select-table table-striped">
|
|
|
<table id="bootstrap-table"></table>
|
|
|
@@ -101,6 +104,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<th:block th:include="include :: footer" />
|
|
|
+ <th:block th:include="include :: layout-latest-js" />
|
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
|
<script th:inline="javascript">
|
|
|
var orderStatusDatas = [[${@dict.getType('order_type')}]];
|
|
|
@@ -186,7 +190,18 @@
|
|
|
autoclose: true
|
|
|
});
|
|
|
});
|
|
|
-
|
|
|
+ function refreshArrivalTime () {
|
|
|
+ $.modal.confirm("批量刷新确认期望到货时间吗?", function() {
|
|
|
+ $.operate.get(prefix + "/refreshArrivalTime", function(result) {
|
|
|
+ if (result.code == 0) {
|
|
|
+ $.modal.alertSuccess(result.msg)
|
|
|
+ } else {
|
|
|
+ $.modal.alertError(result.msg);
|
|
|
+ }
|
|
|
+ $.modal.closeLoading();
|
|
|
+ });
|
|
|
+ });
|
|
|
+ };
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|