|
|
@ -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 = ''
|
|
|
|