|
@@ -282,7 +282,7 @@
|
|
|
//选择服务对象时,获取的排班时间为全部技师的排班时间,所以只要某个时段被选过,那么这个时段的数量-1
|
|
//选择服务对象时,获取的排班时间为全部技师的排班时间,所以只要某个时段被选过,那么这个时段的数量-1
|
|
|
selectServiceObjectList.forEach(selectServiceObject =>{
|
|
selectServiceObjectList.forEach(selectServiceObject =>{
|
|
|
periodTimeList.forEach(periodTime =>{
|
|
periodTimeList.forEach(periodTime =>{
|
|
|
- if (selectServiceObject.serviceStartTime === periodTime.label ){
|
|
|
|
|
|
|
+ if (selectServiceObject.serviceStartTime == periodTime.label ){
|
|
|
periodTime.total = periodTime.total - 1
|
|
periodTime.total = periodTime.total - 1
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|