From ccf11bb600b0712be07f9d73affa46b4a7321730 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Tue, 9 Jul 2024 15:20:49 +0800
Subject: [PATCH] seo
---
src/components/patientRegister/PatientRegisterEdit.vue | 5 ++++-
src/components/patientRegister/PatientRegisterItem.vue | 4 ++--
src/components/patientRegister/patientRegisterAsbItem.vue | 2 +-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue
index 28f75c3..0d70855 100644
--- a/src/components/patientRegister/PatientRegisterEdit.vue
+++ b/src/components/patientRegister/PatientRegisterEdit.vue
@@ -1689,7 +1689,10 @@ export default {
// 保存成功赋 id 值等
this.dataTransOpts.tableM.register_check_asbitem = res.data.registerCheckAsbitems
-
+ this.dataTransOpts.tableM.register_check_asbitem.forEach(e => {
+ e.total = e.amount * e.chargePrice
+ });
+
//一般读身份证照片时,会出现这种情况
if (this.peoplePhoto && this.peoplePhoto.indexOf("data:image") > -1) await savePeoplePhoto(res.data.id, this.peoplePhoto);
diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue
index a5eef85..f50b12e 100644
--- a/src/components/patientRegister/PatientRegisterItem.vue
+++ b/src/components/patientRegister/PatientRegisterItem.vue
@@ -125,13 +125,13 @@
-
+
-
+
diff --git a/src/components/patientRegister/patientRegisterAsbItem.vue b/src/components/patientRegister/patientRegisterAsbItem.vue
index 59bbdb9..333dfa4 100644
--- a/src/components/patientRegister/patientRegisterAsbItem.vue
+++ b/src/components/patientRegister/patientRegisterAsbItem.vue
@@ -186,7 +186,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = Math.round(sums[index], 2);
+ sums[index] = Math.floor(sums[index]*100)/100;
sums[index] += " 元";
} else {
sums[index] = "N/A";