Browse Source

批量打印

XMLWAN 4 years ago
parent
commit
4b37281439

+ 2 - 2
src/xt_pages/data/medicalTemplate.vue View File

@@ -735,8 +735,8 @@
735 735
           remark:""  
736 736
         },
737 737
         rules: {
738
-            title: [{ required: true, message: "请输入标题", trigger: "blur" }],
739
-            content: [{ required: true, message: "请输入内容", trigger: "blur" }]
738
+            title: [{ required: true, message: "请输入标题"}],
739
+            content: [{ required: true, message: "请输入内容"}]
740 740
         },
741 741
         tabledata:[],
742 742
         tabledataOne:[],

+ 6 - 4
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue View File

@@ -6,7 +6,7 @@
6 6
             <p class="infoP">名称:血液透析中心</p>
7 7
             <p class="infoP">医生工号:</p>
8 8
             <p class="infoP">门诊流水号:</p>
9
-            <p class="infoP">科别:{{list.p_info.departments}}</p>
9
+            <p class="infoP">科别:{{list.p_info.departments?list.p_info.departments:""}}</p>
10 10
             <p class="infoP">处方单据号:</p>
11 11
             <p class="infoP">姓名:{{patient.name}}</p>
12 12
             <p class="infoP">医疗账号:</p>
@@ -34,7 +34,7 @@
34 34
                     </div>
35 35
                     <div class="chargeUl" style="border-top:1px solid #000;"> 
36 36
                         <p style="width:50%;">费用合计</p>
37
-                        <p style="width:50%;"></p>
37
+                        <p style="width:50%;">{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:""}}</p>
38 38
                     </div>
39 39
                     <div class="chargeUl" style="border-top:1px solid #000;">
40 40
                         <p style="width:50%;">记账支付</p>
@@ -71,8 +71,8 @@
71 71
             
72 72
         </div>
73 73
         <div class="moneyBox">
74
-            <p>实收金:{{list.order_info.medfee_sumamt}}</p>
75
-            <p>记账前金额:{{list.order_info.preselfpay_amt}}</p>
74
+            <p>实收金:{{list.order_info.medfee_sumamt?list.order_info.medfee_sumamt:''}}</p>
75
+            <p>记账前金额:{{list.order_info.preselfpay_amt?list.order_info.preselfpay_amt:""}}</p>
76 76
             <p>扣款金额:</p>
77 77
             <p>记账后金额:</p>
78 78
             <p>找赎金:</p>
@@ -116,6 +116,8 @@ export default {
116 116
                var patient = response.data.data.patient
117 117
                console.log("patient",patient)
118 118
                this.patient  = patient
119
+               var histpatient =   response.data.data.hisPatient
120
+               console.log("hispatient",histpatient)
119 121
             }
120 122
          })
121 123
        }

+ 0 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -575,9 +575,6 @@
575 575
             this.doctors = response.data.data.doctors
576 576
             this.department = response.data.data.department
577 577
             this.sick = response.data.data.sick
578
-
579
-            this.sick = response.data.data.sick
580
-
581 578
             this.diagnoses = response.data.data.diagnose
582 579
             // var info = response.data.data.info
583 580
             // if (info.user_type == 2 || info.user_type == 1) {

+ 2 - 1
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue View File

@@ -423,7 +423,8 @@
423 423
                 this.case_history.personal_history =    templatedetail.personal_history
424 424
                 this.case_history.family_history = templatedetail.family_history
425 425
                 this.case_history.diagnostic = templatedetail.diagnostic
426
-
426
+                this.case_history.doctor_advice = templatedetail.doctor_advice
427
+                this.case_history.remark = templatedetail.remark
427 428
               }
428 429
           })
429 430
         },

+ 1 - 2
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -168,9 +168,8 @@ export default {
168 168
             }
169 169
               addtotal =  Math.floor(addtotal * 100) / 100
170 170
         }
171
-        
172
-        return total + addtotal
173 171
        }
172
+       return total + addtotal
174 173
       }, 
175 174
 
176 175
 

+ 3 - 3
src/xt_pages/outpatientRegistration/index.vue View File

@@ -148,9 +148,9 @@
148 148
                             </el-option>
149 149
                         </el-select>
150 150
                     </el-form-item>
151
-                    <el-form-item>
151
+                    <!-- <el-form-item>
152 152
                         <el-checkbox v-model="form.costChecked">是否需要工本费</el-checkbox>
153
-                    </el-form-item>
153
+                    </el-form-item> -->
154 154
                     <el-form-item label="挂号费:">
155 155
                         <el-input v-model.number="form.registrationFee"></el-input>
156 156
                     </el-form-item>
@@ -158,7 +158,7 @@
158 158
                         <el-input v-model.number="form.medicalExpenses"></el-input>
159 159
                     </el-form-item>
160 160
                     <el-form-item label="工本费:">
161
-                        <el-input v-model.number="form.cost" :readonly="!form.costChecked"></el-input>
161
+                        <el-input v-model.number="form.cost"></el-input>
162 162
                     </el-form-item>
163 163
                     <el-form-item label="合计:">
164 164
                         <el-input v-model.number="total" readonly></el-input>

+ 16 - 3
src/xt_pages/outpatientRegistration/registrationHistory.vue View File

@@ -93,6 +93,9 @@
93 93
                 </el-table-column>
94 94
                 <el-table-column align="center" prop="name" label="工本费" width="70">
95 95
                     <template slot-scope="scope">{{ scope.row.cost_of_production }}</template>
96
+                </el-table-column>
97
+                 <el-table-column align="center" prop="name" label="结算类型" width="70">
98
+                    <template slot-scope="scope">{{getBanlance(scope.row.balance_accounts_type) }}</template>
96 99
                 </el-table-column>
97 100
                 <el-table-column align="center" prop="name" label="操作人" width="70">
98 101
                     <template slot-scope="scope">{{creator}}</template>
@@ -184,10 +187,11 @@
184 187
                     <el-form-item label="科室:"  prop="department" :validate-event="is_Name">
185 188
                       <div>{{ getDepartMent(form.departments) }}</div>
186 189
                     </el-form-item>
187
-                    <el-form-item label="是否需要工本费:"> 
190
+                    <!-- <el-form-item label="是否需要工本费:"> 
188 191
                       <div v-if="form.is_need_cost_of_production == 1">是</div>
189 192
                       <div v-else>否</div>
190
-                    </el-form-item>
193
+                    </el-form-item> -->
194
+                    
191 195
                     <el-form-item label="挂号费:">
192 196
                       <div>{{ form.register_cost }}</div>
193 197
                     </el-form-item>
@@ -580,7 +584,16 @@ export default {
580 584
         })
581 585
         return str
582 586
       },
583
-
587
+      
588
+      getBanlance(id){
589
+        var label = ""
590
+         for(let i=0;i<this.settlement.length;i++){
591
+            if(id == this.settlement[i].value){
592
+               label = this.settlement[i].label
593
+             }
594
+         }
595
+         return label
596
+      }
584 597
     }
585 598
 }
586 599
 </script>