| | |
| | | export const dynamicRoutes = [ |
| | | { |
| | | // 原材料报检 |
| | | path: '/business/rawMaterialInspection', |
| | | component: Layout, |
| | | }, |
| | | { |
| | | // 原材料检验下单 |
| | | path: '/business/materialOrder', |
| | | path: '/rawMaterialInspection', |
| | | component: Layout, |
| | | hidden: true, |
| | | }, |
| | | { |
| | | // 原材料下单 |
| | | path: '/materialOrder', |
| | | component: Layout, |
| | | hidden: true, |
| | | permissions: ['business:order'], |
| | | children: [ |
| | | { |
| | | // 铜单丝下单 |
| | | path: '/customsInspection', |
| | | // 铜材料下单 |
| | | path: 'customsInspection', |
| | | component: () => import('@/views/business/materialOrder/customsInspection'), |
| | | name: '铜单丝下单', |
| | | meta: { title: '铜单丝下单', activeMenu: '/business/materialOrder' } |
| | | name: 'customsInspection', |
| | | meta: { title: '铜材料下单', activeMenu: '/business/materialOrder' } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | }, |
| | | // 铜材料下单 |
| | | copper () { |
| | | this.$router.push({ path: "/business/materialOrder/customsInspection" }); |
| | | this.$router.push("/materialOrder/customsInspection"); |
| | | }, |
| | | // 打开标签打印弹框 |
| | | openPrint () { |