From a092e74a9014ebf93ec83878ad2fad3fb6131b7c Mon Sep 17 00:00:00 2001 From: ChenQiuYu Date: Tue, 20 May 2025 11:30:36 +0800 Subject: [PATCH] dev --- src/components/charge/PersonalPayment.vue | 17 ++++-- .../charge/RecordsLog/PaymentDetail.vue | 58 +++++++++++++++++++ src/components/outpatient/MedicalQueue.vue | 1 + src/views/outpatient/index.vue | 7 +-- src/views/settings/section.vue | 24 ++++---- 5 files changed, 87 insertions(+), 20 deletions(-) create mode 100644 src/components/charge/RecordsLog/PaymentDetail.vue diff --git a/src/components/charge/PersonalPayment.vue b/src/components/charge/PersonalPayment.vue index 3f24507..0fe220c 100644 --- a/src/components/charge/PersonalPayment.vue +++ b/src/components/charge/PersonalPayment.vue @@ -62,12 +62,14 @@ + \ No newline at end of file diff --git a/src/components/outpatient/MedicalQueue.vue b/src/components/outpatient/MedicalQueue.vue index 9db77ca..5532e20 100644 --- a/src/components/outpatient/MedicalQueue.vue +++ b/src/components/outpatient/MedicalQueue.vue @@ -174,6 +174,7 @@ const changeCurItemOrStatus = (item: any, status: any) => { clickLi(item, false) if (curStatus != null) { curStatus.value = status + init() } } defineExpose({changeCurItemOrStatus}) diff --git a/src/views/outpatient/index.vue b/src/views/outpatient/index.vue index 71af115..b5fbb15 100644 --- a/src/views/outpatient/index.vue +++ b/src/views/outpatient/index.vue @@ -19,7 +19,7 @@
-
@@ -98,7 +98,7 @@ const save = () => { } post('medical/record/save', {data: data}).then((res: any) => { - ElMessage.success("保存成功") + ElMessage.success("接诊完毕,请到收费页面收费") medicalQueueRef.value?.changeCurItemOrStatus(null, 2); }) } @@ -169,8 +169,7 @@ const getOrderTotalPrice = () => { formData.value.goodsDetail?.forEach((item: any) => { totalPrice += item.selectedPrice * item.selectedNum }) - formData.value.preTotalPrice = Math.round((totalPrice * 100) / 100) - formData.value.totalPrice = totalPrice + formData.value.preTotalPrice = totalPrice.toFixed(2); } const caseRef = ref("") const copyForm = (item: any) => { diff --git a/src/views/settings/section.vue b/src/views/settings/section.vue index f3405f2..37a8266 100644 --- a/src/views/settings/section.vue +++ b/src/views/settings/section.vue @@ -25,24 +25,24 @@
- + + - - + + - - - - - - - + + + + + + - - + +