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

@ -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,
},