소스 검색

船舶档案-增加必填校验

jingbb 6 달 전
부모
커밋
ef40b7902f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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',