fix bug
This commit is contained in:
@ -573,12 +573,14 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
{
|
||||
text: '货源审核',
|
||||
click: _record => this.audit(_record, 1),
|
||||
iif: item => item.auditStatus === '1'
|
||||
iif: item => item.auditStatus === '1',
|
||||
acl: { ability: ['SUPPLY-INDEX-vehicleBatchAudit'] },
|
||||
},
|
||||
{
|
||||
text: '修改货源',
|
||||
click: _record => this.amend(_record),
|
||||
iif: item => item.resourceStatus === '1'
|
||||
iif: item => item.resourceStatus === '1',
|
||||
acl: { ability: ['SUPPLY-INDEX-vehicleModificationSupply'] },
|
||||
},
|
||||
// {
|
||||
// text: '修改运费',
|
||||
@ -588,16 +590,19 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
{
|
||||
text: '取消货源',
|
||||
click: _record => this.cancleGoodsSource(_record),
|
||||
iif: item => item.resourceStatus === '1'
|
||||
iif: item => item.resourceStatus === '1',
|
||||
acl: { ability: ['SUPPLY-INDEX-vehicleCancelSupply'] },
|
||||
},
|
||||
{
|
||||
text: '再下一单',
|
||||
click: _record => this.nextOrder(_record)
|
||||
click: _record => this.nextOrder(_record),
|
||||
acl: { ability: ['SUPPLY-INDEX-vehiclePlaceOrder'] },
|
||||
},
|
||||
{
|
||||
text: '重新指派 ',
|
||||
click: _record => this.assignedCar(_record),
|
||||
iif: item => item.resourceStatus === '1' && item.serviceType === '2'
|
||||
iif: item => item.resourceStatus === '1' && item.serviceType === '2',
|
||||
acl: { ability: ['SUPPLY-INDEX-vehicleReassign'] },
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user