Browse Source

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

see999 3 years ago
parent
commit
69af5ce734

+ 12 - 11
src/xt_pages/outpatientCharges/components/registerDialog9504.vue View File

@@ -50,16 +50,16 @@
50 50
             </el-form-item>
51 51
 
52 52
 
53
-            <!--<el-form-item label="医疗类别:" prop="medical_care">-->
54
-                <!--<el-select v-model="form.medical_care"  placeholder="请选择" style="width:100%;">-->
55
-                    <!--<el-option-->
56
-                            <!--v-for="(item,index) in medical_care"-->
57
-                            <!--:key="index"-->
58
-                            <!--:label="item.label"-->
59
-                            <!--:value="item.value">-->
60
-                    <!--</el-option>-->
61
-                <!--</el-select>-->
62
-            <!--</el-form-item>-->
53
+            <el-form-item label="医疗类别:" prop="medical_care">
54
+                <el-select v-model="form.medical_care"  placeholder="请选择" style="width:100%;">
55
+                    <el-option
56
+                            v-for="(item,index) in medical_care"
57
+                            :key="index"
58
+                            :label="item.label"
59
+                            :value="item.value">
60
+                    </el-option>
61
+                </el-select>
62
+            </el-form-item>
63 63
 
64 64
 
65 65
             <el-form-item label="证件类型:" prop="certificates" >
@@ -318,7 +318,7 @@
318 318
           birthday: [{required: true, message: "患者出生日期不能为空", trigger: 'blur'}],
319 319
           certificates: [{required: true, message: "证件类型不能为空", trigger: 'change'}],
320 320
           id_card_type: [{required: true, message: "读卡类型不能为空", trigger: 'change'}],
321
-          // medical_care: [{required: true, message: "医疗类别不能为空", trigger: 'change'}],
321
+          medical_care: [{required: true, message: "医疗类别不能为空", trigger: 'change'}],
322 322
 
323 323
         },
324 324
         visibility: false,
@@ -488,6 +488,7 @@
488 488
         // this.form.social_type = patientInfo.health_care_type
489 489
         this.form.id_card_type = 1
490 490
         this.form.certificates = 1
491
+        this.form.medical_care = 11
491 492
 
492 493
         // if( this.form.social_type == 0){
493 494
         //   this.form.social_type = ""

+ 107 - 75
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -87,7 +87,7 @@
87 87
                         >
88 88
                             退费
89 89
                         </el-button>
90
-                        <el-button size="small" @click="sz_open(10)" type="primary">打印</el-button>
90
+                        <el-button size="small" @click="sz_open(10)" v-if="this.radio == 2" type="primary">打印</el-button>
91 91
 
92 92
                         <el-button size="small" @click="sz_open(11)" type="primary"
93 93
                                    v-if="this.hisPatientInfo.id > 0 "
@@ -114,11 +114,25 @@
114 114
 
115 115
 
116 116
                     <div v-if="this.$store.getters.xt_user.org_id != 9504 && this.$store.getters.xt_user.org_id != 10028 && this.$store.getters.xt_user.org_id != 10138">
117
-                        <el-button size="small" @click="open(3)" type="primary">打印</el-button>
117
+                        <el-button size="small" @click="open(3)" type="primary" v-if="this.radio == 2">打印</el-button>
118 118
                         <el-button v-loading="loadingone" size="small"
119 119
                                    @click="open(6)"
120 120
                                    type="primary">挂号
121 121
                         </el-button>
122
+
123
+                        <!--<el-button-->
124
+                        <!--size="small" @click="open(8)" type="primary"-->
125
+                        <!--&gt;预结算-->
126
+                        <!--</el-button>-->
127
+
128
+
129
+                        <!--<el-button v-loading="loadingtwo"-->
130
+                        <!--v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3"-->
131
+                        <!--size="small"-->
132
+                        <!--@click="open(4)"-->
133
+                        <!--type="primary">收费-->
134
+                        <!--</el-button>-->
135
+
122 136
                         <el-button size="small" @click="open(5)" type="primary"
123 137
                                    v-if="this.radio == 2  && this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">
124 138
                             退费
@@ -136,6 +150,12 @@
136 150
                         >退号
137 151
                         </el-button>
138 152
 
153
+                        <!--<el-button-->
154
+                        <!--v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 9674   || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990"-->
155
+                        <!--size="small" @click="open(11)" type="primary"-->
156
+                        <!--&gt;撤销明细-->
157
+                        <!--</el-button>-->
158
+
139 159
                     </div>
140 160
                     <!--<el-button size="small" @click="query" type="primary"-->
141 161
                     <!--&gt;查询-->
@@ -168,86 +188,94 @@
168 188
                                               >
169 189
                                               </el-tab-pane>
170 190
 
171
-                                              <div style="margin-bottom:10px;float: right">
172
-                                                  <el-button
173
-                                                          v-if="(hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0) "
174
-
175
-                                                          size="small"
176
-                                                          @click="sz_open(8,items.med_type,items.prescriptions[0].order)"
177
-                                                          type="primary"
178
-                                                  >预结算
179
-                                                  </el-button>
191
+                                            <div style="margin-bottom:10px;float: right">
180 192
 
181
-                                                  <el-button
182
-                                                          v-if="order.order_status == 1"
183
-                                                          size="small"
184
-                                                          @click="sz_open(7,items.med_type,items.prescriptions[0].order,items.prescriptions)"
185
-                                                          type="primary"
186
-                                                  >撤销明细
187
-                                                  </el-button>
188 193
 
189
-                                                  <el-button
190
-                                                          v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1"
191
-                                                          size="small"
192
-                                                          @click="sz_open(3,items.med_type,items.prescriptions[0].order,items.prescriptions)"
193
-                                                          type="primary">收费
194
-                                                  </el-button>
194
+                                                <div v-if="org_id == 9504 || org_id == 10028 || org_id == 10138">
195
+                                                    <el-button
196
+                                                            v-if="(hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0) "
195 197
 
198
+                                                            size="small"
199
+                                                            @click="sz_open(8,items.med_type,items.prescriptions[0].order)"
200
+                                                            type="primary"
201
+                                                    >预结算
202
+                                                    </el-button>
196 203
 
197
-                                                  <div v-if="org_id == 9504 || org_id == 10028 || org_id == 10138">
204
+                                                    <el-button
205
+                                                            v-if="order.order_status == 1"
206
+                                                            size="small"
207
+                                                            @click="sz_open(7,items.med_type,items.prescriptions[0].order,items.prescriptions)"
208
+                                                            type="primary"
209
+                                                    >撤销明细
210
+                                                    </el-button>
198 211
 
212
+                                                    <el-button
213
+                                                            v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1"
214
+                                                            size="small"
215
+                                                            @click="sz_open(3,items.med_type,items.prescriptions[0].order,items.prescriptions)"
216
+                                                            type="primary">收费
217
+                                                    </el-button>
199 218
 
200 219
 
201
-                                                  </div>
202
-                                                  <div v-if="org_id != 9504 && org_id != 10028 &&org_id != 10138">
203 220
 
204
-                                                      <!--<el-button-->
205
-                                                              <!--v-if="(hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0) "-->
221
+                                                </div>
222
+                                                <div v-if="org_id != 9504 && org_id != 10028 &&org_id != 10138">
206 223
 
207
-                                                              <!--size="small"-->
208
-                                                              <!--@click="open(8,items.med_type,items.prescriptions[0].order)"-->
209
-                                                              <!--type="primary"-->
210
-                                                      <!--&gt;预结算-->
211
-                                                      <!--</el-button>-->
224
+                                                    <!--<el-button-->
225
+                                                            <!--v-if="(hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0) "-->
212 226
 
227
+                                                            <!--size="small"-->
228
+                                                            <!--@click="open(8,items.med_type,items.prescriptions[0].order)"-->
229
+                                                            <!--type="primary"-->
230
+                                                    <!--&gt;预结算-->
231
+                                                    <!--</el-button>-->
213 232
 
214
-                                                      <!--<el-button v-loading="loadingtwo"-->
215
-                                                                <!--v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1 ||  items.prescriptions[0].order.order_status == 3"-->
216
-                                                                <!--size="small"-->
217
-                                                                <!--@click="open(4,items.med_type,items.prescriptions[0].order,items.prescriptions)"-->
218
-                                                                <!--type="primary">收费-->
219
-                                                      <!--</el-button>-->
220 233
 
234
+                                                    <el-button v-loading="loadingtwo"
235
+                                                               v-if="(hisPatientInfo.id > 0 && items.prescriptions[0].order.id == 0) || items.prescriptions[0].order.order_status == 1 ||  items.prescriptions[0].order.order_status == 3"
236
+                                                               size="small"
237
+                                                               @click="open(4,items.med_type,items.prescriptions[0].order,items.prescriptions)"
238
+                                                               type="primary">收费
239
+                                                    </el-button>
221 240
 
222
-                                                      <!--<el-button-->
223
-                                                      <!--v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 9674   || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990"-->
224
-                                                      <!--size="small" @click="open(11)" type="primary"-->
225
-                                                      <!--&gt;撤销明细-->
226
-                                                      <!--</el-button>-->
227 241
 
228
-                                                  </div>
229
-                                              </div>
242
+                                                    <!--<el-button-->
243
+                                                    <!--v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 9674   || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990"-->
244
+                                                    <!--size="small" @click="open(11)" type="primary"-->
245
+                                                    <!--&gt;撤销明细-->
246
+                                                    <!--</el-button>-->
230 247
 
231
-                                              <prescription-table ref="prescription_tables"
232
-                                                                  :prescription="items.curPrescriptions"></prescription-table>
233
-                                              <!--</el-radio-group>-->
234
-                                          </el-tabs>
248
+                                                </div>
249
+                                            </div>
235 250
 
236
-                                          
237
-                                      </div>
238
-                                      <div class="costBox">
239
-                                        <span>当前处方总费用:<span style="color:red;">{{items.total}}元</span></span>
240
-                                        <span>总费用:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>
241
-                                        <span>基金支付:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
242
-                                        <span>个人支付:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
243
-
244
-                                        <span v-if="items.curPrescriptions.order_status  == 1">待结算</span>
245
-                                        <span v-if="items.curPrescriptions.order_status  == 2">已结算</span>
246
-                                        <span v-if="items.curPrescriptions.order_status  == 3">已退费</span>
251
+                                            <prescription-table ref="prescription_tables"
252
+                                                                :prescription="items.curPrescriptions"></prescription-table>
253
+                                            <!--</el-radio-group>-->
254
+                                        </el-tabs>
247 255
                                       </div>
256
+                                        <div class="costBox">
257
+                                            <span>当前处方总费用:<span style="color:red;">{{items.total}}元</span></span>
258
+                                            <!--<span>总费用:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>-->
259
+                                            <!--<span>基金支付:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>-->
260
+                                            <!--<span>个人支付:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>-->
261
+
262
+
263
+                                            <span>医疗费总额:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>
264
+                                            <span>基金支付金额:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
265
+                                            <span>个人账户支付金额:<span style="color:red;">{{ items.curPrescriptions.order.acct_pay?items.curPrescriptions.order.acct_pay:''}}元</span></span>
266
+                                            <span>个人支付金额:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
267
+                                            <span>个人账户金额:<span style="color:red;">{{ items.curPrescriptions.order.account_price?items.curPrescriptions.order.account_price:''}}元</span></span>
268
+
269
+
270
+
271
+                                            <span v-if="items.curPrescriptions.order_status  == 1">待结算</span>
272
+                                            <span v-if="items.curPrescriptions.order_status  == 2">已结算</span>
273
+                                            <span v-if="items.curPrescriptions.order_status  == 3">已退费</span>
274
+                                        </div>
248 275
                                     </div>
249 276
                                   </div>
250 277
 
278
+
251 279
                                 </div>
252 280
                                 <div class="centerRight">
253 281
                                     <p class="centerRightTitle" style="padding-top: 10px;" v-if="org_id != 9504 || org_id != 10028 || org_id != 10138">就诊信息</p>
@@ -404,14 +432,14 @@
404 432
                                                 <div style="margin-bottom:10px;float: right">
405 433
                                                     <div v-if="org_id == 9504 || org_id == 10028 || org_id == 10138">
406 434
 
407
-                                                        <!--<el-button-->
408
-                                                                <!--v-if="(hisPatientInfo.id > 0 && items.curMonthPrescriptions.order.id == 0) "-->
435
+                                                    <el-button
436
+                                                            v-if="(hisPatientInfo.id > 0 && items.curMonthPrescriptions.order.id == 0) "
409 437
 
410
-                                                                <!--size="small"-->
411
-                                                                <!--@click="sz_open(8,items.med_type,items.curMonthPrescriptions.order)"-->
412
-                                                                <!--type="primary"-->
413
-                                                        <!--&gt;预结算-->
414
-                                                        <!--</el-button>-->
438
+                                                            size="small"
439
+                                                            @click="sz_open(8,items.med_type,items.curMonthPrescriptions.order)"
440
+                                                            type="primary"
441
+                                                    >预结算
442
+                                                    </el-button>
415 443
 
416 444
                                                         <el-button
417 445
                                                                 v-if="order.order_status == 1"
@@ -465,7 +493,7 @@
465 493
                                                         :prescription="items.curMonthPrescriptions"></charge-month-prescription-table>
466 494
 
467 495
 
468
-                                                
496
+
469 497
 
470 498
                                             </el-tabs>
471 499
 
@@ -475,13 +503,17 @@
475 503
                                           <span>当前处方总费用:<span
476 504
                                                   style="color:red;">{{ items.month_total }}元</span></span>
477 505
 
478
-                                          <span>总费用:<span style="color:red;">{{ items.curMonthPrescriptions.order.medfee_sumamt ?  items.curMonthPrescriptions.order.medfee_sumamt:getTotalFour(items.month_prescriptions)?getTotalFour(items.month_prescriptions):'' }}元</span></span>
479
-                                          <span>基金支付:<span style="color:red;">{{ items.curMonthPrescriptions.order.fund_pay_sumamt?items.curMonthPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
480
-                                          <span>个人支付:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>
506
+                                                <span>医疗费总额:<span style="color:red;">{{ items.curMonthPrescriptions.order.medfee_sumamt ?  items.curMonthPrescriptions.order.medfee_sumamt:getTotalFour(items.month_prescriptions)?getTotalFour(items.month_prescriptions):'' }}元</span></span>
507
+                                                <span>基金支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.fund_pay_sumamt?items.curMonthPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
508
+                                                <span>个人账户支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.acct_pay?items.curMonthPrescriptions.order.acct_pay:''}}元</span></span>
509
+                                                <span>个人支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>
510
+                                                <span>个人账户金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.account_price?items.curMonthPrescriptions.order.account_price:''}}元</span></span>
511
+
512
+                                            </div>
481 513
 
482
-                                          <!--<span>{{ state }}</span>-->
483
-                                        </div>
484 514
                                       </div>
515
+
516
+
485 517
                                     </div>
486 518
 
487 519
                                 </div>

+ 11 - 10
src/xt_pages/outpatientRegistration/index.vue View File

@@ -136,16 +136,16 @@
136 136
                         </el-select>
137 137
                     </el-form-item>
138 138
 
139
-                    <!--<el-form-item label="医疗类别:" :validate-event="is_Name" prop="medicalCare">-->
140
-                        <!--<el-select v-model="form.medicalCare" placeholder="请选择">-->
141
-                            <!--<el-option-->
142
-                                    <!--v-for="(item,index) in medical_care"-->
143
-                                    <!--:key="index"-->
144
-                                    <!--:label="item.label"-->
145
-                                    <!--:value="item.value">-->
146
-                            <!--</el-option>-->
147
-                        <!--</el-select>-->
148
-                    <!--</el-form-item>-->
139
+                    <el-form-item label="医疗类别:" :validate-event="is_Name" prop="medicalCare">
140
+                        <el-select v-model="form.medicalCare" placeholder="请选择">
141
+                            <el-option
142
+                                    v-for="(item,index) in medical_care"
143
+                                    :key="index"
144
+                                    :label="item.label"
145
+                                    :value="item.value">
146
+                            </el-option>
147
+                        </el-select>
148
+                    </el-form-item>
149 149
 
150 150
                     <el-form-item label="医生:" prop="doctor" :validate-event="is_Name">
151 151
                         <el-select v-model="form.doctor" placeholder="请选择" @change="changeDoctor">
@@ -1502,6 +1502,7 @@
1502 1502
       if(this.$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 10138){
1503 1503
         this.form.certificates = 2;
1504 1504
         this.form.id_card_type = 1
1505
+        this.form.medicalCare = 11
1505 1506
       }else{
1506 1507
         this.form.settlementValue = 1;
1507 1508
         this.form.registrationFee = 0;