海运出口 新增 部分

szh-new
张同海 7 months ago
parent a9e94d7d3c
commit 781962f82d

@ -433,35 +433,24 @@ export const basicInfoFormSchema: FormSchema[] = [
FnsourceDetailId.data.forEach((e) => { FnsourceDetailId.data.forEach((e) => {
ListData.sourceDetailId.push({ label: e.detailName, value: e.id }) ListData.sourceDetailId.push({ label: e.detailName, value: e.id })
}) })
updateSchema( updateSchema({
// { label: '来源明细',
// label: '来源明细', field: 'sourceDetailId',
// field: 'sourceDetailId', component: 'Select',
// component: 'Select', required: false,
// required: false, dynamicDisabled: ({ values }) => {
// dynamicDisabled: ({ values }) => { return !values.sourceId
// return !values.sourceId
// },
// colProps: { span: 4 },
// componentProps: {
// allowClear: true,
// options: ListData.sourceDetailId,
// showSearch: true,
// filterOption: (input: string, option: any) => {
// return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
// },
// },
// }
{
field: 'bookingNo',
label: '订舱编号',
component: 'Input',
required: false,
dynamicDisabled: false,
defaultValue: '',
colProps: { span: 4 },
}, },
) colProps: { span: 4 },
componentProps: {
allowClear: true,
options: ListData.sourceDetailId,
showSearch: true,
filterOption: (input: string, option: any) => {
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
},
},
})
} }
} }
formModel.sourceDetailId = '' formModel.sourceDetailId = ''

Loading…
Cancel
Save