Переглянути джерело

船舶档案-增加必填校验

jingbb 6 місяців тому
батько
коміт
ef40b7902f

+ 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',