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";