|
@@ -537,7 +537,9 @@
|
537
|
537
|
start_time: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
|
538
|
538
|
end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
|
539
|
539
|
register: [
|
|
540
|
+
|
540
|
541
|
{ value: 11, label: '普通门诊' },
|
|
542
|
+ { value: 1102, label: '新冠门诊' },
|
541
|
543
|
{ value: 14, label: '门诊特殊病' },
|
542
|
544
|
{ value: 9922, label: '家庭通道' },
|
543
|
545
|
{ value: 9933, label: '门诊特殊病(9933)' },
|
|
@@ -552,6 +554,8 @@
|
552
|
554
|
],
|
553
|
555
|
medical_care: [
|
554
|
556
|
{ value: 11, label: '普通门诊' },
|
|
557
|
+ { value: 1102, label: '新冠门诊' },
|
|
558
|
+
|
555
|
559
|
{ value: 12, label: '家庭通道' },
|
556
|
560
|
{ value: 13, label: '门诊大病' },
|
557
|
561
|
{ value: 14, label: '重疾特药' },
|
|
@@ -2366,7 +2370,7 @@
|
2366
|
2370
|
this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
|
2367
|
2371
|
this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
|
2368
|
2372
|
this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
|
2369
|
|
-
|
|
2373
|
+
|
2370
|
2374
|
|
2371
|
2375
|
}
|
2372
|
2376
|
|
|
@@ -2423,9 +2427,9 @@
|
2423
|
2427
|
if (num == 0) {
|
2424
|
2428
|
var arr = []//新增处方
|
2425
|
2429
|
var arr_one = []
|
2426
|
|
-
|
|
2430
|
+
|
2427
|
2431
|
console.log("ooo233323233232323232",this.prescriptions)
|
2428
|
|
-
|
|
2432
|
+
|
2429
|
2433
|
//药品
|
2430
|
2434
|
for(let i=0;i<this.prescriptions.length;i++){
|
2431
|
2435
|
if(this.prescriptions[i].id == 0){
|
|
@@ -2557,11 +2561,11 @@
|
2557
|
2561
|
|
2558
|
2562
|
}
|
2559
|
2563
|
}
|
2560
|
|
-
|
|
2564
|
+
|
2561
|
2565
|
}
|
2562
|
2566
|
}
|
2563
|
2567
|
}
|
2564
|
|
-
|
|
2568
|
+
|
2565
|
2569
|
if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
|
2566
|
2570
|
var project_arr = []
|
2567
|
2571
|
//耗材
|
|
@@ -2571,7 +2575,7 @@
|
2571
|
2575
|
if(this.prescriptions[i].project[j].type ==3){
|
2572
|
2576
|
project_arr.push(this.prescriptions[i].project[j])
|
2573
|
2577
|
}
|
2574
|
|
-
|
|
2578
|
+
|
2575
|
2579
|
}
|
2576
|
2580
|
}
|
2577
|
2581
|
}
|
|
@@ -2601,8 +2605,8 @@
|
2601
|
2605
|
}
|
2602
|
2606
|
}
|
2603
|
2607
|
}
|
2604
|
|
-
|
2605
|
|
-
|
|
2608
|
+
|
|
2609
|
+
|
2606
|
2610
|
for(let i=0;i<newProjectArr.length;i++){
|
2607
|
2611
|
for(let j=0;j<newProjectArr[i].child.length;j++){
|
2608
|
2612
|
newProjectArr[i].out_count += parseInt(newProjectArr[i].child[j].total)
|
|
@@ -2614,13 +2618,13 @@
|
2614
|
2618
|
this.$message.error(newProjectArr[i].str + "库存不足,保存失败!")
|
2615
|
2619
|
isLoading = false
|
2616
|
2620
|
this.$emit('editKeepLoad', false)
|
2617
|
|
- return
|
2618
|
|
- }
|
|
2621
|
+ return
|
|
2622
|
+ }
|
2619
|
2623
|
}
|
2620
|
|
-
|
|
2624
|
+
|
2621
|
2625
|
}
|
2622
|
2626
|
}
|
2623
|
|
-
|
|
2627
|
+
|
2624
|
2628
|
createHisPrescription(data, params).then(response => {
|
2625
|
2629
|
if (response.data.state == 1) {
|
2626
|
2630
|
this.$emit('change', this.patientInfo.id)
|
|
@@ -2697,7 +2701,7 @@
|
2697
|
2701
|
month_prescriptions[i].project[b].total = month_prescriptions[i].project[b].total.toString()
|
2698
|
2702
|
month_prescriptions[i].project[b].delivery_way = month_prescriptions[i].project[b].delivery_way.toString()
|
2699
|
2703
|
|
2700
|
|
-
|
|
2704
|
+
|
2701
|
2705
|
|
2702
|
2706
|
}
|
2703
|
2707
|
|