Ver Fonte

船舶档案-增加必填校验

jingbb há 8 meses atrás
pai
commit
ef40b7902f
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/views/baseCode/ShipArchive/BaseShipArchive.data.ts

+ 2 - 0
src/views/baseCode/ShipArchive/BaseShipArchive.data.ts

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