From 4ee42556139749bf6f29d47b912da0be6c37da2a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 15 May 2025 11:29:39 +0800
Subject: [PATCH] feat(mall): 添加商品 SKU静态属性价格字段
---
src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
index df0777d..42b97e0 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
@@ -98,8 +98,19 @@
layEvent = obj.event;
if (layEvent === 'agree') {
- febs.modal.confirm('通过', '通过用户的代理申请?', function () {
- agree(data.id);
+ // febs.modal.confirm('通过', '通过用户的代理申请?', function () {
+ // agree(data.id);
+ // });
+
+ febs.modal.open('代理申请审核', 'modules/mallMember/agentVerify/' + data.id, {
+ btn: ['确认','取消'],
+ yes: function (index, layero) {
+ $('#agent-verify').find('#submit').trigger('click');
+ $query.click();
+ },
+ btn2: function () {
+ layer.closeAll();
+ }
});
}
if (layEvent === 'disagree') {
@@ -142,7 +153,7 @@
defaultToolbar:[],
cols: [[
{field:'memberName', title:'微信昵称', width:100, rowspan: 2,align: 'center'}
- ,{align: 'center', title: '基本信息', colspan: 7}
+ ,{align: 'center', title: '基本信息', colspan: 9}
,{field: 'state', title: '申请状态',
templet: function (d) {
if (d.state === 1) {
@@ -158,7 +169,7 @@
,{field:'createdTime', title:'申请时间', width:100,rowspan: 2,align: 'center'}
,{title: '操作',
templet: function (d) {
- if(d.state === 1 ){
+ if(d.state === 1){
return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>'
+'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>'
}else{
@@ -170,6 +181,8 @@
// {field: 'memberName', title: '微信昵称', minWidth: 150,align:'left'},
{field: 'name', title: '姓名', minWidth: 100,align:'left'},
{field: 'phone', title: '电话', minWidth: 100,align:'left'},
+ {field: 'amount', title: '充值金额', minWidth: 100,align:'left'},
+ {field: 'agentLevelName', title: '等级', minWidth: 100,align:'left'},
{field: 'province', title: '省', minWidth: 100,align:'left'},
{field: 'city', title: '市', minWidth: 100,align:'left'},
{field: 'area', title: '区、县', minWidth: 100,align:'left'},
--
Gitblit v1.9.1