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