1
1
This commit is contained in:
320
src/App.tsx
320
src/App.tsx
@ -461,164 +461,168 @@ const CUSTOMER_CONFIG: CustomerOptionGroup[] = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
// PLT 客户配置
|
||||||
// RBE 客户配置 - 简化示例
|
{
|
||||||
{
|
title: 'BE',
|
||||||
title: 'BE',
|
options: [
|
||||||
options: [
|
{
|
||||||
{
|
title: '单据类型',
|
||||||
title: '单据类型',
|
options: ['首单', '翻单'],
|
||||||
options: ['首单', '翻单'],
|
required: true,
|
||||||
required: true,
|
level: 2
|
||||||
level: 2
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '打板类型(多选)',
|
||||||
title: '打板类型(多选)',
|
options: ['复版', '拍照版','开货版需打版','开货版不打版'],
|
||||||
options: ['复版', '拍照版','开货版需打版','开货版不打版'],
|
required: false,
|
||||||
required: false,
|
level: 3,
|
||||||
level: 3,
|
parentOption: '首单',
|
||||||
parentOption: '首单',
|
multiple: true,
|
||||||
multiple: true,
|
condition: (checkedList) => checkedList.includes('首单'),
|
||||||
condition: (checkedList) => checkedList.includes('首单'),
|
resetOn: ['翻单']
|
||||||
resetOn: ['翻单']
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '寄样方式',
|
||||||
title: '寄样方式',
|
options: ['寄裤筒', '寄成衣'],
|
||||||
options: ['寄裤筒', '寄成衣'],
|
required: false,
|
||||||
required: false,
|
level: 4,
|
||||||
level: 4,
|
parentOption: '开货版不打版',
|
||||||
parentOption: '开货版不打版',
|
condition: (checkedList) => checkedList.includes('首单') && checkedList.includes('开货版不打版'),
|
||||||
condition: (checkedList) => checkedList.includes('首单') && checkedList.includes('开货版不打版'),
|
resetOn: ['翻单']
|
||||||
resetOn: ['翻单']
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '翻单变动',
|
||||||
title: '翻单变动',
|
options: ['无变动不需要修改', '有变动需要修改'],
|
||||||
options: ['无变动不需要修改', '有变动需要修改'],
|
required: false,
|
||||||
required: false,
|
level: 3,
|
||||||
level: 3,
|
parentOption: '翻单',
|
||||||
parentOption: '翻单',
|
condition: (checkedList) => checkedList.includes('翻单'),
|
||||||
condition: (checkedList) => checkedList.includes('翻单'),
|
resetOn: ['首单']
|
||||||
resetOn: ['首单']
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '特殊订单',
|
||||||
title: '特殊订单',
|
options: ['换料寄面料样', '换料重新打板', '改尺寸重新打板','改尺寸不打版'],
|
||||||
options: ['换料寄面料样', '换料重新打板', '改尺寸重新打板','改尺寸不打版'],
|
required: false,
|
||||||
required: false,
|
level: 4,
|
||||||
level: 4,
|
parentOption: '有变动需要修改',
|
||||||
parentOption: '有变动需要修改',
|
condition: (checkedList) => checkedList.includes('有变动需要修改'),
|
||||||
condition: (checkedList) => checkedList.includes('有变动需要修改'),
|
resetOn: ['首单', '无变动不需要修改']
|
||||||
resetOn: ['首单', '无变动不需要修改']
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '打版类型',
|
||||||
title: '打版类型',
|
options: ['复版','拍照版'],
|
||||||
options: ['复版','拍照版'],
|
required: false,
|
||||||
required: false,
|
level: 5,
|
||||||
level: 5,
|
parentOption: '换料重新打板',
|
||||||
parentOption: '换料重新打板',
|
condition: (checkedList) => checkedList.includes('换料重新打板'),
|
||||||
condition: (checkedList) => checkedList.includes('换料重新打板'),
|
resetOn: ['首单', '无变动不需要修改','换料重新打板']
|
||||||
resetOn: ['首单', '无变动不需要修改','换料重新打板']
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '打版类型',
|
||||||
title: '打版类型',
|
options: ['复版','拍照版'],
|
||||||
options: ['复版','拍照版'],
|
required: false,
|
||||||
required: false,
|
level: 5,
|
||||||
level: 5,
|
parentOption: '改尺寸重新打板',
|
||||||
parentOption: '改尺寸重新打板',
|
condition: (checkedList) => checkedList.includes('改尺寸重新打板'),
|
||||||
condition: (checkedList) => checkedList.includes('改尺寸重新打板'),
|
resetOn: ['首单', '无变动不需要修改','换料重新打板']
|
||||||
resetOn: ['首单', '无变动不需要修改','换料重新打板']
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '特殊订单',
|
||||||
title: '特殊订单',
|
options: ['批大货布','重新核价'],
|
||||||
options: ['批大货布','重新核价'],
|
required: false,
|
||||||
required: false,
|
level: 4,
|
||||||
level: 4,
|
parentOption: '无变动不需要修改',
|
||||||
parentOption: '无变动不需要修改',
|
condition: (checkedList) => checkedList.includes('无变动不需要修改'),
|
||||||
condition: (checkedList) => checkedList.includes('无变动不需要修改'),
|
resetOn: ['首单', '有变动需要修改']
|
||||||
resetOn: ['首单', '有变动需要修改']
|
},
|
||||||
},
|
|
||||||
|
{
|
||||||
{
|
title: '品类',
|
||||||
title: '品类',
|
options: ['牛仔', '时装'],
|
||||||
options: ['牛仔', '时装'],
|
required: true
|
||||||
required: true
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '复杂度',
|
||||||
title: '复杂度',
|
options: ['简单工艺(普通缝制、基础款T恤、常规裤装)', '中等工艺', '复杂工艺(立体裁剪、特殊刺绣、多色渐变印染、立体剪裁、特殊压褶)'],
|
||||||
options: ['简单款', '基础款', '复杂款'],
|
required: true
|
||||||
required: true
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '订单量',
|
||||||
title: '二次工艺',
|
options: ['<500', '500-2000', '>2000'],
|
||||||
options: ['绣花', '印花'],
|
required: true
|
||||||
multiple: true,
|
},
|
||||||
required: false
|
{
|
||||||
},
|
title: '二次工艺',
|
||||||
{
|
options: ['绣花', '印花','压胶','烫标'],
|
||||||
title: '是否需要批船样',
|
multiple: true,
|
||||||
options: ['不需要批船样', '需要批船样'],
|
required: false
|
||||||
required: true
|
},
|
||||||
},
|
{
|
||||||
{
|
title: '是否需要批船样',
|
||||||
title: '运输方式',
|
options: ['不需要批船样', '需要批船样'],
|
||||||
options: ['美国', '澳大利亚', '英国'],
|
required: true
|
||||||
required: false,
|
},
|
||||||
resetOn: ['RBE']
|
{
|
||||||
},
|
title: '运输方式',
|
||||||
{
|
options: ['美国', '澳大利亚', '英国'],
|
||||||
title: '英国运输方式',
|
required: false,
|
||||||
options: [
|
resetOn: ['RBE']
|
||||||
'英国-海运',
|
},
|
||||||
'英国-空运 (直飞)',
|
{
|
||||||
'英国-空运 (转机)',
|
title: '英国运输方式',
|
||||||
'英国-铁路(中欧班列)',
|
options: [
|
||||||
'英国-卡航',
|
'英国-海运',
|
||||||
'英国-卡空',
|
'英国-空运 (直飞)',
|
||||||
'英国-卡车联运',
|
'英国-空运 (转机)',
|
||||||
'英国-海空联运'
|
'英国-铁路(中欧班列)',
|
||||||
],
|
'英国-卡航',
|
||||||
required: false,
|
'英国-卡空',
|
||||||
level: 2,
|
'英国-卡车联运',
|
||||||
parentOption: '英国',
|
'英国-海空联运'
|
||||||
condition: (checkedList) => checkedList.includes('英国'),
|
],
|
||||||
resetOn: ['美国', '澳大利亚', 'RBE']
|
required: false,
|
||||||
},
|
level: 2,
|
||||||
{
|
parentOption: '英国',
|
||||||
title: '美国运输方式',
|
condition: (checkedList) => checkedList.includes('英国'),
|
||||||
options: [
|
resetOn: ['美国', '澳大利亚', 'RBE']
|
||||||
'美国-海运慢船',
|
},
|
||||||
'美国-海运快船',
|
{
|
||||||
'美国-空运(直飞)'
|
title: '美国运输方式',
|
||||||
],
|
options: [
|
||||||
required: true,
|
'美国-海运慢船',
|
||||||
level: 2,
|
'美国-海运快船',
|
||||||
parentOption: '美国',
|
'美国-空运(直飞)'
|
||||||
condition: (checkedList) => checkedList.includes('美国'),
|
],
|
||||||
resetOn: ['英国', '澳大利亚', 'RBE']
|
required: true,
|
||||||
},
|
level: 2,
|
||||||
{
|
parentOption: '美国',
|
||||||
title: '澳大利亚运输方式',
|
condition: (checkedList) => checkedList.includes('美国'),
|
||||||
options: [
|
resetOn: ['英国', '澳大利亚', 'RBE']
|
||||||
'澳大利亚-海运',
|
},
|
||||||
'澳大利亚-空运(直飞)'
|
{
|
||||||
],
|
title: '澳大利亚运输方式',
|
||||||
required: true,
|
options: [
|
||||||
level: 2,
|
'澳大利亚-海运',
|
||||||
parentOption: '澳大利亚',
|
'澳大利亚-空运(直飞)'
|
||||||
condition: (checkedList) => checkedList.includes('澳大利亚'),
|
],
|
||||||
resetOn: ['美国', '英国', 'RBE']
|
required: true,
|
||||||
},
|
level: 2,
|
||||||
{
|
parentOption: '澳大利亚',
|
||||||
title: '面料特性',
|
condition: (checkedList) => checkedList.includes('澳大利亚'),
|
||||||
options: [
|
resetOn: ['美国', '英国', 'RBE']
|
||||||
'普通面料(纯棉、常规化纤)',
|
},
|
||||||
'特殊面料(真丝、皮革、功能性面料)',
|
{
|
||||||
'易损面料(薄纱、蕾丝)'
|
title: '面料特性',
|
||||||
],
|
options: [
|
||||||
required: false
|
'普通面料(针织净色、针织提花)',
|
||||||
}
|
'特殊面料(复合、烫金)',
|
||||||
]
|
'易损面料(珠片、蕾丝)'
|
||||||
},
|
],
|
||||||
// RBE 客户配置 - 简化示例
|
required: true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
title: 'RIVER ISLAND',
|
title: 'RIVER ISLAND',
|
||||||
options: [
|
options: [
|
||||||
|
Reference in New Issue
Block a user