|
|
@ -552,11 +552,6 @@
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
data: 'dropoffPortCode',
|
|
|
|
data: 'dropoffPortCode',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '租箱客户ID',
|
|
|
|
|
|
|
|
width: 120,
|
|
|
|
|
|
|
|
data: 'rentCustomerId',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '租箱业务ID',
|
|
|
|
title: '租箱业务ID',
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
@ -592,9 +587,9 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '租箱客户',
|
|
|
|
title: '原箱主',
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
data: 'rentCustomerName',
|
|
|
|
data: 'oldContainerOwner',
|
|
|
|
type: 'dropdown',
|
|
|
|
type: 'dropdown',
|
|
|
|
// 下拉框数据,可以同步或者异步返回(异步需要process返回)
|
|
|
|
// 下拉框数据,可以同步或者异步返回(异步需要process返回)
|
|
|
|
source: async (query, process) => {
|
|
|
|
source: async (query, process) => {
|
|
|
@ -645,6 +640,12 @@
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
data: 'ctnReleaseNo',
|
|
|
|
data: 'ctnReleaseNo',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '单程租入合同号',
|
|
|
|
|
|
|
|
width: 120,
|
|
|
|
|
|
|
|
data: 'ctnReleaseNo_In',
|
|
|
|
|
|
|
|
readOnly: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '租箱日期',
|
|
|
|
title: '租箱日期',
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
@ -787,7 +788,7 @@
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
// 需要隐藏的列
|
|
|
|
// 需要隐藏的列
|
|
|
|
hiddenColumns: {
|
|
|
|
hiddenColumns: {
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9],
|
|
|
|
indicators: true,
|
|
|
|
indicators: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 控制回车移动
|
|
|
|
// 控制回车移动
|
|
|
@ -816,7 +817,7 @@
|
|
|
|
list.value[changes[0][0]]['ctnall'] = dict?.ctnName
|
|
|
|
list.value[changes[0][0]]['ctnall'] = dict?.ctnName
|
|
|
|
list.value[changes[0][0]]['ctnCode'] = dict?.ediCode
|
|
|
|
list.value[changes[0][0]]['ctnCode'] = dict?.ediCode
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (changes[0][1] === 'rentCustomerName') {
|
|
|
|
if (changes[0][1] === 'oldContainerOwner') {
|
|
|
|
const res = ContainerOwnerDict.value.length
|
|
|
|
const res = ContainerOwnerDict.value.length
|
|
|
|
? ContainerOwnerDict.value
|
|
|
|
? ContainerOwnerDict.value
|
|
|
|
: (await GetClientListByCode({ code: 'leasing' }))?.data
|
|
|
|
: (await GetClientListByCode({ code: 'leasing' }))?.data
|
|
|
@ -825,8 +826,8 @@
|
|
|
|
return item.pinYinCode === changes[0][3]
|
|
|
|
return item.pinYinCode === changes[0][3]
|
|
|
|
})
|
|
|
|
})
|
|
|
|
if (item) dict = item[0]
|
|
|
|
if (item) dict = item[0]
|
|
|
|
list.value[changes[0][0]]['rentCustomerName'] = dict?.pinYinCode
|
|
|
|
list.value[changes[0][0]]['oldContainerOwner'] = dict?.pinYinCode
|
|
|
|
list.value[changes[0][0]]['rentCustomerId'] = dict?.id
|
|
|
|
list.value[changes[0][0]]['oldContainerOwnerId'] = dict?.id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (changes[0][1] === 'rentDirect') {
|
|
|
|
if (changes[0][1] === 'rentDirect') {
|
|
|
|
const res = rentDirectDict.value.length
|
|
|
|
const res = rentDirectDict.value.length
|
|
|
@ -965,7 +966,7 @@
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
// 需要隐藏的列
|
|
|
|
// 需要隐藏的列
|
|
|
|
hiddenColumns: {
|
|
|
|
hiddenColumns: {
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8],
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8, 9],
|
|
|
|
indicators: true,
|
|
|
|
indicators: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// // 控制回车移动
|
|
|
|
// // 控制回车移动
|
|
|
|