商户管理列表新增字段

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', name: 'shop',
component: RouteView, component: RouteView,
redirect: '/shop/index', redirect: '/shop/index',
moduleKey: 'shop-manage', moduleKey: 'merchant',
meta: { title: '商户管理', icon: Icons.server, permission: ['/shop'] }, meta: { title: '商户管理', icon: Icons.server, permission: ['/shop'] },
children: [ children: [
{ {
path: '/shop/index', path: '/shop/index',
moduleKey: 'merchant-manage',
component: () => import(/* webpackChunkName: "server" */ '@/views/shop/Index'), component: () => import(/* webpackChunkName: "server" */ '@/views/shop/Index'),
meta: { title: '商户管理', keepAlive: false, permission: ['/shop/index'] }, meta: { title: '商户管理', keepAlive: false, permission: ['/shop/index'] },
}, },

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

@ -5,6 +5,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false" :maskClosable="false"
:footer="storeVersion === 0 || (storeVersion === 1 && isSuper === 0) ? undefined : null"
@ok="handleSubmit" @ok="handleSubmit"
@cancel="handleCancel" @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: { methods: {
// //

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

Loading…
Cancel
Save