Browse Source

菜单更改

branch_ccpg_220107
44673626 3 years ago
parent
commit
db1c65da06
  1. 347
      vue/src/router/modules/hq_menu.js
  2. 88
      vue/src/router/modules/hq_out_order.js
  3. 2
      vue/src/router/modules/vw_out_order.js
  4. 9
      vue/src/views/ux/vw/dataInput/hq_h/index.vue
  5. 10
      vue/static/tableFieldForSearch.json

347
vue/src/router/modules/hq_menu.js

@ -14,159 +14,35 @@ const hqMenudataRouter = {
},
children: [
{
path: '/H',
name: 'import-h-data',//命名路由-二级
component: () => import('@/views/ux/vw/dataInput/index'),
redirect: 'ux/vw/dataInput/index',
path: 'hq-platform',
component: () => import('@/views/ux/vw/dataInput/hq_h'),
name: 'ERPEI',//命名路由
meta: {
title: 'H平台',
roles: ['SettleAccount.HQ_HPlatform', 'SettleAccount.Reports'],
icon: '看板'
},
children: [
{
path: 'hq-H-platform',
component: () => import('@/views/ux/vw/dataInput/hq_h'),
name: 'ERPEI',//命名路由
meta: {
title: '红旗H平台导入',
roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色)
icon: '单据导入'
}
},
{
path: 'hq-H-report',
component: () => import('@/views/ux/vw/dataInput/hq_h_report'),
name: 'HQH',
meta: {
title: 'H平台核对明细',
roles: ['SettleAccount.Reports'],
icon: '业务'
}
},
{
path: 'hq-H-sparepart-export',
component: () => import('@/views/ux/vw/dataInput/hq_h_sparepart'),
name: 'HQH',
meta: {
title: 'H平台备件明细',
roles: ['SettleAccount.Reports'],
icon: '文件'
}
}
]
title: '红旗工厂平台导入',
roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色)
icon: '单据导入'
}
},
{
path: '/M',
component: () => import('@/views/ux/vw/dataInput/index'),
name: 'export-m-data',//命名路由
redirect: 'ux/vw/dataInput/index',
path: 'hq-H-report',
component: () => import('@/views/ux/vw/dataInput/hq_h_report'),
name: 'HQH',
meta: {
title: 'M平台',
roles: ['SettleAccount.HQ_MPlatform', 'SettleAccount.Reports'],
icon: '看板'
},
children: [
{
path: 'hq-M-platform',
component: () => import('@/views/ux/vw/dataInput/hq_m'),
name: 'ERPEI',//命名路由
meta: {
title: '红旗M平台导入',
roles: ['SettleAccount.HQ_MPlatform'],//控制页面角色(可以设置多个角色)
icon: '单据导入'
}
},
{
path: 'hq-M-report',
component: () => import('@/views/ux/vw/dataInput/hq_m_report'),
name: 'HQM',
meta: {
title: 'M平台核对明细',
roles: ['SettleAccount.Reports'],
icon: '业务'
}
},
{
path: 'hq-M-sparepart-export',
component: () => import('@/views/ux/vw/dataInput/hq_m_sparepart'),
name: 'HQM',
meta: {
title: 'M平台备件明细',
roles: ['SettleAccount.Reports'],
icon: '文件'
}
},
// {
// path: 'hq-M-platform-export',
// component: () => import('@/views/ux/billManage/sparePart'),
// name: 'SparePartReport',//命名路由
// meta: {
// title: 'M平台结算差异输出',
// //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
// icon: '二配'
// }
// }
]
title: '红旗工厂核对明细',
roles: ['SettleAccount.Reports'],
icon: '业务'
}
},
{
path: '/F',
component: () => import('@/views/ux/vw/dataInput/index'),
name: 'export-f-data',//命名路由
redirect: 'ux/vw/dataInput/index',
path: 'hq-H-sparepart-export',
component: () => import('@/views/ux/vw/dataInput/hq_h_sparepart'),
name: 'HQH',
meta: {
title: 'F平台',
roles: ['SettleAccount.HQ_FPlatform', 'SettleAccount.Reports'],
icon: '看板'
},
children: [
{
path: 'hq-F-platform',
component: () => import('@/views/ux/vw/dataInput/hq_f'),
name: 'ERPEI',//命名路由
meta: {
title: '红旗F平台导入',
roles: ['SettleAccount.HQ_FPlatform'],//控制页面角色(可以设置多个角色)
icon: '单据导入'
}
},
{
path: 'hq-F-platform-export',
component: () => import('@/views/ux/vw/dataInput/hq_f_report'),
name: 'HQF',
meta: {
title: 'F平台核对明细',
roles: ['SettleAccount.Reports'],
icon: '业务'
}
},
{
path: 'hq-F-sparepart-export',
component: () => import('@/views/ux/vw/dataInput/hq_f_sparepart'),
name: 'HQF',
meta: {
title: 'F平台备件明细',
roles: ['SettleAccount.Reports'],
icon: '文件'
}
},
// {
// path: 'hq-F-platform-export',
// component: () => import('@/views/ux/billManage/sparePart'),
// name: 'SparePartReport',//命名路由
// meta: {
// title: 'F平台结算差异输出',
// //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
// icon: '二配'
// }
// }
],
title: '红旗工厂备件明细',
roles: ['SettleAccount.Reports'],
icon: '文件'
}
},
{
path: '/hqcar',
name: 'import-y-data',//命名路由-二级
@ -198,29 +74,170 @@ const hqMenudataRouter = {
icon: '业务'
}
},
// {
// path: 'hq-Y-sparepart-export',
// component: () => import('@/views/ux/vw/dataInput/hq_y_sparepart'),
// name: 'HQY',//命名路由
// meta: {
// title: '一汽轿车平台备件明细',
// roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色)
// icon: '文件'
// }
// },
// {
// path: 'hq-Y-platform-export',
// component: () => import('@/views/ux/vw/dataInput/ScrapClaims'),
// name: 'ScrapClaims',
// meta: {
// title: '一汽轿车平台结算差异输出',
// roles: ['SettleAccount.FISs'],
// icon: '文件'
// }
// }
]
},
// {
// path: '/H',
// name: 'import-h-data',//命名路由-二级
// component: () => import('@/views/ux/vw/dataInput/index'),
// redirect: 'ux/vw/dataInput/index',
// meta: {
// title: 'H平台',
// roles: ['SettleAccount.HQ_HPlatform', 'SettleAccount.Reports'],
// icon: '看板'
// },
// children: [
// {
// path: 'hq-H-platform',
// component: () => import('@/views/ux/vw/dataInput/hq_h'),
// name: 'ERPEI',//命名路由
// meta: {
// title: '红旗H平台导入',
// roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色)
// icon: '单据导入'
// }
// },
// {
// path: 'hq-H-report',
// component: () => import('@/views/ux/vw/dataInput/hq_h_report'),
// name: 'HQH',
// meta: {
// title: 'H平台核对明细',
// roles: ['SettleAccount.Reports'],
// icon: '业务'
// }
// },
// {
// path: 'hq-H-sparepart-export',
// component: () => import('@/views/ux/vw/dataInput/hq_h_sparepart'),
// name: 'HQH',
// meta: {
// title: 'H平台备件明细',
// roles: ['SettleAccount.Reports'],
// icon: '文件'
// }
// }
// ]
// },
// {
// path: '/M',
// component: () => import('@/views/ux/vw/dataInput/index'),
// name: 'export-m-data',//命名路由
// redirect: 'ux/vw/dataInput/index',
// meta: {
// title: 'M平台',
// roles: ['SettleAccount.HQ_MPlatform', 'SettleAccount.Reports'],
// icon: '看板'
// },
// children: [
// {
// path: 'hq-M-platform',
// component: () => import('@/views/ux/vw/dataInput/hq_m'),
// name: 'ERPEI',//命名路由
// meta: {
// title: '红旗M平台导入',
// roles: ['SettleAccount.HQ_MPlatform'],//控制页面角色(可以设置多个角色)
// icon: '单据导入'
// }
// },
// {
// path: 'hq-M-report',
// component: () => import('@/views/ux/vw/dataInput/hq_m_report'),
// name: 'HQM',
// meta: {
// title: 'M平台核对明细',
// roles: ['SettleAccount.Reports'],
// icon: '业务'
// }
// },
// {
// path: 'hq-M-sparepart-export',
// component: () => import('@/views/ux/vw/dataInput/hq_m_sparepart'),
// name: 'HQM',
// meta: {
// title: 'M平台备件明细',
// roles: ['SettleAccount.Reports'],
// icon: '文件'
// }
// },
// // {
// // path: 'hq-M-platform-export',
// // component: () => import('@/views/ux/billManage/sparePart'),
// // name: 'SparePartReport',//命名路由
// // meta: {
// // title: 'M平台结算差异输出',
// // //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
// // icon: '二配'
// // }
// // }
// ]
// },
// {
// path: '/F',
// component: () => import('@/views/ux/vw/dataInput/index'),
// name: 'export-f-data',//命名路由
// redirect: 'ux/vw/dataInput/index',
// meta: {
// title: 'F平台',
// roles: ['SettleAccount.HQ_FPlatform', 'SettleAccount.Reports'],
// icon: '看板'
// },
// children: [
// {
// path: 'hq-F-platform',
// component: () => import('@/views/ux/vw/dataInput/hq_f'),
// name: 'ERPEI',//命名路由
// meta: {
// title: '红旗F平台导入',
// roles: ['SettleAccount.HQ_FPlatform'],//控制页面角色(可以设置多个角色)
// icon: '单据导入'
// }
// },
// {
// path: 'hq-F-platform-export',
// component: () => import('@/views/ux/vw/dataInput/hq_f_report'),
// name: 'HQF',
// meta: {
// title: 'F平台核对明细',
// roles: ['SettleAccount.Reports'],
// icon: '业务'
// }
// },
// {
// path: 'hq-F-sparepart-export',
// component: () => import('@/views/ux/vw/dataInput/hq_f_sparepart'),
// name: 'HQF',
// meta: {
// title: 'F平台备件明细',
// roles: ['SettleAccount.Reports'],
// icon: '文件'
// }
// },
// // {
// // path: 'hq-F-platform-export',
// // component: () => import('@/views/ux/billManage/sparePart'),
// // name: 'SparePartReport',//命名路由
// // meta: {
// // title: 'F平台结算差异输出',
// // //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
// // icon: '二配'
// // }
// // }
// ],
// },
]
}

88
vue/src/router/modules/hq_out_order.js

@ -22,7 +22,7 @@ const hqOutOrderDataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_h_outorder'),
name: 'SettleAccount',//命名路由
meta: {
title: 'H平台出库单',
title: '红旗批量出库',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '工厂'
}
@ -32,57 +32,57 @@ const hqOutOrderDataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_h_checkout'),
name: 'SettleAccount',//命名路由
meta: {
title: 'H平台备件出库单',
title: '红旗备件出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '结算'
}
},
{
path: 'hq-m-outorder',
component: () => import('@/views/ux/vw/dataInput/hq_m_outorder'),
name: 'SettleAccount',//命名路由
meta: {
title: 'M平台出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '零件'
}
},
{
path: 'hq-m-checkout',
component: () => import('@/views/ux/vw/dataInput/hq_m_checkout'),
name: 'SettleAccount',//命名路由
meta: {
title: 'M平台备件出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '客户'
}
},
{
path: 'hq-f-outorder',
component: () => import('@/views/ux/vw/dataInput/hq_f_outorder'),
name: 'SettleAccount',//命名路由
meta: {
title: 'F平台出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '批量'
}
},
{
path: 'hq-f-outorder-chickout',
component: () => import('@/views/ux/vw/dataInput/hq_f_outorder_chickout'),
name: 'SettleAccount',//命名路由
meta: {
title: 'F平台备件出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '器具'
}
},
// {
// path: 'hq-m-outorder',
// component: () => import('@/views/ux/vw/dataInput/hq_m_outorder'),
// name: 'SettleAccount',//命名路由
// meta: {
// title: 'M平台出库单',
// roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
// icon: '零件'
// }
// },
// {
// path: 'hq-m-checkout',
// component: () => import('@/views/ux/vw/dataInput/hq_m_checkout'),
// name: 'SettleAccount',//命名路由
// meta: {
// title: 'M平台备件出库单',
// roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
// icon: '客户'
// }
// },
// {
// path: 'hq-f-outorder',
// component: () => import('@/views/ux/vw/dataInput/hq_f_outorder'),
// name: 'SettleAccount',//命名路由
// meta: {
// title: 'F平台出库单',
// roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
// icon: '批量'
// }
// },
// {
// path: 'hq-f-outorder-chickout',
// component: () => import('@/views/ux/vw/dataInput/hq_f_outorder_chickout'),
// name: 'SettleAccount',//命名路由
// meta: {
// title: 'F平台备件出库单',
// roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
// icon: '器具'
// }
// },
{
path: 'hq-y-outorder',
component: () => import('@/views/ux/vw/dataInput/hq_y_outorder'),
name: 'SettleAccount',//命名路由
meta: {
title: '一汽轿车平台出库单',
title: '一汽轿车出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '售后'
}
@ -92,7 +92,7 @@ const hqOutOrderDataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_kb_output'),
name: 'WmsHQKBOutput',//命名路由
meta: {
title: '红旗数据调整出库单',
title: '红旗一轿手工出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '红旗'
}

2
vue/src/router/modules/vw_out_order.js

@ -62,7 +62,7 @@ const vwOutOrderDataRouter = {
component: () => import('@/views/ux/billManage/sparepartOutOrder90/index'),
name: 'Sparepartoutorder90',//命名路由
meta: {
title: '大众备件调整出库单',
title: '大众备件手工出库单',
roles: ['SettleAccount.WMSJIT'],
icon: '文件'
}

9
vue/src/views/ux/vw/dataInput/hq_h/index.vue

@ -1,4 +1,4 @@
<!--红旗H平台导入功能-->
<!--红旗平台导入功能-->
<template>
<div class="cr-body-content">
<flexbox class="content-header">
@ -243,7 +243,7 @@ export default {
formTitle: "",
drawer: false,
showExcelImport: false,
tableHeight: document.documentElement.clientHeight - 220,
tableHeight: document.documentElement.clientHeight - 210,
isEdit: false,
};
},
@ -251,7 +251,7 @@ export default {
var self = this;
window.onresize = function () {
var offsetHei = document.documentElement.clientHeight;
self.tableHeight = offsetHei - 220;
self.tableHeight = offsetHei - 210;
};
},
created() {
@ -264,6 +264,7 @@ export default {
/** 列表字段 */
getDefaultField() {
var tempsTabs = [];
tempsTabs.push({ label: "工厂", prop: "factory", width: 100 });
tempsTabs.push({
label: "看板号",
prop: "hqhKanBan",
@ -305,7 +306,7 @@ export default {
prop: "storageLocationDesc",
width: 250,
});
tempsTabs.push({ label: "工厂", prop: "factory", width: 150 });
return tempsTabs;
},
},

10
vue/static/tableFieldForSearch.json

@ -2886,6 +2886,16 @@
"hqHPlatform": {
"id": "36",
"data": [
{
"fieldId": 3,
"formType": "text",
"name": "工厂",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "factory",
"setting": []
},
{
"fieldId": 3,
"formType": "text",

Loading…
Cancel
Save