浏览代码

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

xmg123 1周前
父节点
当前提交
5433733998
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue

+ 10 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -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('该处方是药品,无法添加项目')