Browse Source

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

28169 3 days ago
parent
commit
107f939547

+ 30 - 11
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -32,11 +32,20 @@
32 32
 
33 33
       </tr>
34 34
       <tr>
35
-        <td width="70">就医登记号</td>
36
-        <td colspan="7" v-if="org_id !=10644">{{info.psn_no}}</td>
37
-        <td colspan="7" v-if="org_id ==10644">{{info.mdtrt_id}}</td>
38
-        <td width="50">门诊号</td>
39
-        <td colspan="3">{{info.number}}</td>
35
+        <td width="40">就医登记号</td>
36
+        <td colspan="2" v-if="org_id !=10644 && org_id != 9478 &&  org_id != 0">{{info.psn_no}}</td>
37
+        <td colspan="2" v-else-if="org_id ==10644">{{info.mdtrt_id}}</td>
38
+        <td colspan="2" v-else-if="org_id == 9478">{{info.mdtrt_id}}</td>
39
+        <td colspan="2" v-else-if="org_id == 0">{{info.mdtrt_id}}</td>
40
+
41
+
42
+        <td width="40" v-if="org_id != 9478">门诊号</td>
43
+        <td colspan="2" v-if="org_id != 9478">{{info.number}}</td>
44
+
45
+        <td width="40">参保地</td>
46
+        <td colspan="1">{{getName(info.his.insuplc_admdvs)}}</td>
47
+        <td width="40">结算号</td>
48
+        <td colspan="2">{{info.setl_id}}</td>
40 49
       </tr>
41 50
       <tr>
42 51
 
@@ -137,7 +146,7 @@
137 146
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
138 147
 
139 148
         <td>结算时间</td>
140
-        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
149
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time : ''}}</td>
141 150
       </tr>
142 151
       <tr>
143 152
         <td colspan="12" style="text-align:left;padding-left:10px;">
@@ -263,6 +272,7 @@
263 272
           parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
264 273
           parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total) + parseFloat(info.zc_cost_self_total) + parseFloat(info.huli_cost_self_total)).toFixed(2)}}
265 274
         </td>
275
+
266 276
         <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
267 277
           parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
268 278
           parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
@@ -270,11 +280,6 @@
270 280
           parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
271 281
           parseFloat(info.treat_cost_part_self_total) + parseFloat(info.zc_cost_part_self_total) + parseFloat(info.huli_cost_part_self_total)).toFixed(2)}}
272 282
         </td>
273
-
274
-        <td>报销比例</td>
275
-        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.new_order.pool_prop_selfpay}}</td>
276
-        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
277
-        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
278 283
       </tr>
279 284
 
280 285
       <tr>
@@ -304,6 +309,8 @@
304 309
       <tr>
305 310
         <td colspan="3" style="text-align:left;padding-left:10px;">个人共济支付</td>
306 311
         <td colspan="3">{{info.acct_mulaid_pay}}</td>
312
+        <td colspan="3" style="text-align:left;padding-left:10px;">报销比例</td>
313
+        <td colspan="3">{{info.pool_prop_selfpay}}</td>
307 314
 
308 315
       </tr>
309 316
       <tr>
@@ -355,10 +362,21 @@
355 362
     },
356 363
     data(){
357 364
       return{
365
+        options:[
366
+        ],
358 367
         org_id:'',
359 368
       }
360 369
     },
361 370
     methods:{
371
+      getName(value){
372
+        for(let i = 0; i < this.options.length; i++){
373
+          if(value == this.options[i].value){
374
+            return this.options[i].label
375
+          }
376
+        }
377
+
378
+
379
+      },
362 380
       getBirth(idNo){
363 381
         var year = idNo.substring(6, 10);
364 382
         var month = idNo.substring(10, 12);
@@ -397,6 +415,7 @@
397 415
     },
398 416
     created(){
399 417
       this.org_id = this.$store.getters.xt_user.org_id
418
+      this.options =  this.$store.getters.insuplc_admdvs
400 419
     }
401 420
   }
402 421
 

+ 6 - 3
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

@@ -143,7 +143,7 @@
143 143
                                           <el-table-column label="名称" v-if="org_id != 10206 && org_id != 0">
144 144
                                             <template slot-scope="scope">{{ scope.row.drug_name }}</template>
145 145
                                           </el-table-column>
146
-                                          <el-table-column label="规格" width="60" v-if="org_id != 10206 && org_id != 0">
146
+                                          <el-table-column label="规格" width="60" v-if="org_id != 10206">
147 147
                                             <template slot-scope="scope">
148 148
                                                    <span
149 149
                                                      v-if="scope.row.min_unit != scope.row.dose_unit">{{ scope.row.dose }}{{ scope.row.dose_unit }}&nbsp;* &nbsp;</span>
@@ -1849,7 +1849,8 @@
1849 1849
                       frequency_type: prescription.advices[b].frequency_type,
1850 1850
                       day_count: prescription.advices[b].day_count,
1851 1851
                       week_day: prescription.advices[b].week_day,
1852
-                      number:  prescription.advices[b].drug.number
1852
+                      number:  prescription.advices[b].drug.number,
1853
+                        spec:"",
1853 1854
 
1854 1855
                     }
1855 1856
                     tempAdvice.push(obj)
@@ -1905,7 +1906,6 @@
1905 1906
                         frequency_type: prescription.project[b].frequency_type,
1906 1907
                         day_count: prescription.project[b].day_count,
1907 1908
                         week_day: prescription.project[b].week_day,
1908
-                        number_days:prescription.project[b].day
1909 1909
 
1910 1910
                       }
1911 1911
 
@@ -1918,6 +1918,7 @@
1918 1918
                         obj['number'] = ""
1919 1919
 
1920 1920
 
1921
+
1921 1922
                       } else if (prescription.project[b].type == 3) {
1922 1923
                         obj['statistical_classification'] = ''
1923 1924
                         obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
@@ -2216,6 +2217,7 @@
2216 2217
                 project: project[i],
2217 2218
                 first_letter:project[i].first_letter,
2218 2219
                 number: "",
2220
+                spec:"",
2219 2221
                 bbx01:project[i].bbx01,
2220 2222
                 bby01:project[i].bby01,
2221 2223
                 sum_count:""
@@ -2240,6 +2242,7 @@
2240 2242
                 medical_code: good_info[i].medical_insurance_number,
2241 2243
                 unit: this.getGoodUnit(good_info[i].good_unit),
2242 2244
                 type: 3,
2245
+                spec:"",
2243 2246
                 is_special_diseases: good_info[i].is_special_diseases,
2244 2247
                 good_info: good_info[i],
2245 2248
                 first_letter:good_info[i].first_letter,

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

@@ -45,7 +45,7 @@
45 45
             电话:{{ item.patient.phone }}
46 46
           </div>
47 47
           <div style="margin-bottom: 10px" v-else>
48
-            日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
48
+            日期:{{ getTime(item.pre_time) ? getTime(item.pre_time) : "" }}
49 49
           </div>
50 50
           <div>地址:{{ item.patient.home_address }}</div>
51 51
           <div style="display: flex; width: 50%">