车辆接口更新
This commit is contained in:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user