瀏覽代碼

c船舶档案-造船日期格式修改

jingbb 4 月之前
父節點
當前提交
c87dfbdbb8
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/baseCode/ShipArchive/BaseShipArchive.data.ts

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

@@ -157,10 +157,10 @@ export const formSchema: FormSchema[] = [
   {
     label: '造船日期(ship date)',
     field: 'shipDate',
-    component: 'DatePicker',
+    component: 'MonthPicker',
     componentProps: {
        showTime: false,
-       valueFormat: 'YYYY-MM-DD'
+       valueFormat: 'YYYY-MM'
      },
   },
   {
@@ -173,6 +173,7 @@ export const formSchema: FormSchema[] = [
         stringToNumber:true,
      },
   },
+  
 	// TODO 主键隐藏字段,目前写死为ID
 	{
 	  label: '',