Quellcode durchsuchen

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

28169 vor 2 Wochen
Ursprung
Commit
fc190c6472

+ 23 - 14
src/xt_pages/outpatientCharges/statementTemplate/printSeventheen.vue Datei anzeigen

@@ -5,10 +5,10 @@
5 5
       <div style="width: 100%;border-bottom: 1px dashed black;padding-bottom: 5px;">
6 6
         <div style="width: 100%;display: flex;padding: 5px;">
7 7
           <div style="flex: 1;">患者姓名:{{info.patient.name}}</div>
8
-          <div style="flex: 1;text-align: right;">票据号:{{ info.id }}</div>
8
+          <div style="flex: 1;text-align: right;">票据号:{{ info.new_order.fa_piao_number }}</div>
9 9
         </div>
10
-        <div style="padding: 5px;">门诊日期:{{getTime(info.date)}}</div>
11
-        <div style="padding: 5px;">个人编码:{{ info.patient.dialysis_no }}</div>
10
+        <div style="padding: 5px;">门诊日期:{{getTime2(info.new_order.settle_accounts_date)}}</div>
11
+        <div style="padding: 5px;">个人编码:{{ info.new_order.psn_no }}</div>
12 12
       </div>
13 13
       <div style="border-bottom: 1px dashed black;margin-bottom: 10px;">
14 14
         <div style="display: flex;padding: 5px;text-align: center;">
@@ -29,20 +29,20 @@
29 29
         <div style="flex: 1;text-align: right;">收费员:{{info.charge_admin.user_name}}</div>
30 30
       </div>
31 31
       <div style="width: 100%;display: flex;padding: 5px 0;">
32
-        <div style="flex: 1;">帐户支付总额:{{ }}</div>
33
-        <div style="flex: 1;text-align: right;">现金支付:{{info.psn_cash_pay}}</div>
32
+        <div style="flex: 1;">帐户支付总额:{{info.new_order.medfee_sumamt}}</div>
33
+        <div style="flex: 1;text-align: right;">现金支付:{{info.new_order.psn_cash_pay}}</div>
34 34
       </div>
35 35
       <div style="width: 100%;display: flex;">
36
-        <div style="flex: 1;">其中共济账户支付:{{ }}</div>
37
-        <div style="flex: 1;text-align: right;">统筹支付:{{info.hifp_pay}}</div>
36
+        <div style="flex: 1;">其中共济账户支付:{{info.new_order.acct_mulaid_pay}}</div>
37
+        <div style="flex: 1;text-align: right;">统筹支付:{{info.new_order.hifp_pay}}</div>
38 38
       </div>
39 39
       <div style="width: 100%;display: flex;padding: 5px 0;">
40
-        <div style="flex: 1;">公务员补助:{{info.cvlserv_pay }}</div>
41
-        <div style="flex: 1;text-align: right;">医疗救助支付:{{info.maf_pay }}</div>
40
+        <div style="flex: 1;">公务员补助:{{info.new_order.cvlserv_pay }}</div>
41
+        <div style="flex: 1;text-align: right;">医疗救助支付:{{info.new_order.maf_pay }}</div>
42 42
       </div>
43 43
       <div style="width: 100%;display: flex;">
44
-        <div style="flex: 1;">大病保险支付:{{info.hifmi_pay}}</div>
45
-        <div style="flex: 1;text-align: right;">账户余额:{{ }}</div>
44
+        <div style="flex: 1;">大病保险支付:{{info.new_order.hifmi_pay}}</div>
45
+        <div style="flex: 1;text-align: right;">账户余额:{{info.new_order.acct_pay}}</div>
46 46
       </div>
47 47
 
48 48
      <!-- <div style="border: 1px solid black;width: 100%;">
@@ -122,7 +122,7 @@
122 122
         <span v-if="info.insutype == '510'">生育保险</span>
123 123
       </div>
124 124
     </div>
125
-  
125
+
126 126
     <table class="statementTable" border="1" style="text-align: left;">
127 127
       <tr>
128 128
         <td>患者姓名:{{info.patient.name}}</td>
@@ -256,7 +256,7 @@
256 256
         med_typearr:[{id:11,name:'普通门诊'},{id:12,name:'门诊挂号'},{id:13,name:'急诊'},{id:14,name:'门诊特殊病'},
257 257
                     {id:15,name:'门诊统筹'},{id:16,name:'门诊慢性病'},{id:17,name:'普通住院'}],
258 258
       }
259
-      
259
+
260 260
     },
261 261
     methods:{
262 262
       getBirth(idNo){
@@ -302,6 +302,15 @@
302 302
         } else {
303 303
           return uParseTime(val, '{y}-{m}-{d} {h}:{m}:{s}')
304 304
         }
305
+      },   getTime2(val) {
306
+        if (val < 0) {
307
+          return ""
308
+        }
309
+        if (val == "") {
310
+          return ""
311
+        } else {
312
+          return uParseTime(val, '{y}-{m}-{d}')
313
+        }
305 314
       },
306 315
       getmoney(value){
307 316
         // if(vlaue == ''){
@@ -309,7 +318,7 @@
309 318
         // }else{
310 319
           return numToCny(value)
311 320
         // }
312
-        
321
+
313 322
       },
314 323
       getmed_type(ids){
315 324
         const options = this.med_typearr

+ 13 - 6
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Datei anzeigen

@@ -61,7 +61,6 @@
61 61
               <template slot-scope="scope">
62 62
                 <span>{{ scope.row.name }}</span>
63 63
                 <span class="futou" v-if="scope.row.patient_type==4">腹</span>
64
-                <!--  v-if="scope.row.patient_type==1" -->
65 64
               </template>
66 65
             </el-table-column>
67 66
             <el-table-column prop="name" label="就诊号" width="110">
@@ -944,7 +943,7 @@ export default {
944 943
           return false
945 944
         } else {
946 945
           //挂号
947
-          console.log('response.data.data',response.data.data);
946
+          console.log('response.data.data12121212134',response.data.data);
948 947
           
949 948
           for (let i = 0; i < response.data.data.list.length; i++) {
950 949
             for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
@@ -955,6 +954,7 @@ export default {
955 954
                   number: response.data.data.list[i].his_patient[b].number,
956 955
                   id: response.data.data.list[i].id,
957 956
                   his_patient_id: response.data.data.list[i].his_patient[b].id,
957
+                  patient_type: response.data.data.list[i].patient_type
958 958
                   // patient_type:
959 959
                 }
960 960
                 this.un_cure_data.push(obj)
@@ -965,7 +965,8 @@ export default {
965 965
                   name: response.data.data.list[i].his_patient[b].name,
966 966
                   number: response.data.data.list[i].his_patient[b].number,
967 967
                   id: response.data.data.list[i].id,
968
-                  his_patient_id: response.data.data.list[i].his_patient[b].id
968
+                  his_patient_id: response.data.data.list[i].his_patient[b].id,
969
+                  patient_type: response.data.data.list[i].patient_type
969 970
                 }
970 971
                 this.cure_data.push(obj)
971 972
               }
@@ -979,7 +980,8 @@ export default {
979 980
                 name: response.data.data.list_two[i].name,
980 981
                 number: response.data.data.list_two[i].his_patient.number,
981 982
                 id: response.data.data.list_two[i].id,
982
-                his_patient_id: response.data.data.list_two[i].his_patient.id
983
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
984
+                patient_type: response.data.data.list_two[i].patient_type
983 985
               }
984 986
               this.un_cure_data.push(obj)
985 987
             }
@@ -990,7 +992,8 @@ export default {
990 992
                 name: response.data.data.list_two[i].name,
991 993
                 number: response.data.data.list_two[i].his_patient.number,
992 994
                 id: response.data.data.list_two[i].id,
993
-                his_patient_id: response.data.data.list_two[i].his_patient.id
995
+                his_patient_id: response.data.data.list_two[i].his_patient.id,
996
+                patient_type: response.data.data.list_two[i].patient_type
994 997
               }
995 998
               this.cure_data.push(obj)
996 999
             }
@@ -5816,7 +5819,6 @@ export default {
5816 5819
       } else if (index == 20) {
5817 5820
         this.getPrescriptionList(this.patientInfo.id, this.record_date, 2, 3)
5818 5821
       }
5819
-
5820 5822
     },
5821 5823
 
5822 5824
     // changePatient(val){
@@ -5834,11 +5836,16 @@ export default {
5834 5836
     },
5835 5837
 
5836 5838
     getPrescriptionList(id, record_date, type, checkType) {
5839
+      
5837 5840
       getPrescriptionList(id, 2, record_date).then(response => {
5841
+        console.log('123456response.data.data',response.data.data,checkType);
5838 5842
         if (response.data.state == 1) {
5843
+          
5839 5844
           if (checkType != 3) {
5840 5845
             this.centerDialogVisible = true
5841 5846
             var list = response.data.data.list
5847
+           
5848
+            
5842 5849
             let arr1 = []
5843 5850
             let arr2 = []
5844 5851
             let arr3 = []