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

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

Loading…
Cancel
Save