Browse Source

合并带嘛

csx 2 years ago
parent
commit
839237a461

+ 0 - 3
src/lang/zh.js View File

184
     selfPreparedMedicineIndex: '自备药管理',
184
     selfPreparedMedicineIndex: '自备药管理',
185
     selfPreparedMedicine: '自备药管理',
185
     selfPreparedMedicine: '自备药管理',
186
     wareHouseManage: '仓库管理',
186
     wareHouseManage: '仓库管理',
187
-    inventoryTransfer: '库存调拨',
188
-    wareHouseManage: '仓库管理',
189
-
190
     inventoryTransfer: '库存调拨',
187
     inventoryTransfer: '库存调拨',
191
 
188
 
192
     // consumablesManagement: '耗材管理',
189
     // consumablesManagement: '耗材管理',

+ 2 - 2
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

3405
       // }
3405
       // }
3406
       // console.log(res)
3406
       // console.log(res)
3407
       // var idstr = res.join(',')
3407
       // var idstr = res.join(',')
3408
-
3408
+      this.teamList = []
3409
       let teamList = []
3409
       let teamList = []
3410
       for (let i = 0; i < row.length; i++) {
3410
       for (let i = 0; i < row.length; i++) {
3411
         let team_id = row[i].id
3411
         let team_id = row[i].id
3477
               }
3477
               }
3478
             }
3478
             }
3479
 
3479
 
3480
-            this.teamList = this.teamList.concat(teamList)
3480
+            this.teamList = teamList
3481
             console.log(this.teamList)
3481
             console.log(this.teamList)
3482
           }
3482
           }
3483
         })
3483
         })

+ 2 - 1
src/xt_pages/outpatientCharges/components/chargeDialog.vue View File

48
       <el-form-item label="" style="width:100%;">
48
       <el-form-item label="" style="width:100%;">
49
 
49
 
50
         <el-radio-group v-model="form.pay_way">
50
         <el-radio-group v-model="form.pay_way">
51
-          <el-radio :label="index" v-for="(item,index) in payWays" :key="index">{{ item.label }}</el-radio>
51
+          <el-radio :label="item.value" v-for="(item,index) in payWays" :key="index">{{ item.label }}</el-radio>
52
         </el-radio-group>
52
         </el-radio-group>
53
       </el-form-item>
53
       </el-form-item>
54
 
54
 
316
           if (valid) {
316
           if (valid) {
317
             let value = {}
317
             let value = {}
318
             value = this.getValue()
318
             value = this.getValue()
319
+            console.log(value)
319
             this.$emit('confirm', value)
320
             this.$emit('confirm', value)
320
             this.loadingtwo = true
321
             this.loadingtwo = true
321
           }
322
           }

+ 4 - 2
src/xt_pages/outpatientDoctorStation/checkPrint.vue View File

13
       </template> -->
13
       </template> -->
14
 
14
 
15
       <div class='dialysisPage' style="padding-top:40px;">
15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
16
+        <printOne :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printOne>
17
       </div>
17
       </div>
18
   </div>
18
   </div>
19
 </template>
19
 </template>
32
     printOne,
32
     printOne,
33
   },
33
   },
34
   props:{
34
   props:{
35
-    paramsObj:Object
35
+    paramsObj:Object,
36
+    newHisPatient:Object,
37
+
36
   },
38
   },
37
   data() {
39
   data() {
38
     return {
40
     return {

+ 2 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

3407
         // }
3407
         // }
3408
         // console.log(res)
3408
         // console.log(res)
3409
         // var idstr = res.join(',')
3409
         // var idstr = res.join(',')
3410
-
3410
+        this.teamList = []
3411
         let teamList = []
3411
         let teamList = []
3412
         for (let i = 0; i < row.length; i++) {
3412
         for (let i = 0; i < row.length; i++) {
3413
           let team_id = row[i].id
3413
           let team_id = row[i].id
3414
-          console.log(team_id)
3415
           const params = {
3414
           const params = {
3416
             project_id: row[i].item_id
3415
             project_id: row[i].item_id
3417
           }
3416
           }
3479
                 }
3478
                 }
3480
               }
3479
               }
3481
 
3480
 
3482
-              this.teamList = this.teamList.concat(teamList)
3483
-              console.log(this.teamList)
3481
+              this.teamList = teamList
3484
             }
3482
             }
3485
           })
3483
           })
3486
         }
3484
         }

+ 3 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

27
                         <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;"
27
                         <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;"
28
                                    @change="getAllChangeTwo(scope)" :disabled="prescription.is_medicine_status" >
28
                                    @change="getAllChangeTwo(scope)" :disabled="prescription.is_medicine_status" >
29
                             <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
29
                             <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
30
-                            <el-option :label="scope.row.drug.dose_unit"
30
+                          <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
31
+
32
+                          <el-option :label="scope.row.drug.dose_unit"
31
                                        v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit"
33
                                        v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit"
32
                                        :value="scope.row.drug.dose_unit"></el-option>
34
                                        :value="scope.row.drug.dose_unit"></el-option>
33
                         </el-select>
35
                         </el-select>

+ 14 - 14
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

104
       </div>
104
       </div>
105
       <div class="mainRight">
105
       <div class="mainRight">
106
         <div class="mainHeader">
106
         <div class="mainHeader">
107
-          
107
+
108
           <el-tabs v-model="titleType" @tab-click="handleClick"
108
           <el-tabs v-model="titleType" @tab-click="handleClick"
109
                    style="position: fixed;width: calc(100% - 490px);background:#fff;">
109
                    style="position: fixed;width: calc(100% - 490px);background:#fff;">
110
             <el-tab-pane label="电子处方" name="电子处方"></el-tab-pane>
110
             <el-tab-pane label="电子处方" name="电子处方"></el-tab-pane>
111
             <el-tab-pane label="透析记录" name="透析记录">
111
             <el-tab-pane label="透析记录" name="透析记录">
112
-           
112
+
113
             </el-tab-pane>
113
             </el-tab-pane>
114
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
114
             <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
115
-           
115
+
116
           </el-tabs>
116
           </el-tabs>
117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
117
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
118
             <el-button size="small" ref="button_one" @click="open(1)" type="primary"
118
             <el-button size="small" ref="button_one" @click="open(1)" type="primary"
177
         <!--<dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'></dialysis-index>-->
177
         <!--<dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'></dialysis-index>-->
178
         <dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'
178
         <dialysis-index v-if="titleType == '透析记录'" :record_date="record_date" :patientid='patientid'
179
                         :dialysisShow="dialysisShow"></dialysis-index>
179
                         :dialysisShow="dialysisShow"></dialysis-index>
180
-       
180
+
181
       </div>
181
       </div>
182
 
182
 
183
     </div>
183
     </div>
293
           >
293
           >
294
         </template>
294
         </template>
295
         <div id='printMain'>
295
         <div id='printMain'>
296
-          <print ref="print" v-if="selecting_schs1.length > 0" :paramsObj='paramsObj'></print>
297
-          <treatPrint ref="treatPrint" v-if="selecting_schs2.length > 0" :paramsObj='paramsObj2'></treatPrint>
298
-          <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3'></checkPrint>
296
+          <print ref="print" v-if="selecting_schs1.length > 0" :paramsObj='paramsObj' :newHisPatient="hisPatientInfo"></print>
297
+          <treatPrint ref="treatPrint" v-if="selecting_schs2.length > 0" :paramsObj='paramsObj2' :newHisPatient="hisPatientInfo"></treatPrint>
298
+          <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3' :newHisPatient="hisPatientInfo"></checkPrint>
299
         </div>
299
         </div>
300
 
300
 
301
       </el-dialog>
301
       </el-dialog>
319
       <recordPrint :patientid="patientid" ref="recordPrint">
319
       <recordPrint :patientid="patientid" ref="recordPrint">
320
     </recordPrint>
320
     </recordPrint>
321
     </el-dialog>
321
     </el-dialog>
322
-    
322
+
323
     <el-dialog
323
     <el-dialog
324
       :visible.sync="startVisibility"
324
       :visible.sync="startVisibility"
325
       :close-on-click-modal="false"
325
       :close-on-click-modal="false"
360
                 </div>
360
                 </div>
361
                 <div class="printCell" style="display:flex;justify-content: space-around;">
361
                 <div class="printCell" style="display:flex;justify-content: space-around;">
362
                   <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
362
                   <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
363
-                  
363
+
364
                   <span style="display: block;width: 50%;">
364
                   <span style="display: block;width: 50%;">
365
                     首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
365
                     首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
366
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
366
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
393
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
393
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
394
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
394
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
395
                    </span>
395
                    </span>
396
-                    </span> 
397
-                 
396
+                    </span>
397
+
398
                 </div>
398
                 </div>
399
                 <div class="printCell" style="display:flex;justify-content: space-around;">
399
                 <div class="printCell" style="display:flex;justify-content: space-around;">
400
                   <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
400
                   <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
434
                     iu/h
434
                     iu/h
435
                    </span>
435
                    </span>
436
                   </span>
436
                   </span>
437
-                
437
+
438
                 </div>
438
                 </div>
439
                 <div class="printCell" style="display:flex;justify-content: space-around;">
439
                 <div class="printCell" style="display:flex;justify-content: space-around;">
440
                   <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
440
                   <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
441
-                    <span v-if="$store.getters.xt_user.org.id == 10278">ml</span> 
441
+                    <span v-if="$store.getters.xt_user.org.id == 10278">ml</span>
442
                     <span v-else>L</span>
442
                     <span v-else>L</span>
443
                     </span>
443
                     </span>
444
                   <span style="display: block;width: 50%;">
444
                   <span style="display: block;width: 50%;">
5187
         spinner: 'el-icon-loading',
5187
         spinner: 'el-icon-loading',
5188
         background: 'rgba(0, 0, 0, 0.7)'
5188
         background: 'rgba(0, 0, 0, 0.7)'
5189
        })
5189
        })
5190
-   
5190
+
5191
        var params = {
5191
        var params = {
5192
          patient_id:this.patientInfo.id,
5192
          patient_id:this.patientInfo.id,
5193
          record_date:this.record_date,
5193
          record_date:this.record_date,

+ 3 - 2
src/xt_pages/outpatientDoctorStation/print.vue View File

18
 9675:测试
18
 9675:测试
19
  -->
19
  -->
20
     <div class="dialysisPage" style="padding-top: 40px">
20
     <div class="dialysisPage" style="padding-top: 40px">
21
-      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243">
21
+      <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243 && org_id != 0">
22
 
22
 
23
         <printOne v-if="org_id != 10088 && org_id != 10215" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
23
         <printOne v-if="org_id != 10088 && org_id != 10215" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
24
 
24
 
68
           :advicePrint="advicePrint"
68
           :advicePrint="advicePrint"
69
           :ids="ids"
69
           :ids="ids"
70
           :patient="patient"
70
           :patient="patient"
71
-          :hisPatient="hisPatient"
71
+          :newHisPatient="newHisPatient"
72
           :doctorPorject="doctorPorject"
72
           :doctorPorject="doctorPorject"
73
           :patient_id="patient_id"
73
           :patient_id="patient_id"
74
           :record_date="record_date"
74
           :record_date="record_date"
105
   },
105
   },
106
   props: {
106
   props: {
107
     paramsObj: Object,
107
     paramsObj: Object,
108
+    newHisPatient:Object
108
   },
109
   },
109
   data() {
110
   data() {
110
     return {
111
     return {

+ 10 - 7
src/xt_pages/outpatientDoctorStation/template/printThree.vue View File

37
           </div>
37
           </div>
38
           <div style="display: flex">
38
           <div style="display: flex">
39
             <div style="width: 33%; display: flex">
39
             <div style="width: 33%; display: flex">
40
-              费别:<span class="under_line"
41
-                ><span>{{
42
-                  faber && faber.transBody
43
-                    ? getName(faber.transBody.outputlist1)
44
-                    : "自费"
45
-                }}</span></span
46
-              >
40
+              费别:
41
+              <span class="under_line">
42
+                <span v-if="newHisPatient.id > 0">{{
43
+                    newHisPatient.balance_accounts_type == 1 ? '医保':'自费'
44
+                }}</span>
45
+                   <span v-else>{{
46
+                     }}</span>
47
+            </span>
47
             </div>
48
             </div>
48
             <div style="width: 33%; display: flex">
49
             <div style="width: 33%; display: flex">
49
               电脑号:<span class="under_line">{{
50
               电脑号:<span class="under_line">{{
258
     prescription_id: Number,
259
     prescription_id: Number,
259
     his_patient_id:Number,
260
     his_patient_id:Number,
260
     ids: String,
261
     ids: String,
262
+    newHisPatient:Object,
261
   },
263
   },
262
   data() {
264
   data() {
263
     return {
265
     return {
269
       prescriptionInfo: [],
271
       prescriptionInfo: [],
270
       doc_name: "",
272
       doc_name: "",
271
       hisPatient: {},
273
       hisPatient: {},
274
+
272
       department: [],
275
       department: [],
273
       prescriptions: [],
276
       prescriptions: [],
274
       projectList: [],
277
       projectList: [],

+ 12 - 11
src/xt_pages/outpatientDoctorStation/treatPrint.vue View File

11
           >打印</el-button
11
           >打印</el-button
12
         >
12
         >
13
       </template> -->
13
       </template> -->
14
-            
14
+
15
       <div class='dialysisPage' style="padding-top:40px;">
15
       <div class='dialysisPage' style="padding-top:40px;">
16
         <!-- 此下条为本地开发下页面 -->
16
         <!-- 此下条为本地开发下页面 -->
17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18
         <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
18
         <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
19
-        <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>
19
+        <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
20
       </div>
20
       </div>
21
   </div>
21
   </div>
22
 </template>
22
 </template>
42
     printTwo
42
     printTwo
43
   },
43
   },
44
   props:{
44
   props:{
45
-    paramsObj:Object
45
+    paramsObj:Object,
46
+    newHisPatient:Object
46
   },
47
   },
47
   data() {
48
   data() {
48
     return {
49
     return {
78
             scanStyles: false
79
             scanStyles: false
79
           });
80
           });
80
         },500)
81
         },500)
81
-        
82
+
82
       }else{
83
       }else{
83
         const style =
84
         const style =
84
         '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.prescription-print{font-size: 14px;}.printTitle{font-size: 18px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:5px;padding:0 10px;}.infoTitle div{width: 300px;margin-bottom:5px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;}.prescriptionBox{padding:0 10px;min-height:380px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; padding:0 10px;margin:5px 0;} .actionBar div{width:150px;}}';
85
         '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.prescription-print{font-size: 14px;}.printTitle{font-size: 18px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:5px;padding:0 10px;}.infoTitle div{width: 300px;margin-bottom:5px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;}.prescriptionBox{padding:0 10px;min-height:380px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; padding:0 10px;margin:5px 0;} .actionBar div{width:150px;}}';
89
           scanStyles: false
90
           scanStyles: false
90
         });
91
         });
91
       }
92
       }
92
-      
93
+
93
 
94
 
94
       // if (this.org_template_info.template_id == 1) {
95
       // if (this.org_template_info.template_id == 1) {
95
       //   printJS({
96
       //   printJS({
104
       getAllDoctorList().then(response=>{
105
       getAllDoctorList().then(response=>{
105
         if(response.data.state == 1){
106
         if(response.data.state == 1){
106
                var doctor =  response.data.data.doctor
107
                var doctor =  response.data.data.doctor
107
-               
108
+
108
                this.doctorList = doctor
109
                this.doctorList = doctor
109
              }
110
              }
110
-         })   
111
+         })
111
      },
112
      },
112
     getAllHisPatientList(){
113
     getAllHisPatientList(){
113
          const params = {
114
          const params = {
133
             // console.log(this.patientTableData[0])
134
             // console.log(this.patientTableData[0])
134
             // this.choosePatient(this.patientTableData[0])
135
             // this.choosePatient(this.patientTableData[0])
135
             this.cal_one = cal_one
136
             this.cal_one = cal_one
136
-            this.cal_two = cal_two   
137
+            this.cal_two = cal_two
137
          }
138
          }
138
       })
139
       })
139
     },
140
     },
167
     searchAction(){
168
     searchAction(){
168
 
169
 
169
     }
170
     }
170
-    
171
+
171
   },
172
   },
172
 
173
 
173
   created() {
174
   created() {
191
         var prescription_id = this.paramsObj.prescription_id
192
         var prescription_id = this.paramsObj.prescription_id
192
         this.prescription_id = prescription_id
193
         this.prescription_id = prescription_id
193
         this.ids = this.paramsObj.ids
194
         this.ids = this.paramsObj.ids
194
-        
195
+
195
       },
196
       },
196
       deep:true
197
       deep:true
197
     }
198
     }
364
   .dialysisPage::-webkit-scrollbar {
365
   .dialysisPage::-webkit-scrollbar {
365
     height: 15px;
366
     height: 15px;
366
   }
367
   }
367
-  
368
+
368
   .el-date-editor{
369
   .el-date-editor{
369
     .el-input__inner{
370
     .el-input__inner{
370
       padding-right:0px;
371
       padding-right:0px;

+ 9 - 5
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue View File

34
       </div>
34
       </div>
35
       <div style="display: flex">
35
       <div style="display: flex">
36
         <div style="width: 33%; display: flex">
36
         <div style="width: 33%; display: flex">
37
-          费别:<span class="under_line">{{
38
-            faber && faber.transBody
39
-              ? getName(faber.transBody.outputlist1)
40
-              : "自费"
41
-          }}</span>
37
+          费别:
38
+          <span class="under_line">
39
+                <span v-if="newHisPatient.id > 0">{{
40
+                    newHisPatient.balance_accounts_type == 1 ? '医保':'自费'
41
+                  }}</span>
42
+                   <span v-else>{{
43
+                     }}</span>
44
+            </span>
42
         </div>
45
         </div>
43
         <div style="width: 33%; display: flex">
46
         <div style="width: 33%; display: flex">
44
           电脑号:<span class="under_line">{{
47
           电脑号:<span class="under_line">{{
325
     record_date: String,
328
     record_date: String,
326
     prescription_id: Number,
329
     prescription_id: Number,
327
     ids: String,
330
     ids: String,
331
+    newHisPatient:Object,
328
   },
332
   },
329
   data() {
333
   data() {
330
     return {
334
     return {