From 6c25d2b400c85d8851497a4aeb97b0cfb3098218 Mon Sep 17 00:00:00 2001 From: ChenQiuYu Date: Mon, 19 May 2025 13:13:10 +0800 Subject: [PATCH] dev --- src/views/outpatient/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/outpatient/index.vue b/src/views/outpatient/index.vue index af394b3..97f6e64 100644 --- a/src/views/outpatient/index.vue +++ b/src/views/outpatient/index.vue @@ -146,6 +146,7 @@ const changeTab = (e: any) => { patientRegistration.value = {} itemId.value = null isShowFrom.value = false + curRegister.value.status = e nextTick(() => { medicalHistoryRef.value?.clearList(); }) @@ -161,14 +162,14 @@ const getOrderTotalPrice = () => { formData.value.itemDetail?.forEach((item: any) => { totalPrice += item.selectedPrice * item.selectedNum }) - console.log(totalPrice,'totalPrice') + console.log(totalPrice, 'totalPrice') formData.value.goodsDetail?.forEach((item: any) => { totalPrice += item.selectedPrice * item.selectedNum }) - console.log(totalPrice,'totalPrice') + console.log(totalPrice, 'totalPrice') formData.value.preTotalPrice = Math.round((totalPrice * 100) / 100) formData.value.totalPrice = totalPrice - console.log(formData.value.totalPrice,'formData.value.totalPrice') + console.log(formData.value.totalPrice, 'formData.value.totalPrice') } const caseRef = ref("") const copyForm = (item: any) => {