Przeglądaj źródła

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

28169 1 rok temu
rodzic
commit
e364edd77f

+ 8 - 2
src/xt_pages/hospitalStation/invoiceTemplate/printfour.vue Wyświetl plik

@@ -32,7 +32,7 @@
32 32
         </div>
33 33
       </div>
34 34
       <div style="display:flex;margin-top: 10px;">
35
-        <div style="width: 150px;"><span >护理费</span> 0</div>
35
+        <div style="width: 150px;"><span >护理费 </span>{{list.hiliCostTotal ? list.hiliCostTotal.toFixed(2) : '0'}}</div>
36 36
         <div style="width: 150px;margin:0 30px;">中成药 {{ list.chineseTraditionalMedicineCostTotal }}</div>
37 37
         <div style="width: 150px;margin:0 30px;">化验费 {{ list.laboratoryCostTotal }}</div>
38 38
         <div style="width: 150px;margin:0 30px;">手术费 {{ list.operationCostTotal }}</div>
@@ -140,7 +140,8 @@ import {jsGetAge, uParseTime} from "@/utils/tools";
140 140
 
141 141
 export default {
142 142
     props:{
143
-        paramsObj:Object
143
+        paramsObj:Object,
144
+        hisPatient:Object,
144 145
     },
145 146
     data(){
146 147
         return{
@@ -160,6 +161,7 @@ export default {
160 161
     },
161 162
     mounted(){
162 163
         console.log('paramsObj',this.paramsObj)
164
+        
163 165
         let params = {
164 166
             order_id: this.paramsObj.order_id,
165 167
             patient_id: this.paramsObj.patient_id,
@@ -204,6 +206,7 @@ export default {
204 206
               this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
205 207
                                     this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
206 208
                 this.smalltoBIG( this.list.order.medfee_sumamt)
209
+                console.log('hisPatient',this.hisPatient);
207 210
                 // var data = new Date(res.data.data.date * 1000);
208 211
                 var data = new Date(this.paramsObj.setl_time);
209 212
                 var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
@@ -285,6 +288,9 @@ export default {
285 288
             },
286 289
             deep:true
287 290
         }
291
+    },
292
+    created(){
293
+      console.log('hisPatient',this.hisPatient);
288 294
     }
289 295
 }
290 296
 </script>

+ 3 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Wyświetl plik

@@ -1654,6 +1654,9 @@ export default {
1654 1654
       form['p_type'] = this.current_med_type
1655 1655
       form['diagnosis'] = this.form.diagnosis.join(',')
1656 1656
       form['sick_type'] = this.form.sick_type
1657
+      form['fapiao_code'] = this.form.fapiao_code
1658
+      form['fapiao_number'] = this.form.fapiao_number
1659
+
1657 1660
       form['ids'] = this.temp_ids
1658 1661
       if (this.activeName == 'first') {
1659 1662
         form['settle_accounts_type'] = 1

+ 40 - 40
src/xt_pages/outpatientCharges/summary.vue Wyświetl plik

@@ -3418,46 +3418,46 @@ export default {
3418 3418
             } else {
3419 3419
               time = this.getTimes(order.settle_accounts_date)
3420 3420
             }
3421
-            var hifmi_pay = 0.0
3422
-            if (order.setl_detail && order.setl_detail.length > 0) {
3423
-              var jsonObj = JSON.parse(order.setl_detail)
3424
-
3425
-              console.log(jsonObj)
3426
-              if (jsonObj != null) {
3427
-                for (let i = 0; i < jsonObj.length; i++) {
3428
-                  if (order.insutype == '310') {
3429
-                    if (jsonObj[i].fund_pay_type == '310300') {
3430
-                      hifmi_pay = jsonObj[i].fund_payamt
3431
-                    }
3432
-                  } else if (order.insutype == '390') {
3433
-                    if (order.fund_pay_type == '390200') {
3434
-                      hifmi_pay = jsonObj[i].fund_payamt
3435
-                    }
3436
-                  }
3437
-                }
3438
-              }
3439
-            }
3440
-
3441
-            var hifmi_pay = 0.0
3442
-
3443
-            console.log(order.setl_detail)
3444
-            if (order.setl_detail && order.setl_detail.length > 0) {
3445
-              var jsonObj = JSON.parse(order.setl_detail)
3446
-              if (jsonObj != null) {
3447
-                for (let i = 0; i < jsonObj.length; i++) {
3448
-                  if (order.insutype == '310') {
3449
-                    if (jsonObj[i].fund_pay_type == '310300') {
3450
-                      hifmi_pay = jsonObj[i].fund_payamt
3451
-                    }
3452
-                  }
3453
-                  if (order.insutype == '390') {
3454
-                    if (jsonObj[i].fund_pay_type == '390200') {
3455
-                      hifmi_pay = jsonObj[i].fund_payamt
3456
-                    }
3457
-                  }
3458
-                }
3459
-              }
3460
-            }
3421
+            // var hifmi_pay = 0.0
3422
+            // if (order.setl_detail && order.setl_detail.length > 0) {
3423
+            //   var jsonObj = JSON.parse(order.setl_detail)
3424
+            //
3425
+            //   console.log(jsonObj)
3426
+            //   if (jsonObj != null) {
3427
+            //     for (let i = 0; i < jsonObj.length; i++) {
3428
+            //       if (order.insutype == '310') {
3429
+            //         if (jsonObj[i].fund_pay_type == '310300') {
3430
+            //           hifmi_pay = jsonObj[i].fund_payamt
3431
+            //         }
3432
+            //       } else if (order.insutype == '390') {
3433
+            //         if (order.fund_pay_type == '390200') {
3434
+            //           hifmi_pay = jsonObj[i].fund_payamt
3435
+            //         }
3436
+            //       }
3437
+            //     }
3438
+            //   }
3439
+            // }
3440
+
3441
+            // var hifmi_pay = 0.0
3442
+
3443
+            // console.log(order.setl_detail)
3444
+            // if (order.setl_detail && order.setl_detail.length > 0) {
3445
+            //   var jsonObj = JSON.parse(order.setl_detail)
3446
+            //   if (jsonObj != null) {
3447
+            //     for (let i = 0; i < jsonObj.length; i++) {
3448
+            //       if (order.insutype == '310') {
3449
+            //         if (jsonObj[i].fund_pay_type == '310300') {
3450
+            //           hifmi_pay = jsonObj[i].fund_payamt
3451
+            //         }
3452
+            //       }
3453
+            //       if (order.insutype == '390') {
3454
+            //         if (jsonObj[i].fund_pay_type == '390200') {
3455
+            //           hifmi_pay = jsonObj[i].fund_payamt
3456
+            //         }
3457
+            //       }
3458
+            //     }
3459
+            //   }
3460
+            // }
3461 3461
 
3462 3462
             let insuplc_admdvs_name = ''
3463 3463
             if (order.his_patient.insuplc_admdvs == '440703') {

+ 11 - 8
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue Wyświetl plik

@@ -133,6 +133,7 @@
133 133
       <el-form-item label="体格检查: " prop="name">
134 134
         <el-input
135 135
           type="textarea"
136
+          :rows="3"
136 137
           v-model="physical_examination"
137 138
           placeholder="体格检查"
138 139
         ></el-input>
@@ -141,6 +142,7 @@
141 142
       <el-form-item label="专科检查: " prop="name">
142 143
         <el-input
143 144
           type="textarea"
145
+          :rows="3"
144 146
           v-model="special_inspection"
145 147
           placeholder="专科检查"
146 148
         ></el-input>
@@ -149,6 +151,7 @@
149 151
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
150 152
         <el-input
151 153
           type="textarea"
154
+          :rows="3"
152 155
           v-model="lab_apparatus"
153 156
           placeholder="实验室及器械检查"
154 157
         ></el-input>
@@ -260,7 +263,7 @@
260 263
         </el-select>
261 264
         <el-input
262 265
           type="textarea"
263
-          :rows="2"
266
+          :rows="3"
264 267
           placeholder="请输入内容"
265 268
           v-model="case_history.chief_conplaint"
266 269
         >
@@ -281,7 +284,7 @@
281 284
         </el-select>
282 285
         <el-input
283 286
           type="textarea"
284
-          :rows="2"
287
+          :rows="3"
285 288
           placeholder="请输入内容"
286 289
           v-model="case_history.history_of_present_illness"
287 290
         >
@@ -302,7 +305,7 @@
302 305
         </el-select>
303 306
         <el-input
304 307
           type="textarea"
305
-          :rows="2"
308
+          :rows="3"
306 309
           placeholder="请输入内容"
307 310
           v-model="case_history.past_history"
308 311
         >
@@ -323,7 +326,7 @@
323 326
         </el-select>
324 327
         <el-input
325 328
           type="textarea"
326
-          :rows="2"
329
+          :rows="3"
327 330
           placeholder="请输入内容"
328 331
           v-model="case_history.personal_history"
329 332
         >
@@ -344,7 +347,7 @@
344 347
         </el-select>
345 348
         <el-input
346 349
           type="textarea"
347
-          :rows="2"
350
+          :rows="3"
348 351
           placeholder="请输入内容"
349 352
           v-model="case_history.family_history"
350 353
         >
@@ -365,7 +368,7 @@
365 368
         </el-select>
366 369
         <el-input
367 370
           type="textarea"
368
-          :rows="2"
371
+          :rows="3"
369 372
           placeholder="请输入内容"
370 373
           v-model="case_history.diagnostic"
371 374
         >
@@ -387,7 +390,7 @@
387 390
         </el-select>
388 391
         <el-input
389 392
           type="textarea"
390
-          :rows="2"
393
+          :rows="3"
391 394
           placeholder="请输入内容"
392 395
           v-model="case_history.doctor_advice"
393 396
         >
@@ -397,7 +400,7 @@
397 400
       <el-form-item label="备注" prop="name" style="width: 49%">
398 401
         <el-input
399 402
           type="textarea"
400
-          :rows="2"
403
+          :rows="3"
401 404
           placeholder="请输入内容"
402 405
           v-model="case_history.remark"
403 406
         >

+ 31 - 5
src/xt_pages/outpatientDoctorStation/template/prineight.vue Wyświetl plik

@@ -38,7 +38,14 @@
38 38
                 透析号:{{ item.patient.dialysis_no }}
39 39
               </div>
40 40
               <div style="flex: 1;">
41
-                费别:居民医保/职工医保/自费
41
+                费别:
42
+                <span v-if="hisPatient.balance_accounts_type==1">
43
+                  <span v-if="hisPatient.insutype==390">城乡医保</span>
44
+                  <span v-if="hisPatient.insutype==310">职工医保</span>
45
+                </span>
46
+                <span v-else>
47
+                  {{ getsettlement(hisPatient.balance_accounts_type) }}
48
+                </span>
42 49
               </div>
43 50
             </div>
44 51
             <div  style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
@@ -301,7 +308,7 @@
301 308
                     <div style="flex: 1;">其他:</div>
302 309
                   </div>
303 310
                   <div style="display: flex;">
304
-                    <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
311
+                    <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
305 312
                     <div style="flex: 1;">调配药师:</div>
306 313
                     <div style="flex: 1;">核/发药师:</div>
307 314
                   </div>
@@ -382,7 +389,7 @@
382 389
               <div style="flex: 1;">收费员:</div>
383 390
             </div>
384 391
             <div style="display: flex;">
385
-              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
392
+              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
386 393
               <div style="flex: 1;">调配药师:</div>
387 394
               <div style="flex: 1;">核/发药师:</div>
388 395
             </div>
@@ -396,7 +403,7 @@
396 403
               <div style="flex: 1;">其他:</div>
397 404
             </div>
398 405
             <div style="display: flex;">
399
-              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
406
+              <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
400 407
               <div style="flex: 1;">调配药师:</div>
401 408
               <div style="flex: 1;">核/发药师:</div>
402 409
             </div>
@@ -454,6 +461,16 @@ export default{
454 461
       operators: [],
455 462
       doctorList_1: [],
456 463
       adminUser:[],
464
+      settlement:[
465
+        { value: 1, label: '医保' },
466
+        { value: 2, label: '自费' },
467
+        { value: 3, label: '公费' },
468
+        { value: 4, label: '农保' },
469
+        { value: 5, label: '会员' },
470
+        { value: 6, label: '职工' },
471
+        { value: 7, label: '合同' },
472
+        { value: 8, label: '医保自费' }
473
+      ],
457 474
     };
458 475
   },
459 476
   methods: {
@@ -587,7 +604,7 @@ export default{
587 604
 
588 605
           // console.log("处方222222", this.prescriptions);
589 606
           var hisPatient = response.data.data.hisPatient;
590
-          // console.log("hisPatient", hisPatient);
607
+          console.log("hisPatient", hisPatient);
591 608
           this.hisPatient = hisPatient;
592 609
           var projectlist = response.data.data.projectlist;
593 610
           // console.log("所有项目列表", projectlist);
@@ -738,6 +755,15 @@ export default{
738 755
       }
739 756
       console.log('777777777',this.arr);
740 757
       return this.arr
758
+    },
759
+    // 费别
760
+    getsettlement(ids){
761
+      const settl = this.settlement
762
+      for(let i in settl){
763
+        if(ids == settl[i].value){
764
+          return settl[i].label
765
+        }
766
+      }
741 767
     }
742 768
   },
743 769
   created() {