浏览代码

提交代码

陈少旭 1年前
父节点
当前提交
2dc177336f

文件差异内容过多而无法显示
+ 1470 - 0
src/xt_pages/outpatientCharges/newStatementPrintThree.vue


+ 31 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

160
             >结算单
160
             >结算单
161
             </el-button>
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
             <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small"
169
             <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small"
164
                        @click="open(30)" type="primary"
170
                        @click="open(30)" type="primary"
165
             >打印发票
171
             >打印发票
936
       <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
942
       <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
937
     </el-dialog>
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
     <el-dialog
955
     <el-dialog
940
       class="centerDialog"
956
       class="centerDialog"
941
       width="1200px"
957
       width="1200px"
1004
 import NewStatementPrintTwo from './newStatementPrintTwo'
1020
 import NewStatementPrintTwo from './newStatementPrintTwo'
1005
 import RegisterDialog9504 from './components/registerDialog9504'
1021
 import RegisterDialog9504 from './components/registerDialog9504'
1006
 import cryptoJs from 'crypto-js'
1022
 import cryptoJs from 'crypto-js'
1023
+import NewStatementPrintThree from './newStatementPrintThree.vue'
1007
 
1024
 
1008
 const moment = require('moment')
1025
 const moment = require('moment')
1009
 export default {
1026
 export default {
1010
   components: {
1027
   components: {
1028
+    NewStatementPrintThree,
1011
     RegisterDialog9504,
1029
     RegisterDialog9504,
1012
     NewStatementPrintTwo,
1030
     NewStatementPrintTwo,
1013
     ChargeMonthPrescriptionTable,
1031
     ChargeMonthPrescriptionTable,
1190
       newOrderObj: {},
1208
       newOrderObj: {},
1191
       statementVisible: false,
1209
       statementVisible: false,
1192
       newStatementVisible: false,
1210
       newStatementVisible: false,
1211
+      newStatementVisibleTwo: false,
1212
+
1193
 
1213
 
1194
       sick: [],
1214
       sick: [],
1195
       diagnoses: [],
1215
       diagnoses: [],
3390
         }
3410
         }
3391
         this.orderObj = obj
3411
         this.orderObj = obj
3392
         // this.$refs.print.getInfo(this.order.id)
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
       } else if (index == 10) {
3424
       } else if (index == 10) {
3394
 
3425
 
3395
         if (this.hisPatientInfo.balance_accounts_type == 2) {
3426
         if (this.hisPatientInfo.balance_accounts_type == 2) {