|
@@ -15,7 +15,7 @@
|
15
|
15
|
|
16
|
16
|
<div class='dialysisPage' style="padding-top:40px;">
|
17
|
17
|
|
18
|
|
- <listPrintforu v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 && org_id != 10191"
|
|
18
|
+ <listPrintforu v-if=" org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id!=9675 && org_id!=10485 && org_id != 10191 "
|
19
|
19
|
:list="list" :patient="patient" :order="order" :admin="admin">
|
20
|
20
|
</listPrintforu>
|
21
|
21
|
<printOne v-if="org_id == 10191" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
|
|
@@ -23,7 +23,7 @@
|
23
|
23
|
<print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
|
24
|
24
|
<!-- <list-print-two v-if="org_id == 10215 || org_id==9675" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>-->
|
25
|
25
|
<list-print-three v-if="org_id == 10215 || org_id==9675 || org_id ==10485" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-three>
|
26
|
|
- <print-two10265 v-if="org_id == 10265" :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
|
|
26
|
+ <print-two10265 v-if="org_id == 10265 " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
|
27
|
27
|
</div>
|
28
|
28
|
</div>
|
29
|
29
|
</template>
|
|
@@ -379,13 +379,15 @@
|
379
|
379
|
set10265NewData(details) {
|
380
|
380
|
let drug_ids = []
|
381
|
381
|
let project_ids = []
|
382
|
|
-
|
|
382
|
+ console.log('details12121212',details);
|
|
383
|
+
|
383
|
384
|
for (let i = 0; i < details.length; i++) {
|
384
|
385
|
if (details[i].advice && details[i].advice.id > 0 && details[i].advice.prescription && details[i].advice.prescription.type == 1) { //药品
|
385
|
386
|
let obj = {
|
386
|
387
|
id: details[i].advice.drug_id,
|
387
|
388
|
price: details[i].advice.price,
|
388
|
389
|
lv: details[i].chrgitm_lv,
|
|
390
|
+ selfpay_prop:details[i].selfpay_prop
|
389
|
391
|
}
|
390
|
392
|
drug_ids.push(obj)
|
391
|
393
|
} else if (details[i].project && details[i].project.id > 0 && details[i].project.prescription && details[i].project.prescription.type == 2) { //项目
|
|
@@ -393,7 +395,7 @@
|
393
|
395
|
id: details[i].project.project_id,
|
394
|
396
|
price: details[i].project.price,
|
395
|
397
|
lv: details[i].chrgitm_lv,
|
396
|
|
-
|
|
398
|
+ selfpay_prop:details[i].selfpay_prop
|
397
|
399
|
}
|
398
|
400
|
project_ids.push(obj)
|
399
|
401
|
|
|
@@ -402,18 +404,17 @@
|
402
|
404
|
}
|
403
|
405
|
//
|
404
|
406
|
// console.log('old ids')
|
405
|
|
- // console.log(drug_ids)
|
406
|
|
- // console.log(project_ids)
|
|
407
|
+ console.log('drug_ids',drug_ids)
|
|
408
|
+ console.log('project_ids',project_ids)
|
407
|
409
|
// console.log('old ids')
|
408
|
|
-
|
409
|
410
|
let new_drug_ids = this.unique10265(drug_ids)
|
410
|
411
|
let new_project_ids = this.unique10265(project_ids)
|
411
|
412
|
let list = []
|
412
|
413
|
|
413
|
|
- console.log('ids')
|
414
|
|
- console.log(new_drug_ids)
|
415
|
|
- console.log(new_project_ids)
|
416
|
|
- console.log('ids')
|
|
414
|
+ // console.log('ids')
|
|
415
|
+ console.log('new_drug_ids',new_drug_ids)
|
|
416
|
+ console.log('new_project_ids',new_project_ids)
|
|
417
|
+ // console.log('ids')
|
417
|
418
|
|
418
|
419
|
if (new_drug_ids.length > 0 && new_project_ids.length == 0) {
|
419
|
420
|
for (let i = 0; i < new_drug_ids.length; i++) {
|
|
@@ -429,6 +430,7 @@
|
429
|
430
|
obj['med_chrgitm_type'] = this.getType(details[a].med_chrgitm_type)
|
430
|
431
|
obj['price'] = parseFloat(details[a].pric)
|
431
|
432
|
obj['is_total'] = 2
|
|
433
|
+ obj['selfpay_prop'] = details[a].selfpay_prop
|
432
|
434
|
count = count + details[a].cnt
|
433
|
435
|
}
|
434
|
436
|
}
|
|
@@ -459,7 +461,7 @@
|
459
|
461
|
obj['med_chrgitm_type'] = this.getType(details[a].med_chrgitm_type)
|
460
|
462
|
obj['price'] = parseFloat(details[a].pric)
|
461
|
463
|
obj['is_total'] = 2
|
462
|
|
-
|
|
464
|
+ obj['selfpay_prop'] = details[a].selfpay_prop
|
463
|
465
|
count = count + details[a].cnt
|
464
|
466
|
}
|
465
|
467
|
}
|