|
|
|
@ -9,7 +9,7 @@ export const ArrclientTag = await getDictOption('infoclient-ArrclientTag')
|
|
|
|
|
ArrclientTag.forEach((item) => {
|
|
|
|
|
Receiver.push({
|
|
|
|
|
field: item.value,
|
|
|
|
|
label: `是否${item.name}`,
|
|
|
|
|
label: `${item.name}`,
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -27,25 +27,25 @@ export const columns: BasicColumn[] = [
|
|
|
|
|
title: '名称',
|
|
|
|
|
dataIndex: 'name',
|
|
|
|
|
sorter: true,
|
|
|
|
|
align: 'left'
|
|
|
|
|
align: 'left',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '客户名称',
|
|
|
|
|
dataIndex: 'customerName',
|
|
|
|
|
sorter: true,
|
|
|
|
|
align: 'left'
|
|
|
|
|
align: 'left',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '单据类型',
|
|
|
|
|
dataIndex: 'documentType',
|
|
|
|
|
sorter: true,
|
|
|
|
|
width: 150,
|
|
|
|
|
align: 'left'
|
|
|
|
|
align: 'left',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '备注',
|
|
|
|
|
dataIndex: 'note',
|
|
|
|
|
align: 'left'
|
|
|
|
|
align: 'left',
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
@ -150,7 +150,7 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isShared',
|
|
|
|
|
label: '是否共享',
|
|
|
|
|
label: '共享',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
defaultValue: false,
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
@ -322,7 +322,7 @@ export let ReceiverformSchema: FormSchema[] = [
|
|
|
|
|
...Receiver,
|
|
|
|
|
// {
|
|
|
|
|
// field: 'carrier',
|
|
|
|
|
// label: '是否船公司',
|
|
|
|
|
// label: '船公司',
|
|
|
|
|
// component: 'Switch',
|
|
|
|
|
// colProps: { span: 6 },
|
|
|
|
|
// defaultValue: false,
|
|
|
|
@ -335,7 +335,7 @@ export let ReceiverformSchema: FormSchema[] = [
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// field: 'booking',
|
|
|
|
|
// label: '是否订舱公司 ',
|
|
|
|
|
// label: '订舱公司 ',
|
|
|
|
|
// component: 'Switch',
|
|
|
|
|
// colProps: { span: 6 },
|
|
|
|
|
// defaultValue: false,
|
|
|
|
@ -348,7 +348,7 @@ export let ReceiverformSchema: FormSchema[] = [
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// field: 'yard',
|
|
|
|
|
// label: '是否场站',
|
|
|
|
|
// label: '场站',
|
|
|
|
|
// component: 'Switch',
|
|
|
|
|
// colProps: { span: 6 },
|
|
|
|
|
// defaultValue: false,
|
|
|
|
@ -361,7 +361,7 @@ export let ReceiverformSchema: FormSchema[] = [
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// field: 'truck',
|
|
|
|
|
// label: '是否车队',
|
|
|
|
|
// label: '车队',
|
|
|
|
|
// component: 'Switch',
|
|
|
|
|
// colProps: { span: 6 },
|
|
|
|
|
// defaultValue: false,
|
|
|
|
@ -374,7 +374,7 @@ export let ReceiverformSchema: FormSchema[] = [
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// field: 'controller',
|
|
|
|
|
// label: '是否委托单位',
|
|
|
|
|
// label: '委托单位',
|
|
|
|
|
// component: 'Switch',
|
|
|
|
|
// colProps: { span: 6 },
|
|
|
|
|
// defaultValue: false,
|
|
|
|
@ -387,7 +387,7 @@ export let ReceiverformSchema: FormSchema[] = [
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// field: 'shipperCn',
|
|
|
|
|
// label: '是否国内发货人',
|
|
|
|
|
// label: '国内发货人',
|
|
|
|
|
// component: 'Switch',
|
|
|
|
|
// colProps: { span: 6 },
|
|
|
|
|
// defaultValue: false,
|
|
|
|
@ -415,7 +415,7 @@ export const SenderformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isOperator',
|
|
|
|
|
label: '是否操作',
|
|
|
|
|
label: '操作',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -428,7 +428,7 @@ export const SenderformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isVouchingClerk',
|
|
|
|
|
label: '是否单证',
|
|
|
|
|
label: '单证',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -441,7 +441,7 @@ export const SenderformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isSale',
|
|
|
|
|
label: '是否销售',
|
|
|
|
|
label: '销售',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -454,7 +454,7 @@ export const SenderformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isCustomerService',
|
|
|
|
|
label: '是否客服',
|
|
|
|
|
label: '客服',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -482,7 +482,7 @@ export const CcformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isOperator',
|
|
|
|
|
label: '是否操作',
|
|
|
|
|
label: '操作',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -495,7 +495,7 @@ export const CcformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isVouchingClerk',
|
|
|
|
|
label: '是否单证',
|
|
|
|
|
label: '单证',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -508,7 +508,7 @@ export const CcformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isSale',
|
|
|
|
|
label: '是否销售',
|
|
|
|
|
label: '销售',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
@ -521,7 +521,7 @@ export const CcformSchema: FormSchema[] = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isCustomerService',
|
|
|
|
|
label: '是否客服',
|
|
|
|
|
label: '客服',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
defaultValue: false,
|
|
|
|
|