edit
This commit is contained in:
@ -66,8 +66,8 @@ const routes: Routes = [
|
||||
{ path: 'receipt-order/detail/:id', component: ReceiptOrderDetailComponent },
|
||||
{ path: 'advance-collection', component: AdvanceCollectionComponent },
|
||||
{ path: 'advance-collection/detail/:id', component: AdvanceCollectionDetailComponent },
|
||||
{ path: 'receivable-order', component: ReceivableOrderComponent },
|
||||
{ path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent },
|
||||
{ path: 'receivable-order', component: ReceivableOrderComponent, data: { guard: { ability: ['FINANCIAL-RECEIVABLE-list'] } } },
|
||||
{ path: 'receivable-order/detail/:id', component: ReceivableOrderDetailComponent, data: { guard: { ability: ['FINANCIAL-RECEIVABLE-DETAIL-view'] } } },
|
||||
{ path: 'payable-order', component: PayableOrderComponent },
|
||||
{ path: 'payable-order/detail/:id', component: PayableOrderDetailComponent },
|
||||
{ path: 'bank-card-management/index', component: CwcBankCardManagementIndexComponent }
|
||||
|
||||
@ -260,9 +260,9 @@
|
||||
<button *ngIf="this.PageStatus == '整车修改'" nz-button nzType="primary" style="margin-left: 48px"
|
||||
(click)="submitConfirm()" acl [acl-ability]="['SUPPLY-VEHICLE-AMEND-submitChange']">提交修改</button>
|
||||
<button nz-button nzType="primary" *ngIf="this.PageStatus == '整车下一单'" (click)="submitConfirm('assign')" acl
|
||||
[acl-ability]="['SUPPLY-BULK-PLACEORDER-vehicleDesignate']">指派熟车</button>
|
||||
[acl-ability]="['SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate']">指派熟车</button>
|
||||
<button *ngIf="this.PageStatus == '整车下一单'" nz-button nzType="primary" style="margin-left: 48px"
|
||||
(click)="submitConfirm('publish')" acl
|
||||
[acl-ability]="['SUPPLY-BULK-PLACEORDER-vehicleAnotherOrder']">司机抢单</button>
|
||||
[acl-ability]="['SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder']">司机抢单</button>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
@ -51,6 +51,15 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'vehicle-amend/:id',
|
||||
component: SupplyManagementOnecarPublishComponent,
|
||||
data: {
|
||||
guard: {
|
||||
ability: ['SUPPLY-VEHICLE-AMEND-submitChange']
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'vehicle-next/:id',
|
||||
component: SupplyManagementOnecarPublishComponent,
|
||||
data: {
|
||||
guard: {
|
||||
ability: [
|
||||
@ -58,25 +67,30 @@ const routes: Routes = [
|
||||
'SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate',
|
||||
'SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder'
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'vehicle-next/:id',
|
||||
component: SupplyManagementOnecarPublishComponent,
|
||||
// data: {
|
||||
// guard: {
|
||||
// ability: [
|
||||
// 'SUPPLY-VEHICLE-PLACEORDER-QRCode',
|
||||
// 'SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate',
|
||||
// 'SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder'
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
path: 'vehicle-release',
|
||||
component: SupplyManagementReleasePublishComponent,
|
||||
data: {
|
||||
guard: { ability: ['SUPPLY-VEHICLE-RELEASE-bulkDesignate', 'SUPPLY-VEHICLE-RELEASE-bulkDriverOrder'] }
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'bulk-release',
|
||||
component: SupplyManagementBulkReleasePublishComponent,
|
||||
data: {
|
||||
guard: { ability: ['SUPPLY-BULK-RELEASE-consignBulkAssign', 'SUPPLY-BULK-RELEASE-consignBulk'] }
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'bulk-next/:id',
|
||||
component: SupplyManagementBulkPublishComponent,
|
||||
data: {
|
||||
guard: { ability: ['SUPPLY-BULK-PLACEORDER-vehicleAnotherOrder', 'SUPPLY-BULK-PLACEORDER-vehicleDesignate'] }
|
||||
}
|
||||
},
|
||||
{ path: 'vehicle-release', component: SupplyManagementReleasePublishComponent },
|
||||
{ path: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
||||
{ path: 'bulk-next/:id', component: SupplyManagementBulkPublishComponent },
|
||||
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user