|
@@ -2655,7 +2655,6 @@
|
2655
|
2655
|
comfirm() {
|
2656
|
2656
|
|
2657
|
2657
|
if (this.curDrugs.length > 0) {
|
2658
|
|
- if (this.$store.getters.xt_user.org_id == 10138) {
|
2659
|
2658
|
for (let i = 0; i < this.curDrugs.length; i++) {
|
2660
|
2659
|
if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
|
2661
|
2660
|
this.$message.error('该处方属于特病类型处方,开非特病类型的药')
|
|
@@ -2663,10 +2662,8 @@
|
2663
|
2662
|
}
|
2664
|
2663
|
|
2665
|
2664
|
}
|
2666
|
|
- }
|
2667
|
2665
|
}
|
2668
|
2666
|
if (this.teamList.length > 0) {
|
2669
|
|
- if (this.$store.getters.xt_user.org_id == 10138) {
|
2670
|
2667
|
for (let i = 0; i < this.teamList.length; i++) {
|
2671
|
2668
|
if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
|
2672
|
2669
|
this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
|
|
@@ -2674,9 +2671,7 @@
|
2674
|
2671
|
}
|
2675
|
2672
|
|
2676
|
2673
|
}
|
2677
|
|
- }
|
2678
|
2674
|
|
2679
|
|
- if(this.$store.getters.xt_user.org_id == 10138){
|
2680
|
2675
|
let arr = this.teamList
|
2681
|
2676
|
let newArr = []
|
2682
|
2677
|
arr.map(item => {
|
|
@@ -2688,21 +2683,17 @@
|
2688
|
2683
|
}
|
2689
|
2684
|
})
|
2690
|
2685
|
this.teamList = newArr
|
2691
|
|
- }
|
2692
|
2686
|
}
|
2693
|
2687
|
|
2694
|
2688
|
|
2695
|
2689
|
|
2696
|
2690
|
if (this.curDrugs.length == 0) {
|
2697
|
|
- if (this.$store.getters.xt_user.org_id == 10138) {
|
2698
|
2691
|
for (let i = 0; i < this.curDrugs.length; i++) {
|
2699
|
2692
|
if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
|
2700
|
2693
|
this.$message.error('该处方属于特病类型处方,开非特病类型的药')
|
2701
|
2694
|
return
|
2702
|
2695
|
}
|
2703
|
|
-
|
2704
|
2696
|
}
|
2705
|
|
- }
|
2706
|
2697
|
}
|
2707
|
2698
|
|
2708
|
2699
|
// if (this.curPrescriptions.order_status == 2) {
|