|
|
@ -54,27 +54,19 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: () => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: () => {
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
|
|
|
GetClientPortSelectList().then((res) => {
|
|
|
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
|
|
|
if (item.ediCode) item.cnName = item.ediCode + '/' + item.cnName
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
resolve(res)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
labelField: 'cnName',
|
|
|
|
|
|
|
|
valueField: 'id',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
valueField: 'ediCode',
|
|
|
|
},
|
|
|
|
showName: 'ediCode',
|
|
|
|
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'carrier',
|
|
|
|
field: 'carrier',
|
|
|
@ -88,7 +80,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
api: GetCarrierlist,
|
|
|
|
api: GetCarrierlist,
|
|
|
|
immediate: false,
|
|
|
|
immediate: false,
|
|
|
|
labelField: 'shortName',
|
|
|
|
labelField: 'shortName',
|
|
|
|
valueField: 'shortName',
|
|
|
|
valueField: 'id',
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
@ -140,27 +132,21 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
dynamicDisabled: false,
|
|
|
|
colProps: { span: 4 },
|
|
|
|
colProps: { span: 4 },
|
|
|
|
componentProps: () => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: () => {
|
|
|
|
api: GetClientPortSelectList,
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
|
|
|
GetClientPortSelectList().then((res) => {
|
|
|
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
|
|
|
if (item.ediCode) item.cnName = item.ediCode + '/' + item.cnName
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
resolve(res)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
labelField: 'cnName',
|
|
|
|
|
|
|
|
valueField: 'id',
|
|
|
|
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
allowClear: true,
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
showSearch: true,
|
|
|
|
},
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
|
|
|
showName: 'ediCode',
|
|
|
|
|
|
|
|
valueField: 'ediCode',
|
|
|
|
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
onChange: (e, obj) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'PORTDISCHARGE_COUNTRY_CODE',
|
|
|
|
field: 'PORTDISCHARGE_COUNTRY_CODE',
|
|
|
@ -189,85 +175,85 @@ export const columns: BasicColumn[] = [
|
|
|
|
title: '订舱抬头',
|
|
|
|
title: '订舱抬头',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 200,
|
|
|
|
width: 200,
|
|
|
|
dataIndex: 'bookinG_PARTY'
|
|
|
|
dataIndex: 'bookingParty'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '合约号',
|
|
|
|
title: '合约号',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'contracT_NO'
|
|
|
|
dataIndex: 'contractNo'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '订舱方式',
|
|
|
|
title: '订舱方式',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'bookinG_SLOT_TYPE_NAME'
|
|
|
|
dataIndex: 'bookingSlotTypeName'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '总库存',
|
|
|
|
title: '总库存',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'totaL_ORDERS'
|
|
|
|
dataIndex: 'totalOrders'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '剩余库存',
|
|
|
|
title: '剩余库存',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'remaiN_CTNS_NUM',
|
|
|
|
dataIndex: 'remainCtnsNum',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '取消库存',
|
|
|
|
title: '取消库存',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'canceL_NUM'
|
|
|
|
dataIndex: 'cancelNum'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '收货地',
|
|
|
|
title: '收货地',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'placereceipt'
|
|
|
|
dataIndex: 'placeReceipt'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '交货地',
|
|
|
|
title: '交货地',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'placedelivery'
|
|
|
|
dataIndex: 'placeDelivery'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '装货港',
|
|
|
|
title: '装货港',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'portload'
|
|
|
|
dataIndex: 'portLoad'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '卸货港',
|
|
|
|
title: '卸货港',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'portdischarge'
|
|
|
|
dataIndex: 'portDischarge'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '卸货港国家',
|
|
|
|
title: '卸货港国家',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'portdischargE_COUNTRY'
|
|
|
|
dataIndex: 'portDischargeCountry'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '航线',
|
|
|
|
title: '航线',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'lanename'
|
|
|
|
dataIndex: 'laneName'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '箱型箱量',
|
|
|
|
title: '箱型箱量',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
dataIndex: 'ctN_STAT'
|
|
|
|
dataIndex: 'ctnStat'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '剩余箱型箱量',
|
|
|
|
title: '剩余箱型箱量',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
width: 110,
|
|
|
|
width: 110,
|
|
|
|
dataIndex: 'remaiN_CTN_STAT'
|
|
|
|
dataIndex: 'remainCtnStat'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: 'ETD',
|
|
|
|
title: 'ETD',
|
|
|
|