1
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-11-22 11:25:53 +08:00
parent 55d8db3369
commit 080e858ae0
1 changed files with 2 additions and 4 deletions

View File

@ -390,7 +390,7 @@ export default {
if ( if (
value && value &&
this.clinicalTrialForm.EndTime && this.clinicalTrialForm.EndTime &&
!moment(value).isBefore(moment(this.clinicalTrialForm.EndTime)) moment(value).isAfter(moment(this.clinicalTrialForm.EndTime))
) { ) {
callback( callback(
new Error( new Error(
@ -410,9 +410,7 @@ export default {
if ( if (
value && value &&
this.clinicalTrialForm.StartTime && this.clinicalTrialForm.StartTime &&
moment(value).isBefore( moment(value).isBefore(moment(this.clinicalTrialForm.StartTime))
moment(this.clinicalTrialForm.StartTime)
)
) { ) {
callback( callback(
new Error( new Error(