Browse Source

船舶档案-增加必填校验

jingbb 6 tháng trước cách đây
mục cha
commit
ef40b7902f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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',