|
|
|
|
@ -183,7 +183,6 @@ export default {
|
|
|
|
|
if(type === 2){
|
|
|
|
|
this.$refs['timeSelect'].isDelete = schedule.status == 0
|
|
|
|
|
this.$refs['timeSelect'].form.id = schedule.id
|
|
|
|
|
this.$refs['timeSelect'].form.nurse_id = schedule.nurse_id
|
|
|
|
|
this.$refs['timeSelect'].form.start_time = schedule.start_time
|
|
|
|
|
this.$refs['timeSelect'].form.end_time = schedule.end_time
|
|
|
|
|
this.$refs['timeSelect'].form.schedule_list_skus = schedule.sku.map(item => item.sku_id)
|
|
|
|
|
@ -200,9 +199,6 @@ export default {
|
|
|
|
|
this.flag = true
|
|
|
|
|
this.detail = res.detail
|
|
|
|
|
|
|
|
|
|
if(this.detail.product?.service_rule === 2 && this.detail.schedule && this.detail.schedule.length > 0){
|
|
|
|
|
this.nurseId = this.detail.schedule.at(-1)?.nurse_id
|
|
|
|
|
}
|
|
|
|
|
}catch (err){
|
|
|
|
|
this.flag = false
|
|
|
|
|
}
|
|
|
|
|
|