Browse Source

11月13 透析处方 收费列表

yq1 4 months ago
parent
commit
f89d19245f

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -10,7 +10,7 @@
10 10
                 class="newDialog"
11 11
         >
12 12
             <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13
-            <div style="position: absolute;left: 20%;top: 3%;width: 80%;">
13
+            <div style="position: absolute;left: 20%;top: 3%;width: 75%;">
14 14
               <span  v-if="this.$store.getters.xt_user.template_info.org_id!=0&&this.$store.getters.xt_user.template_info.org_id!=10702">
15 15
                 透前称重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16 16
               </span>&nbsp;&nbsp;
@@ -28,7 +28,7 @@
28 28
                 <span v-if="this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10702">{{last_record&&(last_record.weight_after-last_record.additional_weight).toFixed(2)?(last_record.weight_after-last_record.additional_weight).toFixed(2):""}}kg</span>
29 29
               </span>&nbsp;&nbsp;
30 30
             </div>
31
-            <div style="position: absolute;left: 20%;top: 10%;width: 80%;">
31
+            <div style="position: absolute;left: 20%;top: 10%;width: 75%;">
32 32
               <span style="display: inline-block;" v-if="this.$store.getters.xt_user.template_info.org_id==0||this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id ==10721">
33 33
                 衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:"" }} kg
34 34
               </span>&nbsp;&nbsp;

+ 17 - 8
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -41,6 +41,7 @@
41 41
   import PrintTwo10265 from "./listTemplate/printTwo10265";
42 42
   import ListPrintThree from "./listTemplate/listPrintThree";
43 43
   import listPrintforu from "./listTemplate/listPrintforu"
44
+import { watch } from 'vue';
44 45
   export default {
45 46
     name: 'listPrint',
46 47
     components: {
@@ -53,7 +54,8 @@
53 54
       printTwo,
54 55
     },
55 56
     props: {
56
-      paramsObj: Object
57
+      paramsObj: Object,
58
+      // paramsObj3:Object
57 59
     },
58 60
     data() {
59 61
       return {
@@ -67,11 +69,17 @@
67 69
         charge_admin:{},
68 70
         org_id:'',
69 71
 
70
-        hospital_record:{}
72
+        hospital_record:{},
73
+        paramsobjid:0,
71 74
       }
72 75
     },
73 76
     created() {
74
-      this.getInfo(this.paramsObj.id)
77
+      this.paramsobjid = this.paramsObj.id
78
+      console.log('1111111222222',this.paramsObj.id);
79
+      
80
+      // this.getInfo(this.paramsObj.id)
81
+      this.getInfo(this.paramsobjid)
82
+      console.log('333333333',this.paramsObj.id);
75 83
       this.org_id = this.$store.getters.xt_user.org_id
76 84
       if(this.org_id == 10106){
77 85
         if(this.paramsObj.balance_accounts_type == 2){
@@ -80,13 +88,14 @@
80 88
 
81 89
         }else{
82 90
           this.getInfo10106(this.paramsObj.id)
83
-
84
-
85
-
86 91
         }
87 92
       }
88 93
       // this.getinfos(this.paramsObj.id)
89 94
     },
95
+    beforeUpdate(){
96
+      console.log('444444',this.paramsObj.id);
97
+      
98
+    },
90 99
 
91 100
     methods: {
92 101
       getTimes(time) {
@@ -828,8 +837,8 @@
828 837
       //     }
829 838
       //   })
830 839
       // }
831
-    }
832
-
840
+    },
841
+    
833 842
   }
834 843
 </script>
835 844
 

+ 14 - 14
src/xt_pages/outpatientCharges/summary.vue View File

@@ -445,7 +445,7 @@
445 445
       title="打印"
446 446
       :visible.sync="listVisible"
447 447
     >
448
-      <listPrint :paramsObj='paramsObj'></listPrint>
448
+      <listPrint ref="checklists" :paramsObj='paramsObj' :key="jgFileTimer"></listPrint>
449 449
     </el-dialog>
450 450
     
451 451
     <el-dialog
@@ -625,7 +625,6 @@ import BreadCrumb from '@/xt_pages/components/bread-crumb'
625 625
 import { getDoctorList, getExportConsumeDetailList, getHisOrderList, Refund } from '@/api/his/his'
626 626
 import { ModifyFapiaoCode } from '@/api/his/his_tools'
627 627
 
628
-
629 628
 // import NewStatementPrint from './newStatementPrint'
630 629
 import { adminMainView} from "@/api/role/admin";
631 630
 import NewStatementPrint from './statementPrint.vue'
@@ -667,7 +666,7 @@ export default {
667 666
     listPrint,
668 667
     allListPrint,
669 668
     invoicePrint,
670
-    settlementPrint
669
+    settlementPrint,
671 670
   },
672 671
   data() {
673 672
     return {
@@ -729,9 +728,7 @@ export default {
729 728
       patienttypeArr:[{value:1,label:'血透患者'},{value:2,label:'慢病患者'},{value:3,label:'会员患者'},
730 729
                         {value:4,label:'腹透患者'},{value:5,label:'CKD患者'},{value:6,label:'其他患者'}
731 730
       ],
732
-      // paramsObj3:{
733
-      //   id:''
734
-      // }
731
+      jgFileTimer:''
735 732
     }
736 733
   },
737 734
 
@@ -4037,6 +4034,7 @@ export default {
4037 4034
     getTimes(time) {
4038 4035
       return uParseTime(time, '{y}-{m}-{d}')
4039 4036
     },
4037
+    
4040 4038
     toDetail(row) {
4041 4039
       this.$router.push(
4042 4040
         '/outpatientCharges/summaryDetail?patient_id=' +
@@ -4090,13 +4088,14 @@ export default {
4090 4088
       })
4091 4089
     },
4092 4090
     open(row) {
4093
-      console.log('row',row);
4094
-      this.paramsObj.id = row.id
4095
-      // if (index == 1) {
4096
-        this.listVisible = true
4097
-      // } else if (index == 2) {
4098
-      //   this.allListVisible = true
4099
-      // }
4091
+      this.paramsObj.id =''
4092
+      console.log('row',(row.id).toString());
4093
+      const id = (row.id).toString()
4094
+      this.paramsObj.id = id
4095
+      this.jgFileTimer = new Date().getTime()
4096
+      console.log('this.paramsObj.id',this.paramsObj.id);
4097
+      this.listVisible = true
4098
+
4100 4099
     }, unique(array) {
4101 4100
       // res用来存储结果
4102 4101
       var res = []
@@ -4185,7 +4184,8 @@ export default {
4185 4184
 
4186 4185
 
4187 4186
     }
4188
-  }
4187
+  },
4188
+  
4189 4189
 }
4190 4190
 </script>
4191 4191
 <style lang="scss">