From e51cfbb3c0951defc510a5f63298bdf3b672c038 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 21 Feb 2023 15:46:30 +0800
Subject: [PATCH] 提示代理人改成合伙人
---
src/main/resources/templates/febs/views/modules/order/orderList.html | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 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 3c78844..097cedf 100644
--- a/src/main/resources/templates/febs/views/modules/order/orderList.html
+++ b/src/main/resources/templates/febs/views/modules/order/orderList.html
@@ -7,9 +7,9 @@
<div class="layui-form-item">
<div class="layui-col-md10">
<div class="layui-inline">
- <label class="layui-form-label">用户名:</label>
+ <label class="layui-form-label">购买人:</label>
<div class="layui-input-inline">
- <input type="text" placeholder="用户名" name="name" autocomplete="off" class="layui-input">
+ <input type="text" placeholder="购买人" name="name" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-inline">
@@ -19,7 +19,7 @@
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label layui-form-label-sm">订单状态</label>
+ <label class="layui-form-label layui-form-label-sm">状态</label>
<div class="layui-input-inline">
<select name="status">
<option value="">请选择</option>
@@ -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; /*文本不会换行,在同一行显示*/
@@ -98,6 +98,11 @@
}
.layui-table img{
max-width:100px
+ }
+
+ ::-webkit-scrollbar {
+ height: 20px !important;
+ background-color: #f4f4f4;
}
</style>
</div>
@@ -143,6 +148,9 @@
laydate = layui.laydate,
tableIns;
+ let currPageOrder = 1;//首先默认值为1,防止出错
+ //获取当前页
+ currPageOrder = $view.find(".layui-laypage-em").next().html();
//日期范围
laydate.render({
elem: '#febs-form-group-date-start'
@@ -197,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();
@@ -357,14 +367,14 @@
// 查询按钮
$query.on('click', function () {
var params = $.extend(getQueryParams(), {field: sortObject.field, order: sortObject.type});
- tableIns.reload({where: params, page: {curr: 1}});
+ tableIns.reload({where: params, page: {curr: currPageOrder}});
});
// 刷新按钮
$reset.on('click', function () {
$searchForm[0].reset();
sortObject.type = 'null';
- tableIns.reload({where: getQueryParams(), page: {curr: 1}, initSort: sortObject});
+ tableIns.reload({where: getQueryParams(), page: {curr: currPageOrder}, initSort: sortObject});
});
$add.on('click', function () {
--
Gitblit v1.9.1