Merge branch 'clickCopyv1.4' into lazyRouter
This commit is contained in:
commit
0c77acfc2a
|
@ -596,6 +596,15 @@ export default class addKnockGold extends Component {
|
||||||
Notify.error('请完整的选择固定时间段')
|
Notify.error('请完整的选择固定时间段')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
(this.state.model.usable_time === 'fiexd' &&
|
||||||
|
this.state.model.fixed_time[0] > this.state.model.entry_time[1]) ||
|
||||||
|
(this.state.model.usable_time === 'fiexd' &&
|
||||||
|
this.state.model.fixed_time[1] > this.state.model.entry_time[1])
|
||||||
|
) {
|
||||||
|
Notify.error('固定开始时间或结束时间不允许大于生效结束时间')
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
/* 验证有效期内,规则日期可用 */
|
/* 验证有效期内,规则日期可用 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue