车辆对接

This commit is contained in:
wangshiming
2022-01-12 14:56:09 +08:00
parent 0352cd2f08
commit c7eeba9ba9
15 changed files with 126 additions and 103 deletions

View File

@ -170,7 +170,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
.request(this.service.$api_get_getCarLicenseListByCarNo, {
carNo: q
})
.pipe(map((res: any[]) => (res as any[]).map(i => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
.pipe(map((res: any) => (res?.records as any[]).map(i => ({ label: i.carNo, value: i.carNo } as SFSchemaEnum))))
.toPromise();
} else {
return of([]);
@ -307,31 +307,31 @@ export class WaybillManagementVehicleComponent implements OnInit {
},
{
title: '货主出价',
width: '100px',
width: '250px',
className: 'text-center',
index: 'resourceCode'
render: 'billExpenseDetailVOList2'
},
{
title: '货源编号',
width: '100px',
width: '150px',
className: 'text-center',
index: 'resourceCode'
},
{
title: '费明细',
width: '100px',
title: '费明细',
width: '250px',
className: 'text-center',
render: 'billExpenseDetailVOList'
},
{ title: '网络货运人', index: 'enterpriseInfoName', width: '120px', className: 'text-center' },
{ title: '货主', index: 'shipperAppUserName', width: '120px', className: 'text-center' },
{ title: '关联订单号', render: 'wayBill', width: '120px', className: 'text-center' },
{ title: '装货地', index: 'loadingAddressArr', width: '120px', className: 'text-center' },
{ title: '网络货运人', index: 'enterpriseInfoName', width: '180px', className: 'text-center' },
{ title: '货主', index: 'shipperAppUserName', width: '150px', className: 'text-center' },
{ title: '关联订单号', render: 'wayBill', width: '180px', className: 'text-center' },
{ title: '装货地', index: 'loadingPlace', width: '180px', className: 'text-center' },
{
title: '卸货地',
className: 'text-center',
width: '120px',
index: 'unloadingAddressArr'
width: '180px',
index: 'dischargePlace'
},
{
title: '货物信息',
@ -359,7 +359,7 @@ export class WaybillManagementVehicleComponent implements OnInit {
},
{
title: '创建时间',
width: '130px',
width: '180px',
className: 'text-center',
index: 'createTime'
},