陈少旭 před 1 rokem
rodič
revize
1ae63f2676

+ 42 - 13
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Zobrazit soubor

@@ -80,7 +80,7 @@
80 80
 
81 81
         <div class="mainCell fixedCell" style="margin-bottom:10px;">
82 82
 
83
-          <div v-if="org_id == 10454">
83
+          <div v-if="org_id = 10206">
84 84
             <el-button  size="small"
85 85
                         @click="openZb(1)"
86 86
                         v-if=" this.order.id == 0"
@@ -1192,6 +1192,7 @@ export default {
1192 1192
       total: 0,
1193 1193
       state: '未收费',
1194 1194
       radio: 1,
1195
+      sch_type:0,
1195 1196
       radioStatus: 1,
1196 1197
       search_input: '',
1197 1198
       start_time: moment().locale('zh-cn').format('YYYY-MM-DD'),
@@ -1995,7 +1996,9 @@ export default {
1995 1996
     getDayPatientList() {
1996 1997
 
1997 1998
       let params = {
1998
-        'record_date': this.record_date
1999
+        'record_date': this.record_date,
2000
+        'sch_type':this.sch_type,
2001
+
1999 2002
       }
2000 2003
       getChargeHisPatientList(params).then(response => {
2001 2004
         if (response.data.state == 0) {
@@ -2216,7 +2219,9 @@ export default {
2216 2219
     },
2217 2220
     getMonthPatientList() {
2218 2221
       let params = {
2219
-        'record_date': this.record_date
2222
+        'record_date': this.record_date,
2223
+        'sch_type':this.sch_type,
2224
+
2220 2225
       }
2221 2226
       getChargeHisPatientList(params).then(response => {
2222 2227
         if (response.data.state == 0) {
@@ -2966,6 +2971,7 @@ export default {
2966 2971
           let obj3 = {
2967 2972
             order_id:this.order.id,
2968 2973
             admin_user_id: this.$store.getters.xt_user.user.id,
2974
+            record_date: this.record_date,
2969 2975
           }
2970 2976
           axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/settleAccount/cancel', {
2971 2977
             params: obj3
@@ -3696,7 +3702,9 @@ export default {
3696 3702
     changeRadioAndPatient(id) {
3697 3703
       this.radio = id
3698 3704
       let params = {
3699
-        'record_date': this.record_date
3705
+        'record_date': this.record_date,
3706
+        'sch_type':this.sch_type,
3707
+
3700 3708
       }
3701 3709
 
3702 3710
       getChargeHisPatientList(params).then(response => {
@@ -3945,13 +3953,16 @@ export default {
3945 3953
           }
3946 3954
         }
3947 3955
       })
3956
+    },changeSchtype(){
3957
+      this.getPatientList()
3948 3958
     },
3949 3959
     changeRadio(id) {
3950 3960
       if(this.activeName == 'first') {
3951 3961
         let temp_id = id
3952 3962
         this.radio = id
3953 3963
         let params = {
3954
-          'record_date': this.record_date
3964
+          'record_date': this.record_date,
3965
+          'sch_type':this.sch_type,
3955 3966
         }
3956 3967
         getChargeHisPatientList(params).then(response => {
3957 3968
           if (response.data.state == 0) {
@@ -4207,7 +4218,8 @@ export default {
4207 4218
     getPatientList() {
4208 4219
       let params = {
4209 4220
         'record_date': this.record_date,
4210
-        'type': this.radio
4221
+        'type': this.radio,
4222
+        'sch_type':this.sch_type,
4211 4223
       }
4212 4224
       getChargeHisPatientList(params).then(response => {
4213 4225
         if (response.data.state == 0) {
@@ -4231,7 +4243,9 @@ export default {
4231 4243
                   order_status: 0,
4232 4244
                   order_number: '',
4233 4245
                   his_patient_id: 0,
4234
-                  prescription: response.data.data.list[i].prescription
4246
+                  prescription: response.data.data.list[i].prescription,
4247
+                  schedle: response.data.data.list[i].schedule
4248
+
4235 4249
                 }
4236 4250
 
4237 4251
                 this.all_table_data.push(obj)
@@ -4249,7 +4263,9 @@ export default {
4249 4263
                       his_patient_id: response.data.data.list[i].his_patient[0].id,
4250 4264
                       order_number: response.data.data.list[i].his_patient[0].orders[b].order_number,
4251 4265
                       order_id: response.data.data.list[i].his_patient[0].orders[b].id,
4252
-                      prescription: response.data.data.list[i].prescription
4266
+                      prescription: response.data.data.list[i].prescription,
4267
+                      schedle: response.data.data.list[i].schedule
4268
+
4253 4269
 
4254 4270
                     }
4255 4271
                     this.all_table_data.push(obj)
@@ -4264,7 +4280,9 @@ export default {
4264 4280
                     his_patient_id: response.data.data.list[i].his_patient[0].id,
4265 4281
                     order_number: '',
4266 4282
                     order_id: 0,
4267
-                    prescription: response.data.data.list[i].prescription
4283
+                    prescription: response.data.data.list[i].prescription,
4284
+                    schedle: response.data.data.list[i].schedule
4285
+
4268 4286
 
4269 4287
                   }
4270 4288
                   this.all_table_data.push(obj)
@@ -4283,7 +4301,8 @@ export default {
4283 4301
                       his_patient_id: response.data.data.list[i].his_patient[b].id,
4284 4302
                       order_number: '',
4285 4303
                       order_id: 0,
4286
-                      prescription: response.data.data.list[i].prescription
4304
+                      prescription: response.data.data.list[i].prescription,
4305
+                      schedle: response.data.data.list[i].schedule
4287 4306
                     }
4288 4307
                     this.all_table_data.push(obj)
4289 4308
                   } else {
@@ -4297,7 +4316,9 @@ export default {
4297 4316
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
4298 4317
                         order_number: response.data.data.list[i].his_patient[b].orders[c].number,
4299 4318
                         order_id: response.data.data.list[i].his_patient[b].orders[c].id,
4300
-                        prescription: response.data.data.list[i].prescription
4319
+                        prescription: response.data.data.list[i].prescription,
4320
+                        schedle: response.data.data.list[i].schedule
4321
+
4301 4322
 
4302 4323
                       }
4303 4324
                       this.all_table_data.push(obj)
@@ -4340,8 +4361,17 @@ export default {
4340 4361
             }
4341 4362
 
4342 4363
           }
4343
-
4344 4364
           unChargePatient = this.unique_four(unChargePatient)
4365
+          // for(let i = 0; i < unChargePatient.length; i++){
4366
+          //
4367
+          // }
4368
+          var cal_list = []
4369
+
4370
+          for(let i = 0;i < unChargePatient.length; i++){
4371
+
4372
+
4373
+          }
4374
+
4345 4375
 
4346 4376
           one_count = one_count + unChargePatient.length
4347 4377
 
@@ -4359,7 +4389,6 @@ export default {
4359 4389
             this.all_table_data = this.unique_four(this.all_table_data)
4360 4390
           }
4361 4391
 
4362
-          console.log(this.all_table_data)
4363 4392
 
4364 4393
           switch (this.radio) {
4365 4394
             case 1:

+ 37 - 26
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Zobrazit soubor

@@ -2391,22 +2391,24 @@ export default {
2391 2391
           if (index == 1) {
2392 2392
             console.log(this.prescriptions)
2393 2393
 
2394
-            for (let i = 0; i < this.prescriptions.length; i++) {
2395
-              for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2396
-                if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
2397
-                  this.$message.error(this.prescriptions[i].name.toString() +"属于特病类型处方,不能开非特病类型的药")
2398
-                  return
2399
-                }
2400
-              }
2401
-              for(let c = 0; c < this.prescriptions[i].project.length; c++){
2402
-                if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 2  && this.prescriptions[i].project[c].project.disease_directory != 1) {
2403
-                  this.$message.error(this.prescriptions[i].name.toString() +"属于特病类型处方,请开特病类型的项目")
2404
-                  return
2394
+            if (this.org_id != 10206) {
2395
+              for (let i = 0; i < this.prescriptions.length; i++) {
2396
+                for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
2397
+                  if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
2398
+                    this.$message.error(this.prescriptions[i].name.toString() + "属于特病类型处方,不能开非特病类型的药")
2399
+                    return
2400
+                  }
2405 2401
                 }
2402
+                for (let c = 0; c < this.prescriptions[i].project.length; c++) {
2403
+                  if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 2 && this.prescriptions[i].project[c].project.disease_directory != 1) {
2404
+                    this.$message.error(this.prescriptions[i].name.toString() + "属于特病类型处方,请开特病类型的项目")
2405
+                    return
2406
+                  }
2406 2407
 
2407
-                if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 3  && this.prescriptions[i].project[c].good_info.is_special_diseases != 1) {
2408
-                  this.$message.error(this.prescriptions[i].name.toString() +"属于特病类型处方,请开特病类型的耗材")
2409
-                  return
2408
+                  if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 3 && this.prescriptions[i].project[c].good_info.is_special_diseases != 1) {
2409
+                    this.$message.error(this.prescriptions[i].name.toString() + "属于特病类型处方,请开特病类型的耗材")
2410
+                    return
2411
+                  }
2410 2412
                 }
2411 2413
               }
2412 2414
             }
@@ -3248,20 +3250,24 @@ export default {
3248 3250
 
3249 3251
       if (this.curDrugs.length > 0) {
3250 3252
         for (let i = 0; i < this.curDrugs.length; i++) {
3251
-          if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
3252
-            this.$message.error('该处方属于特病类型处方,开非特病类型的药')
3253
-            return
3253
+          if(this.org_id != 10206) {
3254
+            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
3255
+              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
3256
+              return
3257
+            }
3254 3258
           }
3255 3259
 
3256 3260
         }
3257 3261
       }
3258 3262
       if (this.teamList.length > 0) {
3259
-        for (let i = 0; i < this.teamList.length; i++) {
3260
-          if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
3261
-            this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
3262
-            // return
3263
-          }
3263
+        if(this.org_id != 10206) {
3264
+          for (let i = 0; i < this.teamList.length; i++) {
3265
+            if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
3266
+              this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
3267
+              // return
3268
+            }
3264 3269
 
3270
+          }
3265 3271
         }
3266 3272
 
3267 3273
         let arr = this.teamList
@@ -3277,11 +3283,16 @@ export default {
3277 3283
         this.teamList = newArr
3278 3284
       }
3279 3285
 
3286
+
3287
+
3288
+
3280 3289
       if (this.curDrugs.length == 0) {
3281 3290
         for (let i = 0; i < this.curDrugs.length; i++) {
3282
-          if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
3283
-            this.$message.error('该处方属于特病类型处方,开非特病类型的药')
3284
-            return
3291
+          if(this.org_id != 10206) {
3292
+            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
3293
+              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
3294
+              return
3295
+            }
3285 3296
           }
3286 3297
         }
3287 3298
       }
@@ -3612,7 +3623,7 @@ export default {
3612 3623
             this.tabProject.push(obj)
3613 3624
           }
3614 3625
           //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
3615
-          if(this.org_id == 10205 || this.org_id == 10454) {
3626
+          if(this.org_id == 10206) {
3616 3627
             for (let i = 0; i < this.zuobiao_project.length; i++) {
3617 3628
               for (let b = 0; b < this.tabProject.length; b++) {
3618 3629
                 if (this.zuobiao_project[i].bbx01 == this.tabProject[b].bbx01){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Zobrazit soubor

@@ -1520,8 +1520,10 @@ export default {
1520 1520
 
1521 1521
                   } else {
1522 1522
                     that.zuobiao_drug  = response.data.data.drug
1523
+                    that.zuobiao_project  = response.data.data.project
1524
+
1523 1525
                     //跟坐标数据进行匹配,如果bbx01相等的话则,替换库存数量
1524
-                    if(that.org_id == 10205 || that.org_id == 10454) {
1526
+                    if(that.org_id == 10206) {
1525 1527
                       for (let i = 0; i < that.zuobiao_drug.length; i++) {
1526 1528
                         for (let b = 0; b < that.drugs.length; b++) {
1527 1529
                           if (that.zuobiao_project[i].ggid == that.drugs[b].bby01){
@@ -1529,8 +1531,8 @@ export default {
1529 1531
                           }
1530 1532
                         }
1531 1533
                       }
1534
+
1532 1535
                     }
1533
-                    that.zuobiao_project  = response.data.data.project
1534 1536
                   }
1535 1537
                 }
1536 1538
               })

+ 68 - 37
src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue Zobrazit soubor

@@ -37,15 +37,25 @@
37 37
                                     :label="item.name"
38 38
                                     :name="item.name"
39 39
                             >
40
-                                <el-select style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
41
-                                           @change="changevalue">
42
-                                    <el-option
43
-                                            v-for="(item,index) in register"
44
-                                            :key="index"
45
-                                            :label="item.label"
46
-                                            :value="item.value">
47
-                                    </el-option>
48
-                                </el-select>
40
+                              <el-select v-if="org_id != 10206" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
41
+                                         @change="changevalue">
42
+                                <el-option
43
+                                  v-for="(item,index) in register"
44
+                                  :key="index"
45
+                                  :label="item.label"
46
+                                  :value="item.value">
47
+                                </el-option>
48
+                              </el-select>
49
+                              <!--                            //针对海拉尔普爱肾病医院-->
50
+                              <el-select v-if="org_id == 10206" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
51
+                                         @change="changevalue">
52
+                                <el-option
53
+                                  v-for="(item,index) in register10206"
54
+                                  :key="index"
55
+                                  :label="item.label"
56
+                                  :value="item.value">
57
+                                </el-option>
58
+                              </el-select>
49 59
                             </el-tab-pane>
50 60
 
51 61
                             <el-tab-pane name="more" closable><span slot="label"><i
@@ -236,6 +246,7 @@
236 246
       month_prescriptions: Array,
237 247
       isloading: false,
238 248
       loading: false,
249
+      org_id:this.$store.getters.xt_user.org_id,
239 250
       other_sick: {
240 251
         type: Array,
241 252
         default: function() {
@@ -250,6 +261,18 @@
250 261
     },
251 262
     data() {
252 263
       return {
264
+        register10206: [
265
+          { value: 1, label: '普通' },
266
+          { value: 2, label: '急诊' },
267
+          { value: 5, label: '第一类精神药品' },
268
+          { value: 6, label: '第二类精神药品' },
269
+          { value: 7, label: '放射药品' },
270
+          { value: 8, label: '毒性药品' },
271
+          { value: 9, label: '检查' },
272
+          { value: 10, label: '检验' },
273
+          { value: 12, label: '治疗' },
274
+          { value: 99, label: '其他' },
275
+        ],
253 276
         medical_care: [
254 277
           { value: 11, label: '普通门诊' },
255 278
           { value: 12, label: '家庭通道' },
@@ -385,27 +408,27 @@
385 408
             return
386 409
           }
387 410
         }
411
+        if(this.$store.getters.xt_user.org_id != 10206) {
412
+          for (let i = 0; i < this.prescriptions.length; i++) {
413
+            for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
414
+              if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
415
+                this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,不能开非特病类型的药')
388 416
 
389
-        for (let i = 0; i < this.prescriptions.length; i++) {
390
-          for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
391
-            if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
392
-              this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,不能开非特病类型的药')
393
-
417
+                return
418
+              }
394 419
 
395
-              return
396 420
             }
397 421
 
398
-          }
399
-
400
-          for (let c = 0; c < this.prescriptions[i].project.length; c++) {
401
-            if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 2 && this.prescriptions[i].project[c].project.disease_directory != 1) {
402
-              this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的项目')
403
-              return
404
-            }
422
+            for (let c = 0; c < this.prescriptions[i].project.length; c++) {
423
+              if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 2 && this.prescriptions[i].project[c].project.disease_directory != 1) {
424
+                this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的项目')
425
+                return
426
+              }
405 427
 
406
-            if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 3 && this.prescriptions[i].project[c].good_info.is_special_diseases != 1) {
407
-              this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的耗材')
408
-              return
428
+              if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 3 && this.prescriptions[i].project[c].good_info.is_special_diseases != 1) {
429
+                this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的耗材')
430
+                return
431
+              }
409 432
             }
410 433
           }
411 434
         }
@@ -1331,22 +1354,28 @@
1331 1354
         //       }
1332 1355
         //     }
1333 1356
         //   }
1334
-        if (this.curDrugs.length > 0) {
1357
+        if (this.curDrugs.length > 0 ) {
1358
+
1335 1359
           for (let i = 0; i < this.curDrugs.length; i++) {
1336
-            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1337
-              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1338
-              return
1360
+            if(this.$store.getters.xt_user.org.id != 10206) {
1361
+              if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1362
+                this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1363
+                return
1364
+              }
1339 1365
             }
1340 1366
 
1341 1367
           }
1342 1368
         }
1343 1369
         if (this.teamList.length > 0) {
1344 1370
           for (let i = 0; i < this.teamList.length; i++) {
1345
-            if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
1346
-              setTimeout(() => {
1347
-                this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
1348
-              }, 100)
1349
-              // return
1371
+            if(this.$store.getters.xt_user.org.id != 10206) {
1372
+
1373
+              if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
1374
+                setTimeout(() => {
1375
+                  this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
1376
+                }, 100)
1377
+                // return
1378
+              }
1350 1379
             }
1351 1380
 
1352 1381
           }
@@ -1366,9 +1395,11 @@
1366 1395
 
1367 1396
         if (this.curDrugs.length == 0) {
1368 1397
           for (let i = 0; i < this.curDrugs.length; i++) {
1369
-            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1370
-              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1371
-              return
1398
+            if(this.$store.getters.xt_user.org.id != 10206) {
1399
+              if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1400
+                this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1401
+                return
1402
+              }
1372 1403
             }
1373 1404
 
1374 1405
           }

+ 66 - 35
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Zobrazit soubor

@@ -58,15 +58,25 @@
58 58
                                 <!--:value="item.value">-->
59 59
                                 <!--</el-option>-->
60 60
                                 <!--</el-select>-->
61
-                                <el-select style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
62
-                                           @change="changevalue">
63
-                                    <el-option
64
-                                            v-for="(item,index) in register"
65
-                                            :key="index"
66
-                                            :label="item.label"
67
-                                            :value="item.value">
68
-                                    </el-option>
69
-                                </el-select>
61
+                              <el-select v-if="org_id != 10206" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
62
+                                         @change="changevalue">
63
+                                <el-option
64
+                                  v-for="(item,index) in register"
65
+                                  :key="index"
66
+                                  :label="item.label"
67
+                                  :value="item.value">
68
+                                </el-option>
69
+                              </el-select>
70
+                              <!--                            //针对海拉尔普爱肾病医院-->
71
+                              <el-select v-if="org_id == 10206" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
72
+                                         @change="changevalue">
73
+                                <el-option
74
+                                  v-for="(item,index) in register10206"
75
+                                  :key="index"
76
+                                  :label="item.label"
77
+                                  :value="item.value">
78
+                                </el-option>
79
+                              </el-select>
70 80
                             </el-tab-pane>
71 81
 
72 82
                             <el-tab-pane name="more" closable><span slot="label"><i
@@ -283,6 +293,19 @@
283 293
     },
284 294
     data() {
285 295
       return {
296
+        org_id:this.$store.getters.xt_user.org_id,
297
+        register10206: [
298
+          { value: 1, label: '普通' },
299
+          { value: 2, label: '急诊' },
300
+          { value: 5, label: '第一类精神药品' },
301
+          { value: 6, label: '第二类精神药品' },
302
+          { value: 7, label: '放射药品' },
303
+          { value: 8, label: '毒性药品' },
304
+          { value: 9, label: '检查' },
305
+          { value: 10, label: '检验' },
306
+          { value: 12, label: '治疗' },
307
+          { value: 99, label: '其他' },
308
+        ],
286 309
         medical_care: [
287 310
           { value: 11, label: '普通门诊' },
288 311
           { value: 12, label: '家庭通道' },
@@ -424,26 +447,27 @@
424 447
           }
425 448
         }
426 449
 
427
-        for (let i = 0; i < this.prescriptions.length; i++) {
428
-          for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
429
-            if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
430
-              this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,不能开非特病类型的药')
450
+        if(this.org_id != 10206){
451
+          for (let i = 0; i < this.prescriptions.length; i++) {
452
+            for (let b = 0; b < this.prescriptions[i].advices.length; b++) {
453
+              if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
454
+                this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,不能开非特病类型的药')
431 455
 
456
+                return
457
+              }
432 458
 
433
-              return
434 459
             }
435 460
 
436
-          }
437
-
438
-          for (let c = 0; c < this.prescriptions[i].project.length; c++) {
439
-            if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 2 && this.prescriptions[i].project[c].project.disease_directory != 1) {
440
-              this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的项目')
441
-              return
442
-            }
461
+            for (let c = 0; c < this.prescriptions[i].project.length; c++) {
462
+              if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 2 && this.prescriptions[i].project[c].project.disease_directory != 1) {
463
+                this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的项目')
464
+                return
465
+              }
443 466
 
444
-            if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 3 && this.prescriptions[i].project[c].good_info.is_special_diseases != 1) {
445
-              this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的耗材')
446
-              return
467
+              if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].project[c].type == 3 && this.prescriptions[i].project[c].good_info.is_special_diseases != 1) {
468
+                this.$message.error('处方' + (i + 1).toString() + '属于特病类型处方,请开特病类型的耗材')
469
+                return
470
+              }
447 471
             }
448 472
           }
449 473
         }
@@ -1371,20 +1395,25 @@
1371 1395
         //   }
1372 1396
         if (this.curDrugs.length > 0) {
1373 1397
           for (let i = 0; i < this.curDrugs.length; i++) {
1374
-            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1375
-              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1376
-              return
1398
+            if(this.$store.getters.xt_user.org.id != 10206) {
1399
+
1400
+              if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1401
+                this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1402
+                return
1403
+              }
1377 1404
             }
1378 1405
 
1379 1406
           }
1380 1407
         }
1381 1408
         if (this.teamList.length > 0) {
1382 1409
           for (let i = 0; i < this.teamList.length; i++) {
1383
-            if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
1384
-              setTimeout(() => {
1385
-                this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
1386
-              }, 100)
1387
-              // return
1410
+            if(this.$store.getters.xt_user.org.id != 10206) {
1411
+              if (this.curPrescriptions.med_type == 14 && this.teamList[i].is_special_diseases != 1) {
1412
+                setTimeout(() => {
1413
+                  this.$message.error('该处方属于特病类型处方,请开特病类型的项目')
1414
+                }, 100)
1415
+                // return
1416
+              }
1388 1417
             }
1389 1418
 
1390 1419
           }
@@ -1404,9 +1433,11 @@
1404 1433
 
1405 1434
         if (this.curDrugs.length == 0) {
1406 1435
           for (let i = 0; i < this.curDrugs.length; i++) {
1407
-            if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1408
-              this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1409
-              return
1436
+            if(this.$store.getters.xt_user.org.id != 10206) {
1437
+              if (this.curPrescriptions.med_type == 14 && this.curDrugs[i].is_special_diseases != 1) {
1438
+                this.$message.error('该处方属于特病类型处方,开非特病类型的药')
1439
+                return
1440
+              }
1410 1441
             }
1411 1442
 
1412 1443
           }