From db1c65da063a1f7714ec17becc4d028d4c9499b6 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Fri, 18 Feb 2022 18:13:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/router/modules/hq_menu.js | 347 ++++++++++--------- vue/src/router/modules/hq_out_order.js | 88 ++--- vue/src/router/modules/vw_out_order.js | 2 +- vue/src/views/ux/vw/dataInput/hq_h/index.vue | 9 +- vue/static/tableFieldForSearch.json | 10 + 5 files changed, 242 insertions(+), 214 deletions(-) diff --git a/vue/src/router/modules/hq_menu.js b/vue/src/router/modules/hq_menu.js index 3f10d87f..0a22e73f 100644 --- a/vue/src/router/modules/hq_menu.js +++ b/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: '二配' + // // } + // // } + // ], + // }, + + + ] } diff --git a/vue/src/router/modules/hq_out_order.js b/vue/src/router/modules/hq_out_order.js index c2c92124..35e59258 100644 --- a/vue/src/router/modules/hq_out_order.js +++ b/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: '红旗' } diff --git a/vue/src/router/modules/vw_out_order.js b/vue/src/router/modules/vw_out_order.js index b798957f..c3fc70d7 100644 --- a/vue/src/router/modules/vw_out_order.js +++ b/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: '文件' } diff --git a/vue/src/views/ux/vw/dataInput/hq_h/index.vue b/vue/src/views/ux/vw/dataInput/hq_h/index.vue index 66cbe312..d71d45e1 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h/index.vue @@ -1,4 +1,4 @@ - +