|
@@ -87,18 +87,18 @@
|
87
|
87
|
<!-->退号-->
|
88
|
88
|
<!--</el-button>-->
|
89
|
89
|
|
90
|
|
- <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(11)" type="primary"-->
|
91
|
|
- <!-->撤销明细-->
|
92
|
|
- <!--</el-button>-->
|
|
90
|
+ <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(11)" type="primary"
|
|
91
|
+ >撤销明细
|
|
92
|
+ </el-button>
|
93
|
93
|
|
94
|
94
|
|
95
|
95
|
<!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(12)" type="primary"-->
|
96
|
96
|
<!-->查编码-->
|
97
|
97
|
<!--</el-button>-->
|
98
|
98
|
|
99
|
|
- <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(13)" type="primary"-->
|
100
|
|
- <!-->查待遇-->
|
101
|
|
- <!--</el-button>-->
|
|
99
|
+ <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(13)" type="primary"
|
|
100
|
+ >查待遇
|
|
101
|
+ </el-button>
|
102
|
102
|
|
103
|
103
|
|
104
|
104
|
</div>
|
|
@@ -526,7 +526,7 @@
|
526
|
526
|
single_dose: prescription.advices[b].single_dose,
|
527
|
527
|
delivery_way: prescription.advices[b].delivery_way,
|
528
|
528
|
execution_frequency: prescription.advices[b].execution_frequency,
|
529
|
|
- retail_price: prescription.advices[b].price.toString(),
|
|
529
|
+ retail_price: prescription.advices[b].price,
|
530
|
530
|
remark: prescription.advices[b].remark,
|
531
|
531
|
day: prescription.advices[b].day,
|
532
|
532
|
prescribing_number: prescription.advices[b].prescribing_number.toString(),
|
|
@@ -614,14 +614,14 @@
|
614
|
614
|
if (this.curPrescriptions.type == 1) {
|
615
|
615
|
if (this.curPrescriptions.advices != null) {
|
616
|
616
|
for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
|
617
|
|
- total = total + Math.floor((this.curPrescriptions.advices[a].retail_price * this.curPrescriptions.advices[a].prescribing_number) * 100) / 100
|
|
617
|
+ total = total + (this.curPrescriptions.advices[a].retail_price * this.curPrescriptions.advices[a].prescribing_number)
|
618
|
618
|
|
619
|
619
|
}
|
620
|
620
|
}
|
621
|
621
|
} else {
|
622
|
622
|
if (this.curPrescriptions.project != null) {
|
623
|
623
|
for (let b = 0; b < this.curPrescriptions.project.length; b++) {
|
624
|
|
- total = total + Math.floor((this.curPrescriptions.project[b].price * this.curPrescriptions.project[b].total) * 100) / 100
|
|
624
|
+ total = total + (this.curPrescriptions.project[b].price * this.curPrescriptions.project[b].total)
|
625
|
625
|
|
626
|
626
|
}
|
627
|
627
|
}
|
|
@@ -629,10 +629,10 @@
|
629
|
629
|
|
630
|
630
|
if (this.curPrescriptions.addition != null) {
|
631
|
631
|
for (let b = 0; b < this.curPrescriptions.addition.length; b++) {
|
632
|
|
- total = total + Math.floor((this.curPrescriptions.addition[b].price * this.curPrescriptions.addition[b].count) * 100) / 100
|
|
632
|
+ total = total + (this.curPrescriptions.addition[b].price * this.curPrescriptions.addition[b].count)
|
633
|
633
|
}
|
634
|
634
|
}
|
635
|
|
- return Math.floor(total * 100) / 100
|
|
635
|
+ return (total * 100) / 100
|
636
|
636
|
|
637
|
637
|
},
|
638
|
638
|
getTotal() {
|
|
@@ -640,22 +640,22 @@
|
640
|
640
|
for (let i = 0; i < this.prescriptions.length; i++) {
|
641
|
641
|
if (this.prescriptions[i].advices != null) {
|
642
|
642
|
for (let a = 0; a < this.prescriptions[i].advices.length; a++) {
|
643
|
|
- total = total + Math.floor((this.prescriptions[i].advices[a].retail_price * this.prescriptions[i].advices[a].prescribing_number) * 100) / 100
|
|
643
|
+ total = total + (this.prescriptions[i].advices[a].retail_price * this.prescriptions[i].advices[a].prescribing_number)
|
644
|
644
|
}
|
645
|
645
|
}
|
646
|
646
|
if (this.prescriptions[i].project != null) {
|
647
|
647
|
for (let b = 0; b < this.prescriptions[i].project.length; b++) {
|
648
|
648
|
|
649
|
|
- total = total + Math.floor((this.prescriptions[i].project[b].price * this.prescriptions[i].project[b].total) * 100) / 100
|
|
649
|
+ total = total + (this.prescriptions[i].project[b].price * this.prescriptions[i].project[b].total)
|
650
|
650
|
}
|
651
|
651
|
}
|
652
|
652
|
if (this.prescriptions[i].addition != null) {
|
653
|
653
|
for (let b = 0; b < this.prescriptions[i].addition.length; b++) {
|
654
|
|
- total = total + Math.floor((this.prescriptions[i].addition[b].price * this.prescriptions[i].addition[b].count) * 100) / 100
|
|
654
|
+ total = total + (this.prescriptions[i].addition[b].price * this.prescriptions[i].addition[b].count)
|
655
|
655
|
}
|
656
|
656
|
}
|
657
|
657
|
}
|
658
|
|
- return Math.floor(total * 100) / 100
|
|
658
|
+ return (total * 100) / 100
|
659
|
659
|
|
660
|
660
|
},
|
661
|
661
|
moreState(tab, event) {
|