修改校验
This commit is contained in:
parent
de1dd1abb7
commit
13a6a94859
|
@ -208,11 +208,6 @@ export default class addKnockGold extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(
|
|
||||||
this.state.model.usable_time === '2',
|
|
||||||
this.setTime(this.state.model.fixed_time)
|
|
||||||
)
|
|
||||||
debugger
|
|
||||||
if (
|
if (
|
||||||
this.state.model.usable_time === '2' &&
|
this.state.model.usable_time === '2' &&
|
||||||
this.setTime(this.state.model.fixed_time)
|
this.setTime(this.state.model.fixed_time)
|
||||||
|
@ -251,7 +246,7 @@ export default class addKnockGold extends Component {
|
||||||
/* 领取时间段 */
|
/* 领取时间段 */
|
||||||
if (
|
if (
|
||||||
this.setTime(this.state.model.timer) &&
|
this.setTime(this.state.model.timer) &&
|
||||||
this.state.model.receive_type === '2'
|
this.state.model.timer_type === '2'
|
||||||
) {
|
) {
|
||||||
Notify.error('请选择结束时间或开始时间')
|
Notify.error('请选择结束时间或开始时间')
|
||||||
return false
|
return false
|
||||||
|
@ -280,6 +275,7 @@ export default class addKnockGold extends Component {
|
||||||
newData.map((item) => {
|
newData.map((item) => {
|
||||||
if (!item) blr = true
|
if (!item) blr = true
|
||||||
})
|
})
|
||||||
|
debugger
|
||||||
return blr
|
return blr
|
||||||
}
|
}
|
||||||
// onProductChange(e) {
|
// onProductChange(e) {
|
||||||
|
|
Loading…
Reference in New Issue