陈少旭 7 ヶ月 前
コミット
c583cda731
共有1 個のファイルを変更した19 個の追加4 個の削除を含む
  1. 19 4
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue

+ 19 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue ファイルの表示

176
                 </el-select>
176
                 </el-select>
177
 
177
 
178
 
178
 
179
-                <el-select v-if="org_id == 10721" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
179
+                <el-select v-if="org_id == 10721 || org_id == 0" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
180
                            @change="changevalue">
180
                            @change="changevalue">
181
                   <el-option
181
                   <el-option
182
                     v-for="(item,index) in register10721"
182
                     v-for="(item,index) in register10721"
186
                   </el-option>
186
                   </el-option>
187
                 </el-select>
187
                 </el-select>
188
 
188
 
189
+                <el-select v-if="org_id == 10721 || org_id == 0" style="width:100%;" v-model="item.diagnose" placeholder="" multiple filterable  placeholder="诊断">
190
+                  <el-option
191
+                    v-for="(item,index) in diagnoses"
192
+                    :key="index"
193
+                    :label="item.class_name"
194
+                    :value="item.id">
195
+                  </el-option>
196
+                </el-select>
189
 
197
 
190
-                <el-select v-if="org_id == 10726 || org_id == 0 " style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
198
+                <el-select v-if="org_id == 10726" style="width:50%;" v-model="item.med_type" placeholder="医疗类型"
191
                            @change="changevalue">
199
                            @change="changevalue">
192
                   <el-option
200
                   <el-option
193
                     v-for="(item,index) in register10726"
201
                     v-for="(item,index) in register10726"
2689
           }
2697
           }
2690
           for (let i = 0; i < this.prescriptions.length; i++) {
2698
           for (let i = 0; i < this.prescriptions.length; i++) {
2691
             for (let b = 0; b < this.prescriptions[i].project.length; b++) {
2699
             for (let b = 0; b < this.prescriptions[i].project.length; b++) {
2692
-              if (this.prescriptions[i].project[b].total == 0 || this.prescriptions[i].project[b].total == '' || Number.isNaN(this.prescriptions[i].project[b].total)) {
2700
+              if (this.prescriptions[i].project[b].total == 0 || this.prescriptions[i].project[b].total == '' || Number.isNaN()) {
2693
                 this.$message.error('项目处方总量不能为0')
2701
                 this.$message.error('项目处方总量不能为0')
2694
                 return
2702
                 return
2695
               }
2703
               }
3385
         advices: [],
3393
         advices: [],
3386
         project: [],
3394
         project: [],
3387
         addition: [],
3395
         addition: [],
3396
+        diagnose:"",
3388
         pre_time: preTime
3397
         pre_time: preTime
3389
 
3398
 
3390
       }
3399
       }
3391
 
3400
 
3392
       if (this.org_id != 10206 && this.org_id != 0) {
3401
       if (this.org_id != 10206 && this.org_id != 0) {
3393
         obj.med_type = 14
3402
         obj.med_type = 14
3394
-      } else {
3403
+        if (this.org_id == 10721){
3404
+          obj.med_type = 992102
3405
+        }
3406
+        if (obj.med_type == 992102){
3407
+          obj.diagnose = 2465
3408
+        }
3409
+       } else {
3395
         obj.med_type = 12
3410
         obj.med_type = 12
3396
       }
3411
       }
3397
 
3412