Browse Source

船舶档案-取消唯一编号(IMO)必填校验/样式调整

jingbb 5 tháng trước cách đây
mục cha
commit
cb63e89b14

+ 1 - 1
src/views/baseCode/ShipArchive/BaseShipArchive.data.ts

@@ -112,7 +112,7 @@ export const formSchema: FormSchema[] = [
     label: '唯一编号(IMO)',
     field: 'imo',
     component: 'Input',
-    required: true,
+    // required: true,
   },
   {
     label: '船名称(ship name)',

+ 1 - 1
src/views/baseCode/ShipArchive/components/BaseShipArchiveAccessoriesModal.vue

@@ -16,7 +16,7 @@
         :rowNumber="false"
         :rowSelection="true"
         :toolbar="false"
-        
+        style="margin-top:1%"
         />
       
   </BasicModal>

+ 2 - 2
src/views/baseCode/ShipArchive/components/BaseShipArchiveAccessoriesModal2.vue

@@ -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" />
   </BasicModal>
 </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}