|
|
|
@ -12,11 +12,11 @@ const router = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'order/detail/:type(see|add|edit)/:id?', |
|
|
|
path: 'order/detail/:type(see|add|edit)/:id?', |
|
|
|
props: true, |
|
|
|
|
|
|
|
component: 'purchase/order/detail', |
|
|
|
component: 'purchase/order/detail', |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: '采购订单详情页', |
|
|
|
title: '采购订单详情页', |
|
|
|
hidden: true, |
|
|
|
hidden: true, |
|
|
|
|
|
|
|
breadcrumb: false, |
|
|
|
dynamicTitle(to) { |
|
|
|
dynamicTitle(to) { |
|
|
|
const {type, id} = to.params |
|
|
|
const {type, id} = to.params |
|
|
|
switch (type) { |
|
|
|
switch (type) { |
|
|
|
@ -41,11 +41,11 @@ const router = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'inbound/detail/:type(see|add|edit)/:id?', |
|
|
|
path: 'inbound/detail/:type(see|add|edit)/:id?', |
|
|
|
props: true, |
|
|
|
|
|
|
|
component: 'purchase/inbound/detail', |
|
|
|
component: 'purchase/inbound/detail', |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: '采购入库详情页', |
|
|
|
title: '采购入库详情页', |
|
|
|
hidden: true, |
|
|
|
hidden: true, |
|
|
|
|
|
|
|
breadcrumb: false, |
|
|
|
dynamicTitle(to) { |
|
|
|
dynamicTitle(to) { |
|
|
|
const {type, id} = to.params |
|
|
|
const {type, id} = to.params |
|
|
|
switch (type) { |
|
|
|
switch (type) { |
|
|
|
|