提交预约时加上 加载中

main
刘佳宇 1 year ago
parent 67c639f892
commit c3f8b44b9a

@ -249,14 +249,12 @@ const getnmrList = async () => {
const comfrimyy = async () => {
let plan_id = "";
let plan_nmr_id = "";
// if(!yytjInfo.value?.doctor_name){
// uni.$lu.toast("");
// return;
// }
uni.showLoading();
console.log(yytjInfo.value?.nmr_list);
for (let i = 0; i < yytjInfo.value?.nmr_list?.length; i++) {
if (!yytjInfo.value?.nmr_list[i].id) {
uni.$lu.toast("请完善预约时间");
uni.hideLoading();
return;
}
}
@ -302,6 +300,7 @@ const comfrimyy = async () => {
});
}
}
uni.hideLoading();
});
};

Loading…
Cancel
Save