diff --git a/h5/pages/main/tjyy/tjyy.vue b/h5/pages/main/tjyy/tjyy.vue index ee5df0c..4c7d4ee 100755 --- a/h5/pages/main/tjyy/tjyy.vue +++ b/h5/pages/main/tjyy/tjyy.vue @@ -189,6 +189,7 @@ const comfrimyy = async () => { item_ids: buyInfo.value.item_ids, plan_id: plan_id, plan_nmr_id: plan_nmr_id, + doctor: yytjInfo.value?.doctor_name || "", }; console.log(obj); diff --git a/h5/pages/main/yytjsj/yytjsj.vue b/h5/pages/main/yytjsj/yytjsj.vue index 2ab2d98..6e46998 100755 --- a/h5/pages/main/yytjsj/yytjsj.vue +++ b/h5/pages/main/yytjsj/yytjsj.vue @@ -27,7 +27,6 @@ let timeIndex = ref(null); // 当前选中时间索引 let status = ref(0); // 1:点了确定 2:未点确定 let calendarShow = ref(false); // 日历显示 const rl_list = ref(false); //日历插槽 -let calendar = ref(null); let isClickDoctor = ref(0); // 是否点击了医生 const mountedAction = async () => { @@ -352,25 +351,6 @@ const clickDoctor = () => { }); }; -const confirm = (e) => { - console.log(e); - if (new Date(e.fulldate).getTime() < new Date(getToday()).getTime()) { - uni.$lu.toast("不能选择过去时间"); - let time = setTimeout(() => { - calendar.value.open(); - clearTimeout(time); - }, 500); - return; - } - status.value = 0; - yytjInfo.value.nmr_list[yytjInfo.value.nmr_list.length - 1].time = e.fulldate; - yytjInfo.value.doctor_date = e.fulldate; - $store.setYytjInfo(yytjInfo.value); - uni.navigateTo({ - url: `/pages/main/selectDoctor/selectDoctor?date=${e.fulldate}`, - }); -}; - const comfrimyy = () => { console.log(yytjInfo.value); status.value = 1; @@ -534,16 +514,6 @@ onShow(() => { - - -