|
@@ -24,7 +24,7 @@
|
|
<u-icon size="35" :name="item.icon"></u-icon> <text>{{item.text}}</text>
|
|
<u-icon size="35" :name="item.icon"></u-icon> <text>{{item.text}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="list-body">
|
|
<view class="list-body">
|
|
- <uni-grid :column="3" :highlight="true" :show-border="false" :square="false" @change="e=>openPage(e,item.child)">
|
|
|
|
|
|
+ <uni-grid :column="item.column" :highlight="true" :show-border="false" :square="false" @change="e=>openPage(e,item.child)">
|
|
<uni-grid-item v-for="(sub, idx) in item.child" :index="idx" :key="idx">
|
|
<uni-grid-item v-for="(sub, idx) in item.child" :index="idx" :key="idx">
|
|
<view class="grid-item-box">
|
|
<view class="grid-item-box">
|
|
<u-icon class="icons" :color="sub.color" :name="sub.icon" custom-prefix="custom-icon"></u-icon>
|
|
<u-icon class="icons" :color="sub.color" :name="sub.icon" custom-prefix="custom-icon"></u-icon>
|
|
@@ -94,9 +94,10 @@
|
|
itemList(){
|
|
itemList(){
|
|
const list = [
|
|
const list = [
|
|
{
|
|
{
|
|
- text: '货品管理',
|
|
|
|
- icon: 'bag',
|
|
|
|
|
|
+ text: '货架管理',
|
|
|
|
+ icon: 'list-dot',
|
|
auth: true,
|
|
auth: true,
|
|
|
|
+ column: 4,
|
|
child:[
|
|
child:[
|
|
{
|
|
{
|
|
text: '库存查询',
|
|
text: '库存查询',
|
|
@@ -111,13 +112,28 @@
|
|
auth: this.$hasPermissions('M_stockPut_mini'),
|
|
auth: this.$hasPermissions('M_stockPut_mini'),
|
|
path: '/pagesA/digitalShelf/stockPut',
|
|
path: '/pagesA/digitalShelf/stockPut',
|
|
color: '#aa55ff'
|
|
color: '#aa55ff'
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ text: '结算记录',
|
|
|
|
+ icon: 'settlement',
|
|
|
|
+ auth: this.$hasPermissions('M_settlementRecord_mini'),
|
|
|
|
+ path: '/pagesA/digitalShelf/settlementRecord/settlementRecord',
|
|
|
|
+ color: '#00aaff'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ text: '付款结算',
|
|
|
|
+ icon: 'payrecord',
|
|
|
|
+ auth: this.$hasPermissions('M_settlementManage_mini'),
|
|
|
|
+ path: '/pagesA/digitalShelf/settlementManage/settlementManage',
|
|
|
|
+ color: '#ff5500'
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: '订单管理',
|
|
text: '订单管理',
|
|
icon: 'order',
|
|
icon: 'order',
|
|
auth: true,
|
|
auth: true,
|
|
|
|
+ column: 4,
|
|
child:[
|
|
child:[
|
|
{
|
|
{
|
|
text: '货架订单',
|
|
text: '货架订单',
|
|
@@ -143,9 +159,10 @@
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- text: '电子质保单',
|
|
|
|
|
|
+ text: '轮胎质保单',
|
|
icon: 'file-text',
|
|
icon: 'file-text',
|
|
auth: true,
|
|
auth: true,
|
|
|
|
+ column: 4,
|
|
child:[
|
|
child:[
|
|
{
|
|
{
|
|
text: '创建质保单',
|
|
text: '创建质保单',
|
|
@@ -163,31 +180,11 @@
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
- {
|
|
|
|
- text: '结算管理',
|
|
|
|
- icon: 'rmb-circle',
|
|
|
|
- auth: true,
|
|
|
|
- child:[
|
|
|
|
- {
|
|
|
|
- text: '结算记录',
|
|
|
|
- icon: 'settlement',
|
|
|
|
- auth: this.$hasPermissions('M_settlementRecord_mini'),
|
|
|
|
- path: '/pagesA/digitalShelf/settlementRecord/settlementRecord',
|
|
|
|
- color: '#00aaff'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- text: '付款结算',
|
|
|
|
- icon: 'payrecord',
|
|
|
|
- auth: this.$hasPermissions('M_settlementManage_mini'),
|
|
|
|
- path: '/pagesA/digitalShelf/settlementManage/settlementManage',
|
|
|
|
- color: '#ff5500'
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
text: '基础设置',
|
|
text: '基础设置',
|
|
icon: 'setting',
|
|
icon: 'setting',
|
|
auth: true,
|
|
auth: true,
|
|
|
|
+ column: 4,
|
|
child:[
|
|
child:[
|
|
{
|
|
{
|
|
text: '员工管理',
|
|
text: '员工管理',
|