@@ -112,7 +112,7 @@ export const formSchema: FormSchema[] = [
label: '唯一编号(IMO)',
field: 'imo',
component: 'Input',
- required: true,
+ // required: true,
},
{
label: '船名称(ship name)',
@@ -16,7 +16,7 @@
:rowNumber="false"
:rowSelection="true"
:toolbar="false"
-
+ style="margin-top:1%"
/>
</BasicModal>
@@ -1,5 +1,5 @@
<template>
- <BasicModal v-bind="$attrs" @register="registerModal" destroyOnClose :title="title" :width="800" @ok="handleSubmit">
+ <BasicModal v-bind="$attrs" @register="registerModal" destroyOnClose :title="title" :width="1000" @ok="handleSubmit">
<BasicForm @register="registerForm" name="BaseShipArchiveAccessoriesForm" />
</template>
@@ -17,7 +17,7 @@
const isDetail = ref(false);
//表单配置
const [registerForm, { setProps,resetFields, setFieldsValue, validate, scrollToField }] = useForm({
- labelWidth: 150,
+ labelWidth: 200,
schemas: formSchema,
showActionButtonGroup: false,
baseColProps: {span: 24}