This commit is contained in:
wangshiming
2021-12-14 20:51:27 +08:00
parent 1a611f3a69
commit 0201624265
5 changed files with 24 additions and 40 deletions

View File

@ -280,18 +280,17 @@ export class OrderManagementBulkComponent implements OnInit {
asyncData: () => this.getCatalogueMember(), asyncData: () => this.getCatalogueMember(),
}, },
}, },
appId5: { serviceType: {
type: 'string',
title: '服务类型', title: '服务类型',
type: 'string',
default: '',
ui: { ui: {
widget: 'select', widget: 'dict-select',
placeholder: '请选择', params: { dictKey: 'ServiceType' },
visibleIf: { visibleIf: {
_$expand: (value: boolean) => value, _$expand: (value: boolean) => value,
}, },
allowClear: true, } as SFSelectWidgetSchema,
asyncData: () => this.getCatalogueMember(),
},
}, },
}, },
type: 'object', type: 'object',

View File

@ -267,18 +267,13 @@ export class OrderManagementVehicleComponent implements OnInit {
}, },
} as SFSelectWidgetSchema, } as SFSelectWidgetSchema,
}, },
sex5: { serviceType: {
title: '服务类型', title: '服务类型',
type: 'string', type: 'string',
default: 0, default: '',
enum: [
{ label: '未知', value: 0 },
{ label: '男', value: 1 },
{ label: '女', value: 2 },
{ label: '保密', value: 3 },
],
ui: { ui: {
widget: 'select', widget: 'dict-select',
params: { dictKey: 'ServiceType' },
visibleIf: { visibleIf: {
_$expand: (value: boolean) => value, _$expand: (value: boolean) => value,
}, },

View File

@ -76,13 +76,10 @@ export class SupplyManagementBulkComponent implements OnInit {
serviceType: { serviceType: {
title: '服务类型', title: '服务类型',
type: 'string', type: 'string',
default: 0, default: '',
enum: [
{ label: '抢单', value: 1 },
{ label: '指派', value: 2 },
],
ui: { ui: {
widget: 'select', widget: 'dict-select',
params: { dictKey: 'ServiceType' },
visibleIf: { visibleIf: {
_$expand: (value: boolean) => value, _$expand: (value: boolean) => value,
}, },
@ -92,8 +89,9 @@ export class SupplyManagementBulkComponent implements OnInit {
title: '结算依据', title: '结算依据',
type: 'string', type: 'string',
enum: [ enum: [
{ label: '以收获为准', value: 1 }, { label: '全部', value: '' },
{ label: '以货为准', value: 2 }, { label: '以货为准', value: '1' },
{ label: '以发货为准', value: '2' },
], ],
ui: { ui: {
widget: 'select', widget: 'select',

View File

@ -1,8 +1,8 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-12-14 20:39:34 * @Date: 2021-12-14 20:39:34
* @LastEditTime: 2021-12-14 20:41:43 * @LastEditTime: 2021-12-14 20:43:18
* @LastEditors: your name * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @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 * @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() { view() {
this.router.navigate(['/supply-management/list'], { queryParams: { type: this.type } }); this.router.navigate(['/supply-management/index'], { queryParams: { type: this.type } });
} }
} }

View File

@ -75,13 +75,10 @@ export class SupplyManagementVehicleComponent implements OnInit {
serviceType: { serviceType: {
title: '服务类型', title: '服务类型',
type: 'string', type: 'string',
enum: [ default: '',
{ label: '抢单', value: 1 },
{ label: '指派', value: 2 },
],
ui: { ui: {
widget: 'select', widget: 'dict-select',
params: { dictKey: 'ServiceType' },
} as SFSelectWidgetSchema, } as SFSelectWidgetSchema,
}, },
goodsName: { goodsName: {
@ -124,14 +121,9 @@ export class SupplyManagementVehicleComponent implements OnInit {
auditStatus: { auditStatus: {
title: '审核状态', title: '审核状态',
type: 'string', type: 'string',
enum: [
{ label: '待审核', value: 1 },
{ label: '审核通过', value: 2 },
{ label: '不通过', value: 3 },
{ label: '已取消', value: 4 },
],
ui: { ui: {
widget: 'select', widget: 'dict-select',
params: { dictKey: 'GoodsResourceAuditStatus' },
visibleIf: { visibleIf: {
_$expand: (value: boolean) => value, _$expand: (value: boolean) => value,
}, },