2 Revize f060f918d1 ... 73609c4ab1

Autor SHA1 Zpráva Datum
  jingbb 73609c4ab1 Merge branch 'master' of http://139.196.39.194:9021/yuansh/global-web před 4 dny
  jingbb 473c61c17d 汇率设置新增/编辑/详情-增加月份字段 před 4 dny

+ 14 - 2
src/views/baseCode/ExchangeRate/BaseExchangeRate.data.ts

@@ -69,9 +69,21 @@ export const formSchema: FormSchema[] = [
     label: '年度(year)',
     field: 'year',
     required: true,
-    component: 'Input',
+    component: 'DatePicker',
     componentProps:{
-      AutoComplete:'off'
+      AutoComplete:'off',
+      picker:"year",
+      valueFormat:'YYYY'
+    },
+  },
+  {
+    label: '月度(month)',
+    field: 'month',
+    required: true,
+    component: 'MonthPicker',
+    componentProps:{
+      AutoComplete:'off',
+      valueFormat:'YYYY-MM'
     },
   },
   {