提交 39ba0eaa authored 作者: matian's avatar matian

bug修复

上级 cf29f251
...@@ -165,19 +165,20 @@ export default { ...@@ -165,19 +165,20 @@ export default {
a.push(infos) a.push(infos)
return a return a
}, []) }, [])
console.log(params.users_info, '123') let flag = false
if (params.users_info) {
params.users_info.forEach(item => { params.users_info.forEach(item => {
if (item.check_in_time && item.check_out_time) { if (item.check_in_time && item.check_out_time) {
if (item.check_in_time >= item.check_out_time) { if (item.check_in_time >= item.check_out_time) {
Toast('入住时间要早于离店时间') Toast('入住时间要早于离店时间')
flag = true
return false
} }
} }
}) })
return if (flag) {
} return false
console.log(params.users_info, '456') } else {
saveStepInfo(params).then(res => { saveStepInfo(params).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.data.join_rand = res.data.join_rand this.data.join_rand = res.data.join_rand
...@@ -200,6 +201,7 @@ export default { ...@@ -200,6 +201,7 @@ export default {
this.checkedPay = false this.checkedPay = false
} }
}) })
}
}, },
// 表单项减少 // 表单项减少
handleMinus(index) { handleMinus(index) {
......
...@@ -252,7 +252,6 @@ export default { ...@@ -252,7 +252,6 @@ export default {
} }
.main_content_activity_list { .main_content_activity_list {
cursor: pointer; cursor: pointer;
box-sizing: border-box; box-sizing: border-box;
padding: 0.2rem 0.25rem 0.2rem 0.3rem; padding: 0.2rem 0.25rem 0.2rem 0.3rem;
width: 100%; width: 100%;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论