Browse Source

租户起止时间应为日期类型

chenjun 5 years ago
parent
commit
c74dd6f7da
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/const/crud/admin/tenant.js

+ 2 - 2
src/const/crud/admin/tenant.js

@@ -54,7 +54,7 @@ export const tableOption = {
     {
     {
       label: '开始时间',
       label: '开始时间',
       prop: 'startTime',
       prop: 'startTime',
-      type: 'datetime',
+      type: 'date',
       format: 'yyyy-MM-dd',
       format: 'yyyy-MM-dd',
       valueFormat: 'yyyy-MM-dd',
       valueFormat: 'yyyy-MM-dd',
       rules: [{
       rules: [{
@@ -66,7 +66,7 @@ export const tableOption = {
     {
     {
       label: '结束时间',
       label: '结束时间',
       prop: 'endTime',
       prop: 'endTime',
-      type: 'datetime',
+      type: 'date',
       format: 'yyyy-MM-dd',
       format: 'yyyy-MM-dd',
       valueFormat: 'yyyy-MM-dd',
       valueFormat: 'yyyy-MM-dd',
       rules: [{
       rules: [{