Browse Source

菜单更改

branch_ccpg_220107
44673626 3 years ago
parent
commit
db1c65da06
  1. 297
      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

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

@ -14,22 +14,11 @@ const hqMenudataRouter = {
}, },
children: [ children: [
{ {
path: '/H', path: 'hq-platform',
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'), component: () => import('@/views/ux/vw/dataInput/hq_h'),
name: 'ERPEI',//命名路由 name: 'ERPEI',//命名路由
meta: { meta: {
title: '红旗H平台导入', title: '红旗工厂平台导入',
roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色)
icon: '单据导入' icon: '单据导入'
} }
@ -39,7 +28,7 @@ const hqMenudataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_h_report'), component: () => import('@/views/ux/vw/dataInput/hq_h_report'),
name: 'HQH', name: 'HQH',
meta: { meta: {
title: 'H平台核对明细', title: '红旗工厂核对明细',
roles: ['SettleAccount.Reports'], roles: ['SettleAccount.Reports'],
icon: '业务' icon: '业务'
} }
@ -49,124 +38,11 @@ const hqMenudataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_h_sparepart'), component: () => import('@/views/ux/vw/dataInput/hq_h_sparepart'),
name: 'HQH', name: 'HQH',
meta: { meta: {
title: 'H平台备件明细', title: '红旗工厂备件明细',
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'], roles: ['SettleAccount.Reports'],
icon: '文件' icon: '文件'
} }
}, },
// {
// path: 'hq-F-platform-export',
// component: () => import('@/views/ux/billManage/sparePart'),
// name: 'SparePartReport',//命名路由
// meta: {
// title: 'F平台结算差异输出',
// //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
// icon: '二配'
// }
// }
],
},
{ {
path: '/hqcar', path: '/hqcar',
name: 'import-y-data',//命名路由-二级 name: 'import-y-data',//命名路由-二级
@ -198,29 +74,170 @@ const hqMenudataRouter = {
icon: '业务' 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-Y-sparepart-export', // path: 'hq-H-platform',
// component: () => import('@/views/ux/vw/dataInput/hq_y_sparepart'), // component: () => import('@/views/ux/vw/dataInput/hq_h'),
// name: 'HQY',//命名路由 // name: 'ERPEI',//命名路由
// meta: { // meta: {
// title: '一汽轿车平台备件明细', // title: '红旗H平台导入',
// roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) // 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: '文件' // 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-Y-platform-export', // path: 'hq-M-platform',
// component: () => import('@/views/ux/vw/dataInput/ScrapClaims'), // component: () => import('@/views/ux/vw/dataInput/hq_m'),
// name: 'ScrapClaims', // name: 'ERPEI',//命名路由
// meta: { // meta: {
// title: '一汽轿车平台结算差异输出', // title: '红旗M平台导入',
// roles: ['SettleAccount.FISs'], // 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: '文件' // 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'), component: () => import('@/views/ux/vw/dataInput/hq_h_outorder'),
name: 'SettleAccount',//命名路由 name: 'SettleAccount',//命名路由
meta: { meta: {
title: 'H平台出库单', title: '红旗批量出库',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '工厂' icon: '工厂'
} }
@ -32,57 +32,57 @@ const hqOutOrderDataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_h_checkout'), component: () => import('@/views/ux/vw/dataInput/hq_h_checkout'),
name: 'SettleAccount',//命名路由 name: 'SettleAccount',//命名路由
meta: { meta: {
title: 'H平台备件出库单', title: '红旗备件出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '结算' icon: '结算'
} }
}, },
{ // {
path: 'hq-m-outorder', // path: 'hq-m-outorder',
component: () => import('@/views/ux/vw/dataInput/hq_m_outorder'), // component: () => import('@/views/ux/vw/dataInput/hq_m_outorder'),
name: 'SettleAccount',//命名路由 // name: 'SettleAccount',//命名路由
meta: { // meta: {
title: 'M平台出库单', // title: 'M平台出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '零件' // icon: '零件'
} // }
}, // },
{ // {
path: 'hq-m-checkout', // path: 'hq-m-checkout',
component: () => import('@/views/ux/vw/dataInput/hq_m_checkout'), // component: () => import('@/views/ux/vw/dataInput/hq_m_checkout'),
name: 'SettleAccount',//命名路由 // name: 'SettleAccount',//命名路由
meta: { // meta: {
title: 'M平台备件出库单', // title: 'M平台备件出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '客户' // icon: '客户'
} // }
}, // },
{ // {
path: 'hq-f-outorder', // path: 'hq-f-outorder',
component: () => import('@/views/ux/vw/dataInput/hq_f_outorder'), // component: () => import('@/views/ux/vw/dataInput/hq_f_outorder'),
name: 'SettleAccount',//命名路由 // name: 'SettleAccount',//命名路由
meta: { // meta: {
title: 'F平台出库单', // title: 'F平台出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '批量' // icon: '批量'
} // }
}, // },
{ // {
path: 'hq-f-outorder-chickout', // path: 'hq-f-outorder-chickout',
component: () => import('@/views/ux/vw/dataInput/hq_f_outorder_chickout'), // component: () => import('@/views/ux/vw/dataInput/hq_f_outorder_chickout'),
name: 'SettleAccount',//命名路由 // name: 'SettleAccount',//命名路由
meta: { // meta: {
title: 'F平台备件出库单', // title: 'F平台备件出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) // roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '器具' // icon: '器具'
} // }
}, // },
{ {
path: 'hq-y-outorder', path: 'hq-y-outorder',
component: () => import('@/views/ux/vw/dataInput/hq_y_outorder'), component: () => import('@/views/ux/vw/dataInput/hq_y_outorder'),
name: 'SettleAccount',//命名路由 name: 'SettleAccount',//命名路由
meta: { meta: {
title: '一汽轿车平台出库单', title: '一汽轿车出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '售后' icon: '售后'
} }
@ -92,7 +92,7 @@ const hqOutOrderDataRouter = {
component: () => import('@/views/ux/vw/dataInput/hq_kb_output'), component: () => import('@/views/ux/vw/dataInput/hq_kb_output'),
name: 'WmsHQKBOutput',//命名路由 name: 'WmsHQKBOutput',//命名路由
meta: { meta: {
title: '红旗数据调整出库单', title: '红旗一轿手工出库单',
roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色)
icon: '红旗' icon: '红旗'
} }

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

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

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

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

10
vue/static/tableFieldForSearch.json

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

Loading…
Cancel
Save