|
|
|
@ -512,6 +512,16 @@
|
|
|
|
|
width: 120,
|
|
|
|
|
data: 'portCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '提箱港口ID',
|
|
|
|
|
width: 120,
|
|
|
|
|
data: 'pickupPortid',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '提箱港口五字码',
|
|
|
|
|
width: 120,
|
|
|
|
|
data: 'pickupPortCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '当前状态ID',
|
|
|
|
|
width: 120,
|
|
|
|
@ -706,6 +716,21 @@
|
|
|
|
|
format: '0',
|
|
|
|
|
readOnly: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '提箱港口',
|
|
|
|
|
width: 120,
|
|
|
|
|
data: 'pickupPort',
|
|
|
|
|
type: 'dropdown',
|
|
|
|
|
// 下拉框数据,可以同步或者异步返回(异步需要process返回)
|
|
|
|
|
source: async (query, process) => {
|
|
|
|
|
const res = PortDict.value.length ? PortDict.value : (await GetClientPortSelectList())?.data
|
|
|
|
|
if (!PortDict.value.length) PortDict.value = res
|
|
|
|
|
const dict = res.map((res) => {
|
|
|
|
|
return res.portName
|
|
|
|
|
})
|
|
|
|
|
process(dict)
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '当前港口',
|
|
|
|
|
width: 120,
|
|
|
|
@ -720,6 +745,7 @@
|
|
|
|
|
})
|
|
|
|
|
process(dict)
|
|
|
|
|
},
|
|
|
|
|
readOnly: true,
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// title: '场站',
|
|
|
|
@ -746,7 +772,7 @@
|
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
|
// 需要隐藏的列
|
|
|
|
|
hiddenColumns: {
|
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
|
|
|
indicators: true,
|
|
|
|
|
},
|
|
|
|
|
// 控制回车移动
|
|
|
|
@ -775,7 +801,7 @@
|
|
|
|
|
list.value[changes[0][0]]['ctnall'] = dict?.ctnName
|
|
|
|
|
list.value[changes[0][0]]['ctnCode'] = dict?.ediCode
|
|
|
|
|
}
|
|
|
|
|
if (changes[0][1] === 'port') {
|
|
|
|
|
if (changes[0][1] === 'port' || changes[0][1] === 'pickupPort') {
|
|
|
|
|
const res = PortDict.value.length
|
|
|
|
|
? PortDict.value
|
|
|
|
|
: (await GetClientPortSelectList())?.data
|
|
|
|
@ -790,6 +816,11 @@
|
|
|
|
|
list.value[changes[0][0]]['portid'] = dict?.id
|
|
|
|
|
list.value[changes[0][0]]['portCode'] = dict?.ediCode
|
|
|
|
|
}
|
|
|
|
|
if (changes[0][1] === 'pickupPort') {
|
|
|
|
|
list.value[changes[0][0]]['pickupPort'] = dict?.portName
|
|
|
|
|
list.value[changes[0][0]]['pickupPortid'] = dict?.id
|
|
|
|
|
list.value[changes[0][0]]['pickupPortCode'] = dict?.ediCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (changes[0][1] === 'ctnSource') {
|
|
|
|
|
const res = ctnsourceDict.value.length
|
|
|
|
@ -944,7 +975,7 @@
|
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
|
// 需要隐藏的列
|
|
|
|
|
hiddenColumns: {
|
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
|
|
|
indicators: true,
|
|
|
|
|
},
|
|
|
|
|
// // 控制回车移动
|
|
|
|
|