From cdecf0b69cd02b065bba1b332f0692656ba7ba2e Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Tue, 30 Apr 2024 01:42:34 +0800
Subject: [PATCH] home
---
.../patientRegister/AsbChargeRequest.vue | 104 ++++++++++--------
.../patientRegister/PatientRegisterEdit.vue | 38 +++++--
src/views/Home.vue | 10 +-
src/views/charge/charge.vue | 6 +-
src/views/customerOrg/patientLis.vue | 2 +
src/views/customerOrg/patientRegister.vue | 1 +
6 files changed, 95 insertions(+), 66 deletions(-)
diff --git a/src/components/patientRegister/AsbChargeRequest.vue b/src/components/patientRegister/AsbChargeRequest.vue
index d39cc2b..f1f3a7d 100644
--- a/src/components/patientRegister/AsbChargeRequest.vue
+++ b/src/components/patientRegister/AsbChargeRequest.vue
@@ -3,8 +3,8 @@
-
@@ -17,43 +17,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 申请单包含项目
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 申请单包含项目
+
+
+
+
+
+
+
+
+
+
@@ -83,15 +82,17 @@ export default {
data() {
return {
tabChoosed: '1',
- tableData: [], //组合项目数据 过滤后显示的数据
- spanRow: [], //{ startRow: 0, endRow: 0 } 合并行
- tableDataAll: [], //组合项目数据(该客户所有数据)
+ tableData: [], //组合项目数据 过滤后显示的数据
selectedData: [], //选中的组合项目
- finalSelected: [], //取消合并时与selectedData一致,合并时要追 其他未勾选合并的项目
+ hisRequestData:[], //收费申请单
+ hisRequestDataDetails:[], //收费申请单明细
+
};
},
- created() { },
+ created() {
+
+ },
mounted() {
this.initData(this.patientRegister.id);
@@ -101,8 +102,19 @@ export default {
},
methods: {
- initData() {
- //
+ initData(patientRegisterId) {
+ this.tableData=[]
+ if(!patientRegisterId) return
+ postapi('/api/app/registerasbitem/GetCanChargeAsbitemsByPatientRegisterId', { patientRegisterId })
+ .then(res => {
+ if(res.code > -1){
+ res.data.forEach(e => {
+ e.total = Number(e.chargePrice * e.amount)
+ this.tableData.push(e)
+ });
+ }
+ })
+
},
handleSelectionChange(v) {
diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue
index 80e2ea7..e3d9167 100644
--- a/src/components/patientRegister/PatientRegisterEdit.vue
+++ b/src/components/patientRegister/PatientRegisterEdit.vue
@@ -213,19 +213,24 @@
-
+
-
+
+
+
+
+
+