Commit 810a210a authored by 邓春圆's avatar 邓春圆

新建客户切换页面后,数据缓存

parent b3bc3b04
...@@ -278,13 +278,14 @@ export const constantRoutes = [ ...@@ -278,13 +278,14 @@ export const constantRoutes = [
name: 'allocatedCustomerEdit', name: 'allocatedCustomerEdit',
meta: {title:'编辑客户',titleEn:'Edit Customer', icon: ''} meta: {title:'编辑客户',titleEn:'Edit Customer', icon: ''}
}, },
// {
// path: 'add-edit/:customerId(\\d+)',
// component: (resolve) => import('@/views/ecw/customer/edit'),
// props: true,
// name: 'customerEdit',
// meta: {title: '新建客户',titleEn:'New customer', icon: ''}
// },
{ {
path: 'add-edit/:customerId(\\d+)',
component: (resolve) => import('@/views/ecw/customer/edit'),
props: true,
name: 'customerEdit',
meta: {title: '新建客户',titleEn:'New customer', icon: ''}
},{
path: 'perfect/:customerId(\\d+)', path: 'perfect/:customerId(\\d+)',
component: (resolve) => import('@/views/ecw/customer/edit'), component: (resolve) => import('@/views/ecw/customer/edit'),
props: true, props: true,
......
...@@ -579,7 +579,7 @@ import MemberSelector from '@/components/MemberSelector' ...@@ -579,7 +579,7 @@ import MemberSelector from '@/components/MemberSelector'
import {getCurrencyList} from "@/api/ecw/currency"; import {getCurrencyList} from "@/api/ecw/currency";
export default { export default {
name: "edit", name: "EcwCustomerEdit",
components: { components: {
Template, Template,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment