master
271556543@qq.com 3 years ago
parent 21636aeaa9
commit 8ea051f629

@ -388,19 +388,19 @@
//
clockIn() {
//
let flag = false
for (let i of this.skuList) {
if (i.isSelect && i.form.time) {
flag = true
}
}
if (!flag) {
uni.showToast({
icon: 'none',
title: `请选择并填写服务项目与时间`
})
return
}
// let flag = false
// for (let i of this.skuList) {
// if (i.isSelect && i.form.time) {
// flag = true
// }
// }
// if (!flag) {
// uni.showToast({
// icon: 'none',
// title: ``
// })
// return
// }
this.saveSku().then(res => {
this.type = 2
this.isShowImg = true

Loading…
Cancel
Save