소스 검색

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

28169 1 년 전
부모
커밋
9cc89cf524

+ 5 - 5
src/xt_pages/outpatientCharges/invoicePrint.vue 파일 보기

@@ -12,14 +12,14 @@
12 12
       <el-button
13 13
       v-if="org_id==10088 || org_id == 0"
14 14
       style="position:fixed;right:115px;z-index:999"
15
-      size="small" type="success" 
16
-      @click="showclick = !showclick">{{ showclick==false ? '白纸' : '发票' }}</el-button>  
15
+      size="small" type="success"
16
+      @click="showclick = !showclick">{{ showclick==false ? '白纸' : '发票' }}</el-button>
17 17
     </template>
18
-    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 "><!--&& org_id != 10188 && org_id != 0-->
18
+    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 && org_id != 0"><!--&& org_id != 10188 && org_id != 0-->
19 19
         <div class='dialysisPage'>
20 20
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 " >
21 21
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
22
-            <printThree v-if="org_id == 10088 || org_id == 0" :paramsObj="invoiceParams" :show="showclick"></printThree>
22
+            <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams" :show="showclick"></printThree>
23 23
             <printfifteen v-if="org_id == 10510  " :paramsObj="invoiceParams"></printfifteen>
24 24
           </div>
25 25
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
@@ -45,7 +45,7 @@
45 45
         <printSix :paramsObj="invoiceParams"></printSix>
46 46
       </div>
47 47
     </div>
48
-    <div class="app-container" style="padding-top:40px;" v-if="org_id == 10375">
48
+    <div class="app-container" style="padding-top:40px;" v-if="org_id == 10375 || org_id == 0">
49 49
       <div class='dialysisPage'>
50 50
         <print-ten :paramsObj="invoiceParams"></print-ten>
51 51
       </div>

+ 4 - 4
src/xt_pages/outpatientCharges/invoiceTemplate/printTen.vue 파일 보기

@@ -26,7 +26,7 @@
26 26
         </div>
27 27
         <div style=" width: 608px;min-height: 200px;">
28 28
           <div style="display:flex;justify-content: space-around;">
29
-            
29
+
30 30
             <div style="">西药费</div>
31 31
             <div style="">{{ list.westernMedicineCostTotal ? list.westernMedicineCostTotal.toFixed(2) : '' }}</div>
32 32
             <div style="">检查费</div>
@@ -36,7 +36,7 @@
36 36
           </div>
37 37
 
38 38
           <div style="display:flex;justify-content: space-around;">
39
-           
39
+
40 40
             <div style="">床位费</div>
41 41
             <div style="">{{ list.bedCostTotal ? list.bedCostTotal.toFixed(2) : '' }}</div>
42 42
             <div style="position:  relative;left: -15px;">中成药</div>
@@ -62,7 +62,7 @@
62 62
           </div>
63 63
         </div>
64 64
         <div style="border-top:1px solid black;width: 608px;">
65
-          
65
+
66 66
           <div style="border-right: 1px solid black;display: inline-block;width: 360px;padding: 5px;">
67 67
             <span>合计(大写):</span>
68 68
             <span>
@@ -135,7 +135,7 @@
135 135
           <div style="width:140px">收款人:{{list.admin_user_name}}</div>
136 136
         </div>
137 137
       </div>
138
-      
138
+
139 139
   </div>
140 140
 </template>
141 141
 <script>

+ 39 - 9
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 파일 보기

@@ -221,6 +221,15 @@
221 221
                                   type="primary"
222 222
                                 >读电子凭证
223 223
                                 </el-button>
224
+
225
+
226
+                                <el-button
227
+                                  v-if="(hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0  && org_id != 10340)"
228
+                                  size="small"
229
+                                  @click="open(55,items.med_type,items.prescriptions[0].order,items.prescriptions)"
230
+                                  type="primary"
231
+                                >人脸识别
232
+                                </el-button>
224 233
 <!--                                <el-button-->
225 234
 <!--                                  v-if="(hisPatientInfo.id_card_type != 3  && hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0 && org_id == 10480)"-->
226 235
 <!--                                  size="small"-->
@@ -919,13 +928,10 @@
919 928
 
920 929
     <register-dialog ref='register' :doctors="doctors" :departments="department" :sick="sick" :diagnoses="diagnoses"
921 930
                      v-on:confirm="confirm" v-on:cancel="cancel"></register-dialog>
922
-
923 931
     <call-un-association-prescription ref='call_prescription' v-on:call="call" v-on:call-cancel="callCancel"></call-un-association-prescription>
924
-
925 932
     <register-dialog9504 ref='register9504' :doctors="doctors" :departments="department" :sick="sick"
926 933
                          :diagnoses="diagnoses"
927 934
                          v-on:confirm="registerConfirm" v-on:cancel="registerCancel"></register-dialog9504>
928
-
929 935
     <charge-dialog ref='charge' v-on:confirm="chargeConfirm" v-on:cancel="chargeCancel"></charge-dialog>
930 936
     <el-dialog
931 937
       class="centerDialog"
@@ -941,8 +947,6 @@
941 947
       :visible.sync="statementVisible">
942 948
       <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
943 949
     </el-dialog>
944
-
945
-
946 950
     <el-dialog
947 951
       class="centerDialog"
948 952
       width="1200px"
@@ -951,7 +955,6 @@
951 955
 <!--      <statementPrintT ref="print" :paramsObj='orderObj'></statementPrintT>-->
952 956
       <new-statement-print-three ref="print" :paramsObj='orderObj'></new-statement-print-three>
953 957
     </el-dialog>
954
-
955 958
     <el-dialog
956 959
       class="centerDialog"
957 960
       width="1200px"
@@ -960,8 +963,6 @@
960 963
       <new-statement-print-two :params-obj="newOrderObj"></new-statement-print-two>
961 964
       <!--<newStatementPrint ref="print" :paramsObj='newOrderObj'></newStatementPrint>-->
962 965
     </el-dialog>
963
-
964
-
965 966
     <el-dialog title="输入密码" :visible.sync="pwdFormVisible">
966 967
       <el-form :model="form">
967 968
         <el-form-item label="密码" :label-width="20">
@@ -973,7 +974,6 @@
973 974
         <el-button type="primary" @click="comfirmPWDialog">确 定</el-button>
974 975
       </div>
975 976
     </el-dialog>
976
-
977 977
     <el-dialog
978 978
       class="centerDialog"
979 979
       width="1200px"
@@ -3898,6 +3898,36 @@ export default {
3898 3898
             .catch(function(error) {
3899 3899
             })
3900 3900
         }
3901
+      }else if(index == 55){
3902
+        var that = this
3903
+        let params = {
3904
+          "admin_user_id":this.$store.getters.xt_user.user.id,
3905
+          'his_patient_id': this.hisPatientInfo.id,
3906
+        }
3907
+          axios.get('http://127.0.0.1:9532/api/readelebyface', {
3908
+            params: params
3909
+          })
3910
+            .then(function(response) {
3911
+              if (response.data.state == 0) {
3912
+                that.$message.error(response.data.msg)
3913
+                return false
3914
+              } else {
3915
+                if (response.data.data.failed_code == -10) {
3916
+                  // that.$message.error(response.data.data.msg)
3917
+                  that.$confirm(response.data.data.msg, '医保错误信息', {
3918
+                    confirmButtonText: '确 定',
3919
+                    type: 'warning'
3920
+                  }).then(() => {
3921
+
3922
+                  }).catch(() => {
3923
+                  })
3924
+                }else{
3925
+                  that.$message({ message: response.data.data.msg, type: 'success', duration: 5000 })
3926
+                }
3927
+              }
3928
+            })
3929
+            .catch(function(error) {
3930
+            })
3901 3931
       }
3902 3932
     },
3903 3933
     getName(admin_user_id) {