master
271556543@qq.com 3 years ago
parent 94d1a3b8c1
commit f5edf8ca6f

@ -204,6 +204,7 @@
}
})
this.form.schedule_list_id = this.id
console.log(this.skuList);
},
//
@ -433,22 +434,22 @@
return
}
//
let flag2 = 0
let tempArr = []
for (let i of this.skuList) {
if (i.isSelect && (i.form.time >= i.info.time_lenth)) {
flag2++
} else {
tempArr.push(i.info.name)
}
}
if (flag2 < this.skuList.length) {
uni.showToast({
icon: 'none',
title: `${tempArr.toString()}服务时间未满`
})
return
}
// let flag2 = 0
// let tempArr = []
// for (let i of this.skuList) {
// if (i.isSelect && (i.form.time >= i.info.time_lenth)) {
// flag2++
// } else {
// tempArr.push(i.info.name)
// }
// }
// if (flag2 < this.skuList.length) {
// uni.showToast({
// icon: 'none',
// title: `${tempArr.toString()}`
// })
// return
// }
this.saveSku().then(() => {
this.type = 3
@ -799,7 +800,7 @@
margin: 46rpx auto;
}
::v-deep .u-checkbox__icon-wrap--disabled text {
::v-deep .u-checkbox__icon-wrap--disabled--checked text {
color: #1d5cba !important;
}
</style>

Loading…
Cancel
Save