合同
This commit is contained in:
		| @ -121,7 +121,7 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|             }, | ||||
|           } | ||||
|         }, | ||||
|         no1: { | ||||
|         dischargePlace: { | ||||
|           type: 'string', | ||||
|           title: '卸货地', | ||||
|           ui: { | ||||
| @ -130,7 +130,7 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|             }, | ||||
|           } | ||||
|         }, | ||||
|         no4: { | ||||
|         shipperAppUserName: { | ||||
|           type: 'string', | ||||
|           title: '货主', | ||||
|           ui: { | ||||
| @ -139,7 +139,7 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|             }, | ||||
|           } | ||||
|         }, | ||||
|         sex: { | ||||
|         auditStatus: { | ||||
|           title: '审核状态', | ||||
|           type: 'string', | ||||
|           enum: [ | ||||
| @ -155,7 +155,7 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|             }, | ||||
|           } as SFSelectWidgetSchema, | ||||
|         }, | ||||
|         appId: { | ||||
|         enterpriseInfoName: { | ||||
|           type: 'string', | ||||
|           title: '网络货运人', | ||||
|           ui: { | ||||
| @ -292,12 +292,12 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|           { | ||||
|             text: '货源审核', | ||||
|             click: (_record) => this.audit(_record, 1), | ||||
|             iif: item => item.status === 1, | ||||
|             // iif: item => item.auditStatus === 1, | ||||
|           }, | ||||
|           { | ||||
|             text: '修改货源', | ||||
|             click: (_record) => this.amend(_record), | ||||
|             iif: item => item.status === 1 || item.status === 2, | ||||
|             // iif: item => item.auditStatus === 1 || item.auditStatus === 2, | ||||
|           }, | ||||
|           { | ||||
|             text: '修改运费', | ||||
| @ -305,17 +305,17 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|           }, | ||||
|           { | ||||
|             text: '取消货源', | ||||
|             iif: item => item.status === 1 || item.status === 2, | ||||
|             // iif: item => item.auditStatus === 1 || item.auditStatus === 2, | ||||
|             // click: (_record) => this.delOne(_record), | ||||
|           }, | ||||
|           { | ||||
|             text: '再下一单', | ||||
|             // click: (_record) => this.editOne(_record), | ||||
|             click: (_record) => this.nextOrder(_record), | ||||
|           }, | ||||
|           { | ||||
|             text: '重新指派', | ||||
|             click: (_record) => this.assignedCar(_record), | ||||
|             iif: item =>  item.status === 2, | ||||
|             // iif: item =>  item.auditStatus === 2, | ||||
|           }, | ||||
|         ], | ||||
|       }, | ||||
| @ -448,4 +448,9 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|       relativeTo: this.ar | ||||
|     }) | ||||
|   } | ||||
|   nextOrder(item: any) { | ||||
|     this.router.navigate(['/supply-management/vehicle-amend', item.id], { | ||||
|       relativeTo: this.ar | ||||
|     }) | ||||
|   } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user