箱管 调整

szh-new
张同海 3 months ago
parent 0d02865c6d
commit 8d56086a69

@ -19,14 +19,14 @@
@click="closeModal" @click="closeModal"
>取消</a-button >取消</a-button
> >
<a-button <!-- <a-button
type="success" type="success"
:loading="loading" :loading="loading"
pre-icon="ant-design:check-outlined" pre-icon="ant-design:check-outlined"
style="margin-right: 0.8rem" style="margin-right: 0.8rem"
@click="handleSave(false)" @click="handleSave(false)"
>仅保存</a-button >仅保存</a-button
> > -->
<a-button <a-button
pre-icon="ant-design:check-circle-outlined" pre-icon="ant-design:check-circle-outlined"
type="primary" type="primary"

@ -299,25 +299,23 @@ export const searchFormSchema: FormSchema[] = [
{ {
field: 'etd', field: 'etd',
label: 'ETD', label: 'ETD',
component: 'DatePicker', component: 'RangePicker',
required: false,
dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 4 },
defaultValue: '',
componentProps: { componentProps: {
showTime: false, allowClear: true,
style: 'width:100%',
valueFormat: 'YYYY-MM-DD 00:00:00',
}, },
}, },
{ {
field: 'eta', field: 'eta',
label: 'ETA', label: 'ETA',
component: 'DatePicker', component: 'RangePicker',
required: false,
dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 4 },
defaultValue: '',
componentProps: { componentProps: {
showTime: false, allowClear: true,
style: 'width:100%',
valueFormat: 'YYYY-MM-DD 00:00:00',
}, },
}, },
] ]

@ -485,7 +485,7 @@ export const formSchema: FormSchema[] = [
export const formSearchBoxSchema: FormSchema[] = [ export const formSearchBoxSchema: FormSchema[] = [
{ {
field: 'oldContainerOwner', field: 'oldContainerOwnerId',
label: '原箱主', label: '原箱主',
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
@ -499,7 +499,7 @@ export const formSearchBoxSchema: FormSchema[] = [
params: { code: 'leasing' }, params: { code: 'leasing' },
labelField: 'pinYinCode', labelField: 'pinYinCode',
showName: 'shortName', showName: 'shortName',
valueField: 'shortName', valueField: 'id',
resultField: 'data', resultField: 'data',
immediate: false, immediate: false,
filterOption: (input: string, option: any) => { filterOption: (input: string, option: any) => {

@ -19,14 +19,14 @@
@click="closeModal" @click="closeModal"
>取消</a-button >取消</a-button
> >
<a-button <!-- <a-button
type="success" type="success"
:loading="loading" :loading="loading"
pre-icon="ant-design:check-outlined" pre-icon="ant-design:check-outlined"
style="margin-right: 0.8rem" style="margin-right: 0.8rem"
@click="handleSave(false)" @click="handleSave(false)"
>仅保存</a-button >仅保存</a-button
> > -->
<a-button <a-button
pre-icon="ant-design:check-circle-outlined" pre-icon="ant-design:check-circle-outlined"
type="primary" type="primary"

@ -196,9 +196,16 @@ export const formSchema: FormSchema[] = [
field: 'cntrno', field: 'cntrno',
label: '集装箱号', label: '集装箱号',
component: 'InputTextArea', component: 'InputTextArea',
rules: [
{
required: true, required: true,
trigger: 'blur',
message: '请输入集装箱号',
},
],
colProps: { span: 24 }, colProps: { span: 24 },
componentProps: { componentProps: {
validateOnRuleChange: false,
placeholder: '请输入,多个箱号请以“,”逗号间隔', placeholder: '请输入,多个箱号请以“,”逗号间隔',
rows: 3, rows: 3,
}, },

@ -19,14 +19,14 @@
@click="closeModal" @click="closeModal"
>取消</a-button >取消</a-button
> >
<a-button <!-- <a-button
type="success" type="success"
:loading="loading" :loading="loading"
pre-icon="ant-design:check-outlined" pre-icon="ant-design:check-outlined"
style="margin-right: 0.8rem" style="margin-right: 0.8rem"
@click="handleSave(false)" @click="handleSave(false)"
>仅保存</a-button >仅保存</a-button
> > -->
<a-button <a-button
pre-icon="ant-design:check-circle-outlined" pre-icon="ant-design:check-circle-outlined"
type="primary" type="primary"

Loading…
Cancel
Save