解决冲突
This commit is contained in:
@ -140,7 +140,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
|
||||
}
|
||||
},
|
||||
deadlineTime: {
|
||||
title: '截止日期',
|
||||
title: '有效期',
|
||||
type: 'string',
|
||||
format: 'date-time',
|
||||
ui: {
|
||||
@ -156,7 +156,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
|
||||
},
|
||||
validator: (val) => {
|
||||
if( new Date(val) <new Date()){
|
||||
return [{ keyword: 'validTime', message: '截止日期需大于当前时间' }];
|
||||
return [{ keyword: 'validTime', message: '有效期大于当前时间' }];
|
||||
}
|
||||
return [];
|
||||
},
|
||||
|
||||
@ -163,7 +163,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
|
||||
}
|
||||
},
|
||||
deadlineTime: {
|
||||
title: '截止日期',
|
||||
title: '有效期',
|
||||
type: 'string',
|
||||
format: 'date-time',
|
||||
ui: {
|
||||
@ -179,7 +179,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
|
||||
},
|
||||
validator: (val) => {
|
||||
if( new Date(val) <new Date()){
|
||||
return [{ keyword: 'validTime', message: '截止日期需大于当前时间' }];
|
||||
return [{ keyword: 'validTime', message: '有效期需大于当前时间' }];
|
||||
}
|
||||
return [];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user