解决冲突
This commit is contained in:
		| @ -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 []; | ||||||
|             }, |             }, | ||||||
|  | |||||||
| @ -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 []; | ||||||
|             }, |             }, | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user