From 172f7410f5576a19b2380b5ec0da3de76ce37283 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 24 Feb 2023 11:56:38 +0800 Subject: [PATCH] 商品单位 --- src/main/resources/templates/febs/views/modules/order/orderList.html | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/order/orderList.html b/src/main/resources/templates/febs/views/modules/order/orderList.html index 5e445e9..85bf849 100644 --- a/src/main/resources/templates/febs/views/modules/order/orderList.html +++ b/src/main/resources/templates/febs/views/modules/order/orderList.html @@ -89,7 +89,7 @@ </form> <table lay-filter="orderTable" lay-data="{id: 'orderTable'}"></table> <style type="text/css"> - .layui-table-cell{ + .layui-table cell{ text-align:center; height: auto; white-space: nowrap; /*文本不会换行,在同一行显示*/ @@ -143,7 +143,7 @@ $reset = $view.find('#reset'), $searchForm = $view.find('form'), $add = $view.find('#add'), - sortObject = {field: 'phone', type: null}, + sortObject = {field: 'orderTime', type: 'desc'}, formSelects = layui.formSelects, laydate = layui.laydate, tableIns; @@ -205,9 +205,11 @@ febs.alert.warn('请选择需要统计的订单'); return; } - febs.modal.open( '商品数量统计', 'modules/order/goodsStatistics/'+statistics, { + let statisticIds = statistics; + febs.modal.open( '商品数量统计', 'modules/order/goodsStatistics/'+statisticIds, { maxmin: true, }); + statistics = 0; // febs.get(ctx + 'admin/order/goodsStatistics?orderIds='+ids, null, function () { // febs.alert.success('操作成功'); // $query.click(); -- Gitblit v1.9.1