车辆对接
This commit is contained in:
@ -63,7 +63,8 @@ tabs = {
|
||||
stayQuantity: 0,
|
||||
signQuantity: 0,
|
||||
compolatelQuantity: 0,
|
||||
GoingQuantity: 0
|
||||
GoingQuantity: 0,
|
||||
totalCount: 0
|
||||
};
|
||||
resourceStatus: any;
|
||||
constructor(
|
||||
@ -106,10 +107,14 @@ resourceStatus: any;
|
||||
this.initSTFloat();
|
||||
this.initSTFloatView();
|
||||
}
|
||||
|
||||
search() {
|
||||
this.st?.load(1);
|
||||
this.getGoodsSourceStatistical()
|
||||
}
|
||||
getGoodsSourceStatistical() {
|
||||
this.service.request(this.service.$api_statisticalStatus).subscribe(res => {
|
||||
if (res) {
|
||||
let totalCount = 0;
|
||||
res.forEach((element: any) => {
|
||||
if(element.billStatusLabel === '待发车') {
|
||||
this.tabs.stayQuantity = element.quantity
|
||||
@ -124,7 +129,9 @@ resourceStatus: any;
|
||||
} else if (element.billStatusLabel === '已取消') {
|
||||
this.tabs.cancelQuantity = element.quantity
|
||||
}
|
||||
totalCount += element.quantity
|
||||
});
|
||||
this.tabs.totalCount = totalCount
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -347,36 +354,37 @@ resourceStatus: any;
|
||||
{ title: '', type: 'checkbox', width: '50px', className: 'text-center' },
|
||||
{
|
||||
title: '订单号',
|
||||
width: '100px',
|
||||
width: '200px',
|
||||
className: 'text-center',
|
||||
render: 'billCode'
|
||||
},
|
||||
{
|
||||
title: '我的出价',
|
||||
width: '150px',
|
||||
width: '200px',
|
||||
className: 'text-center',
|
||||
render: 'mybidInfo'
|
||||
},
|
||||
{
|
||||
title: '运费明细',
|
||||
width: '200px',
|
||||
width: '250px',
|
||||
className: 'text-center',
|
||||
render: 'mybidDetailInfo',
|
||||
},
|
||||
{ title: '网络货运人', index: 'enterpriseInfoName', width: '120px', className: 'text-center' },
|
||||
{ title: '货主', index: 'shipperAppUserName', width: '120px', className: 'text-center' },
|
||||
{ title: '关联运单号', index: 'wayBillCode', width: '120px', className: 'text-center' },
|
||||
{ title: '货源编号', index: 'resourceCode', width: '120px', className: 'text-center' },
|
||||
{ title: '装货地', index: 'loadingAddressArr', width: '120px', className: 'text-center' },
|
||||
{ title: '网络货运人', index: 'enterpriseInfoName', width: '170px', className: 'text-center' },
|
||||
{ title: '货主', index: 'shipperAppUserName', width: '170px', className: 'text-center' },
|
||||
{ title: '关联运单号', index: 'wayBillCode', width: '170px', className: 'text-center' },
|
||||
{ title: '货源编号', index: 'resourceCode', width: '170px', className: 'text-center' },
|
||||
{ title: '装货地', index: 'loadingAddressArr', width: '170px', className: 'text-center' },
|
||||
{
|
||||
title: '卸货地',
|
||||
className: 'text-center',
|
||||
width: '120px',
|
||||
width: '170px',
|
||||
index: 'unloadingAddressArr'
|
||||
},
|
||||
{
|
||||
title: '货物信息',
|
||||
className: 'text-center',
|
||||
width: '120px',
|
||||
width: '170px',
|
||||
render: 'goodsName'
|
||||
}, {
|
||||
title: '承运司机',
|
||||
@ -400,6 +408,7 @@ resourceStatus: any;
|
||||
title: '创建时间',
|
||||
className: 'text-center',
|
||||
index: 'creationTime',
|
||||
width: '170px',
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
@ -464,7 +473,7 @@ resourceStatus: any;
|
||||
className: 'text-center',
|
||||
index: 'applyUserName'
|
||||
},
|
||||
{ title: '状态', index: 'handleStatus', className: 'text-center' },
|
||||
{ title: '状态', index: 'handleStatusLabel', className: 'text-center' },
|
||||
{
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
|
||||
Reference in New Issue
Block a user