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 @@
-
+
-
+
+
+
+
+
+