商户管理列表新增字段

feature/0423
wangdong 6 months ago
parent 7c66fbe921
commit 598e45f0ea
  1. 3
      src/config/router.config.js
  2. 2
      src/views/client/wxapp/Setting.vue
  3. 9
      src/views/manage/role/modules/EditForm.vue
  4. 12
      src/views/shop/Index.vue

@ -231,11 +231,12 @@ export const asyncRouterMap = [
name: 'shop',
component: RouteView,
redirect: '/shop/index',
moduleKey: 'shop-manage',
moduleKey: 'merchant',
meta: { title: '商户管理', icon: Icons.server, permission: ['/shop'] },
children: [
{
path: '/shop/index',
moduleKey: 'merchant-manage',
component: () => import(/* webpackChunkName: "server" */ '@/views/shop/Index'),
meta: { title: '商户管理', keepAlive: false, permission: ['/shop/index'] },
},

@ -207,6 +207,8 @@ export default {
'new_product',
'ranking_list',
'service',
'square_dynamic',
'select_mechant'
])
)
})

@ -5,6 +5,7 @@
:visible="visible"
:confirmLoading="confirmLoading"
:maskClosable="false"
:footer="storeVersion === 0 || (storeVersion === 1 && isSuper === 0) ? undefined : null"
@ok="handleSubmit"
@cancel="handleCancel"
>
@ -99,6 +100,14 @@ export default {
}
}
},
computed: {
isSuper() {
return window.roles ? window.roles.isSuper : 0
},
storeVersion() {
return window.storeInfo ? window.storeInfo.store_version : 0
}
},
methods: {
//

@ -72,10 +72,14 @@ export default {
dataIndex: 'is_select_mechant',
scopedSlots: { customRender: 'is_select_mechant' }
},
// {
// title: '',
// dataIndex: 'sort'
// },
{
title: '累计金额',
dataIndex: 'total_amount'
},
{
title: '可用金额',
dataIndex: 'available_amount'
},
{
title: '添加时间',
dataIndex: 'create_time'

Loading…
Cancel
Save