|
@@ -29,7 +29,10 @@
|
|
|
<view class="serob" >
|
|
<view class="serob" >
|
|
|
<text>服务时段以及服务费用</text>
|
|
<text>服务时段以及服务费用</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view>
|
|
|
|
|
|
|
+ <view v-if="!item.serviceStartTime" class="noTime flex-row justify-center">
|
|
|
|
|
+ <text>暂无可用的服务时段</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view v-else>
|
|
|
<u-grid :border="false" col="5">
|
|
<u-grid :border="false" col="5">
|
|
|
<u-grid-item v-if="item2.total > 0" v-for="(item2,index2) in item.periodTimeList" :key="index2">
|
|
<u-grid-item v-if="item2.total > 0" v-for="(item2,index2) in item.periodTimeList" :key="index2">
|
|
|
<view class="flex-col justify-center timeItem " :class="{selectBack: item2.select}" @click="selectServiceTime(item.periodTimeList,index,index2)">
|
|
<view class="flex-col justify-center timeItem " :class="{selectBack: item2.select}" @click="selectServiceTime(item.periodTimeList,index,index2)">
|
|
@@ -284,6 +287,16 @@
|
|
|
uni.$u.toast('请选择服务对象')
|
|
uni.$u.toast('请选择服务对象')
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+ let flag = false
|
|
|
|
|
+ this.orderParam.childService.forEach(i=>{
|
|
|
|
|
+ if (!i.serviceStartTime){
|
|
|
|
|
+ uni.$u.toast('请选择服务时段')
|
|
|
|
|
+ flag= true
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ if (flag){
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
if (this.requestStatus) {
|
|
if (this.requestStatus) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|