车辆接口更新

This commit is contained in:
wangshiming
2022-01-20 20:03:23 +08:00
parent f86f4cc801
commit 34dc8c83c6
4 changed files with 20 additions and 30 deletions

View File

@ -501,13 +501,8 @@ export class SupplyManagementVehicleComponent implements OnInit {
{
title: '货源状态',
className: 'text-left',
index: 'resourceStatus',
type: 'badge',
index: 'resourceStatusLabel',
width: '120px',
badge: {
'1': { text: '待接单', color: 'warning' },
'2': { text: '已接单', color: 'success' }
}
},
{
title: '创建时间',
@ -545,11 +540,11 @@ export class SupplyManagementVehicleComponent implements OnInit {
click: _record => this.amend(_record),
iif: item => item.resourceStatus === '1'
},
{
text: '修改运费',
click: _record => this.updateFreight(_record),
iif: item => item.resourceStatus === '1' && item.serviceType === '2'
},
// {
// text: '修改运费',
// click: _record => this.updateFreight(_record),
// iif: item => item.resourceStatus === '1' && item.serviceType === '2'
// },
{
text: '取消货源',
click: _record => this.cancleGoodsSource(_record),