|
@@ -177,13 +177,13 @@
|
|
|
<div class="chooseSomeone">
|
|
|
<div class="chooseSomeoneFlex1">
|
|
|
<!-- 复选 -->
|
|
|
- <van-radio-group v-model="item.radioPickDegree" v-if="!user.timeType.customDegreeMultiple">
|
|
|
+ <van-radio-group v-model="item.radioPickDegree" v-if="!user.timeType.customDegreeMultiple" @change="$forceUpdate()">
|
|
|
<van-radio v-for="uitem in item.wuduList" :key="uitem.id" :name="uitem.id" style="padding:10px">
|
|
|
{{ uitem.name ? uitem.name : '' }}
|
|
|
</van-radio>
|
|
|
</van-radio-group>
|
|
|
<!-- 多选 -->
|
|
|
- <van-checkbox-group v-model="item.radioPickDegree" v-if="user.timeType.customDegreeMultiple">
|
|
|
+ <van-checkbox-group v-model="item.radioPickDegree" v-if="user.timeType.customDegreeMultiple" @change="$forceUpdate()">
|
|
|
<van-checkbox v-for="uitem in item.wuduList" :key="uitem.id" :name="uitem.id" style="padding:10px">
|
|
|
{{ uitem.name ? uitem.name : '' }}
|
|
|
</van-checkbox>
|
|
@@ -2151,6 +2151,12 @@
|
|
|
formData.append("multiDegrId", JSON.stringify(newDegreeId).replace(/,/g, '@'))
|
|
|
}
|
|
|
} else {
|
|
|
+ if(this.user.timeType.customDegreeStatus == 1) {
|
|
|
+ let times = this.form[formIndex].createDate
|
|
|
+ console.log(times)
|
|
|
+ this.$toast.fail(`[${this.getWeekDay(this.formatTime(times))}] 请选择 ${this.user.timeType.customDegreeName}`)
|
|
|
+ return
|
|
|
+ }
|
|
|
formData.append("degreeId", !customDegreeMultiple ? -1 : "[]");
|
|
|
}
|
|
|
} else {
|