解决冲突

This commit is contained in:
wangshiming
2022-02-24 16:40:23 +08:00
parent b0a301564b
commit f39b829d5d
2 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
} }
}, },
deadlineTime: { deadlineTime: {
title: '截止日期', title: '有效期',
type: 'string', type: 'string',
format: 'date-time', format: 'date-time',
ui: { ui: {
@ -156,7 +156,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
}, },
validator: (val) => { validator: (val) => {
if( new Date(val) <new Date()){ if( new Date(val) <new Date()){
return [{ keyword: 'validTime', message: '截止日期需大于当前时间' }]; return [{ keyword: 'validTime', message: '有效期大于当前时间' }];
} }
return []; return [];
}, },

View File

@ -163,7 +163,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
} }
}, },
deadlineTime: { deadlineTime: {
title: '截止日期', title: '有效期',
type: 'string', type: 'string',
format: 'date-time', format: 'date-time',
ui: { ui: {
@ -179,7 +179,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
}, },
validator: (val) => { validator: (val) => {
if( new Date(val) <new Date()){ if( new Date(val) <new Date()){
return [{ keyword: 'validTime', message: '截止日期需大于当前时间' }]; return [{ keyword: 'validTime', message: '有效期需大于当前时间' }];
} }
return []; return [];
}, },