车辆对接

This commit is contained in:
wangshiming
2022-01-12 14:33:13 +08:00
parent 22ee46d6b6
commit 0352cd2f08
5 changed files with 59 additions and 23 deletions

View File

@ -261,18 +261,25 @@ tabs = {
},
} as SFSelectWidgetSchema,
},
goodsName: {
goodsNameId: {
type: 'string',
title: '货物名称',
ui: {
widget: 'select',
placeholder: '请选择',
errors: { required: '请选择货物类型' },
visibleIf: {
_$expand: (value: boolean) => value,
_$expand: (value: boolean) => value
},
allowClear: true,
asyncData: () => this.getCatalogueMember(),
},
asyncData: () =>
this.service2.loadConfigByKey('goods.name.config.type').pipe(
map((data: any) => {
return data[0].children?.map((m: any) => {
return { label: m.name, value: m.id };
});
})
),
} as SFSelectWidgetSchema
},
serviceType: {
title: '服务类型',