Browse Source

提交代码

陈少旭 1 year ago
parent
commit
2dc177336f

File diff suppressed because it is too large
+ 1470 - 0
src/xt_pages/outpatientCharges/newStatementPrintThree.vue


+ 31 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -160,6 +160,12 @@
160 160
             >结算单
161 161
             </el-button>
162 162
 
163
+
164
+            <el-button v-if="this.radio == 2   && this.order.order_status == 2 && this.org_id == 10485" size="small"
165
+                       @click="open(100)" type="primary"
166
+            >结算单版本2
167
+            </el-button>
168
+
163 169
             <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small"
164 170
                        @click="open(30)" type="primary"
165 171
             >打印发票
@@ -936,6 +942,16 @@
936 942
       <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
937 943
     </el-dialog>
938 944
 
945
+
946
+    <el-dialog
947
+      class="centerDialog"
948
+      width="1200px"
949
+      title="打印"
950
+      :visible.sync="newStatementVisibleTwo">
951
+<!--      <statementPrintT ref="print" :paramsObj='orderObj'></statementPrintT>-->
952
+      <new-statement-print-three ref="print" :paramsObj='orderObj'></new-statement-print-three>
953
+    </el-dialog>
954
+
939 955
     <el-dialog
940 956
       class="centerDialog"
941 957
       width="1200px"
@@ -1004,10 +1020,12 @@ import ChargeMonthPrescriptionTable from './components/chargeMonthPrescriptionTa
1004 1020
 import NewStatementPrintTwo from './newStatementPrintTwo'
1005 1021
 import RegisterDialog9504 from './components/registerDialog9504'
1006 1022
 import cryptoJs from 'crypto-js'
1023
+import NewStatementPrintThree from './newStatementPrintThree.vue'
1007 1024
 
1008 1025
 const moment = require('moment')
1009 1026
 export default {
1010 1027
   components: {
1028
+    NewStatementPrintThree,
1011 1029
     RegisterDialog9504,
1012 1030
     NewStatementPrintTwo,
1013 1031
     ChargeMonthPrescriptionTable,
@@ -1190,6 +1208,8 @@ export default {
1190 1208
       newOrderObj: {},
1191 1209
       statementVisible: false,
1192 1210
       newStatementVisible: false,
1211
+      newStatementVisibleTwo: false,
1212
+
1193 1213
 
1194 1214
       sick: [],
1195 1215
       diagnoses: [],
@@ -3390,6 +3410,17 @@ export default {
3390 3410
         }
3391 3411
         this.orderObj = obj
3392 3412
         // this.$refs.print.getInfo(this.order.id)
3413
+      }else if (index == 100) {
3414
+        this.newStatementVisibleTwo = true
3415
+        let obj = {
3416
+          order_id: this.order.id,
3417
+          settle_type: this.order.settle_type,
3418
+          start_time: this.order.settle_start_time,
3419
+          end_time: this.order.settle_end_time,
3420
+          balance_accounts_type: this.hisPatientInfo.balance_accounts_type
3421
+        }
3422
+        this.orderObj = obj
3423
+        // this.$refs.print.getInfo(this.order.id)
3393 3424
       } else if (index == 10) {
3394 3425
 
3395 3426
         if (this.hisPatientInfo.balance_accounts_type == 2) {