fix bug
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
></sf>
|
||||
</div>
|
||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()">查询</button>
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()" acl [acl-ability]="['SUPPLY-INDEX-vehicleSearch']">查询</button>
|
||||
<button nz-button nzType="primary" [disabled]="service.http.loading">导出</button>
|
||||
<button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
@ -95,9 +95,9 @@
|
||||
</nz-card>
|
||||
<ng-template #extraTemplate>
|
||||
<div>
|
||||
<button (click)="audit('', 2)" nz-button nzType="primary">批量审核</button>
|
||||
<button (click)="releaseGoods()" nz-button nzType="primary">代发货源</button>
|
||||
<button (click)="importGoodsSource()" nz-button nzType="primary">导入货源</button>
|
||||
<button (click)="audit('', 2)" nz-button nzType="primary" acl [acl-ability]="['SUPPLY-INDEX-vehicleBatchAudit']">批量审核</button>
|
||||
<button (click)="releaseGoods()" nz-button nzType="primary" acl [acl-ability]="['SUPPLY-INDEX-vehicleUndertakesToSupply']">代发货源</button>
|
||||
<button (click)="importGoodsSource()" nz-button nzType="primary" >导入货源</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
|
||||
@ -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