陈少旭 1 week ago
parent
commit
66a2a2ba43
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue

+ 10 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -3880,7 +3880,16 @@ export default {
3880 3880
         this.teamList = newArr
3881 3881
       }
3882 3882
 
3883
-
3883
+      if (this.curDrugs.length > 0) {
3884
+        for (let i = 0; i < this.curDrugs.length; i++) {
3885
+          if (this.org_id != 10206 && this.org_id != 0) {
3886
+            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
3887
+              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
3888
+              return
3889
+            }
3890
+          }
3891
+        }
3892
+      }
3884 3893
 
3885 3894
       if (this.curStatus == 1 && this.rightTab == 2) {
3886 3895
         this.$message.error('该处方是药品,无法添加项目')