浏览代码

船舶档案-增加必填校验

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