fix bug
This commit is contained in:
		| @ -76,13 +76,10 @@ export class SupplyManagementBulkComponent implements OnInit { | ||||
|         serviceType: { | ||||
|           title: '服务类型', | ||||
|           type: 'string', | ||||
|           default: 0, | ||||
|           enum: [ | ||||
|             { label: '抢单', value: 1 }, | ||||
|             { label: '指派', value: 2 }, | ||||
|           ], | ||||
|           default: '', | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
|             widget: 'dict-select', | ||||
|             params: { dictKey: 'ServiceType' }, | ||||
|             visibleIf: { | ||||
|               _$expand: (value: boolean) => value, | ||||
|             }, | ||||
| @ -92,8 +89,9 @@ export class SupplyManagementBulkComponent implements OnInit { | ||||
|           title: '结算依据', | ||||
|           type: 'string', | ||||
|           enum: [ | ||||
|             { label: '以收获为准', value: 1 }, | ||||
|             { label: '以发货为准', value: 2 }, | ||||
|             { label: '全部', value: '' }, | ||||
|             { label: '以收货为准', value: '1' }, | ||||
|             { label: '以发货为准', value: '2' }, | ||||
|           ], | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| /* | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-14 20:39:34 | ||||
|  * @LastEditTime: 2021-12-14 20:41:43 | ||||
|  * @LastEditors: your name | ||||
|  * @LastEditTime: 2021-12-14 20:43:18 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\supply-management\components\onecar-publish\publish-success\publish-success.component.ts | ||||
|  */ | ||||
| @ -26,6 +26,6 @@ export class PublishSuccessComponent { | ||||
|   } | ||||
|  | ||||
|   view() { | ||||
|     this.router.navigate(['/supply-management/list'], { queryParams: { type: this.type } }); | ||||
|     this.router.navigate(['/supply-management/index'], { queryParams: { type: this.type } }); | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -75,13 +75,10 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|         serviceType: { | ||||
|           title: '服务类型', | ||||
|           type: 'string', | ||||
|           enum: [ | ||||
|             { label: '抢单', value: 1 }, | ||||
|             { label: '指派', value: 2 }, | ||||
|           ], | ||||
|           default: '', | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
|  | ||||
|             widget: 'dict-select', | ||||
|             params: { dictKey: 'ServiceType' }, | ||||
|           } as SFSelectWidgetSchema, | ||||
|         }, | ||||
|         goodsName: { | ||||
| @ -124,14 +121,9 @@ export class SupplyManagementVehicleComponent implements OnInit { | ||||
|         auditStatus: { | ||||
|           title: '审核状态', | ||||
|           type: 'string', | ||||
|           enum: [ | ||||
|             { label: '待审核', value: 1 }, | ||||
|             { label: '审核通过', value: 2 }, | ||||
|             { label: '不通过', value: 3 }, | ||||
|             { label: '已取消', value: 4 }, | ||||
|           ], | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
|             widget: 'dict-select', | ||||
|             params: { dictKey: 'GoodsResourceAuditStatus' }, | ||||
|             visibleIf: { | ||||
|               _$expand: (value: boolean) => value, | ||||
|             }, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user