Browse Source

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

XMLWAN 3 years ago
parent
commit
7517ce7ed9

+ 7 - 7
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

1613
             }
1613
             }
1614
           }
1614
           }
1615
 
1615
 
1616
-          total = total.toFixed(3)
1616
+          total = total.toFixed(2)
1617
         }
1617
         }
1618
       }
1618
       }
1619
       return total
1619
       return total
1643
           }
1643
           }
1644
         }
1644
         }
1645
       }
1645
       }
1646
-      return total.toFixed(3)
1646
+      return total.toFixed(2)
1647
 
1647
 
1648
     },
1648
     },
1649
     getCurTotal() {
1649
     getCurTotal() {
1658
         for (let a = 0; a < this.curPrescriptions.project.length; a++) {
1658
         for (let a = 0; a < this.curPrescriptions.project.length; a++) {
1659
           total = total + this.curPrescriptions.project[a].price * this.curPrescriptions.project[a].total
1659
           total = total + this.curPrescriptions.project[a].price * this.curPrescriptions.project[a].total
1660
         }
1660
         }
1661
-        return total.toFixed(3)
1661
+        return total.toFixed(2)
1662
 
1662
 
1663
       }
1663
       }
1664
     },
1664
     },
1683
         }
1683
         }
1684
       }
1684
       }
1685
 
1685
 
1686
-      return total.toFixed(3)
1686
+      return total.toFixed(2)
1687
     }, getMonthTotal() {
1687
     }, getMonthTotal() {
1688
       var total = 0
1688
       var total = 0
1689
       for (let i = 0; i < this.month_prescriptions.length; i++) {
1689
       for (let i = 0; i < this.month_prescriptions.length; i++) {
1705
         }
1705
         }
1706
       }
1706
       }
1707
 
1707
 
1708
-      return total.toFixed(3)
1708
+      return total.toFixed(2)
1709
     },
1709
     },
1710
     createFilter(queryString) {
1710
     createFilter(queryString) {
1711
       return (restaurant) => {
1711
       return (restaurant) => {
2225
               }
2225
               }
2226
             }
2226
             }
2227
             if (index == 1) {
2227
             if (index == 1) {
2228
-              
2228
+
2229
               // for (let i = 0; i < this.prescriptions.length; i++) {
2229
               // for (let i = 0; i < this.prescriptions.length; i++) {
2230
               //   for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2230
               //   for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2231
               //     if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
2231
               //     if (this.prescriptions[i].med_type == 14 && this.prescriptions[i].advices[b].drug.is_special_diseases != 1) {
2299
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2299
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2300
                 }
2300
                 }
2301
               }
2301
               }
2302
-            
2302
+
2303
               let data = {
2303
               let data = {
2304
                 'prescriptions': this.prescriptions
2304
                 'prescriptions': this.prescriptions
2305
               }
2305
               }

File diff suppressed because it is too large
+ 3514 - 3473
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue


+ 26 - 8
src/xt_pages/outpatientTool/components/settle.vue View File

61
           <el-table-column align="center" prop="name" label="患者名字">
61
           <el-table-column align="center" prop="name" label="患者名字">
62
               <template slot-scope="scope">{{ scope.row.other_name }}</template>
62
               <template slot-scope="scope">{{ scope.row.other_name }}</template>
63
           </el-table-column>
63
           </el-table-column>
64
+        <el-table-column align="center" prop="item_name" label="身份证">
65
+          <template slot-scope="scope">
66
+            {{scope.row.id_card_no}}
67
+          </template>
68
+        </el-table-column>
69
+        <el-table-column align="center" prop="item_name" label="治疗日期">
70
+          <template slot-scope="scope">
71
+            {{getTimes(scope.row.settle_accounts_date)}}
72
+          </template>
73
+        </el-table-column>
74
+
64
           <el-table-column align="center" prop="item_name" label="结算日期">
75
           <el-table-column align="center" prop="item_name" label="结算日期">
65
               <template slot-scope="scope">
76
               <template slot-scope="scope">
66
                   {{scope.row.setl_time?scope.row.setl_time.split(" ")[0]:getTimes(scope.row.settle_accounts_date)}}
77
                   {{scope.row.setl_time?scope.row.setl_time.split(" ")[0]:getTimes(scope.row.settle_accounts_date)}}
127
 
138
 
128
 
139
 
129
 <script>
140
 <script>
130
-  import BreadCrumb from '@/xt_pages/components/bread-crumb'
131
-  import { GetSummarySettle } from '@/api/his/his'
132
-  import { uParseTime } from '@/utils/tools'
133
-  // import NewStatementPrint from './newStatementPrint'
141
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
142
+import { GetSummarySettle } from '@/api/his/his'
143
+import { uParseTime } from '@/utils/tools'
144
+// import NewStatementPrint from './newStatementPrint'
134
   const moment = require('moment')
145
   const moment = require('moment')
135
   export default {
146
   export default {
136
     components: {
147
     components: {
221
               for (let b = 0; b < data[i].orders.length; b++) {
232
               for (let b = 0; b < data[i].orders.length; b++) {
222
                 let order = data[i].orders[b]
233
                 let order = data[i].orders[b]
223
                 order['other_name'] = data[i].name
234
                 order['other_name'] = data[i].name
235
+                order['id_card_no'] = data[i].id_card_no
236
+
224
                 total = parseFloat((parseFloat(total.toString()) + parseFloat(data[i].orders[b].medfee_sumamt.toString())).toFixed(2).toString())
237
                 total = parseFloat((parseFloat(total.toString()) + parseFloat(data[i].orders[b].medfee_sumamt.toString())).toFixed(2).toString())
225
               }
238
               }
226
 
239
 
311
         })
324
         })
312
         this.sameRowArr = sameRowArr
325
         this.sameRowArr = sameRowArr
313
       }, merge({ row, column, rowIndex, columnIndex }) {
326
       }, merge({ row, column, rowIndex, columnIndex }) {
314
-        if (columnIndex === 0 || columnIndex === 8) {
327
+        if (columnIndex === 0 || columnIndex === 1 || columnIndex === 15) {
315
           const _row = this.tempArr[rowIndex]
328
           const _row = this.tempArr[rowIndex]
316
           const _col = _row > 0 ? 1 : 0
329
           const _col = _row > 0 ? 1 : 0
317
           return {
330
           return {
352
         for (let i = 0; i < this.tableData.length; i++) {
365
         for (let i = 0; i < this.tableData.length; i++) {
353
           let order = this.tableData[i]
366
           let order = this.tableData[i]
354
           let name = order.other_name
367
           let name = order.other_name
368
+          let id_card_no = order.id_card_no
369
+
355
           let time = ''
370
           let time = ''
356
           let balance_accounts = ""
371
           let balance_accounts = ""
357
           let med_type = ""
372
           let med_type = ""
364
           let hifp_pay = ""
379
           let hifp_pay = ""
365
           let hifob_pay = ""
380
           let hifob_pay = ""
366
           let maf_pay = ""
381
           let maf_pay = ""
367
-
382
+          let time2 = ""
383
+          time2 = this.getTimes(order.settle_accounts_date)
368
 
384
 
369
           let total = ""
385
           let total = ""
370
 
386
 
410
 
426
 
411
           let obj = {
427
           let obj = {
412
             '患者姓名': name,
428
             '患者姓名': name,
429
+            '身份证': id_card_no,
430
+            '治疗日期': time2,
413
             '结算日期': time,
431
             '结算日期': time,
414
             '结算类型': balance_accounts,
432
             '结算类型': balance_accounts,
415
             '处方类型': med_type,
433
             '处方类型': med_type,
428
           list.push(obj)
446
           list.push(obj)
429
         }
447
         }
430
         import('@/vendor/Export2Excel').then(excel => {
448
         import('@/vendor/Export2Excel').then(excel => {
431
-          const tHeader = [ '患者姓名', '结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
432
-          const filterVal = [ '患者姓名', '结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出',  '费用总额']
449
+          const tHeader = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
450
+          const filterVal = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出',  '费用总额']
433
           const data = this.formatJson(filterVal, list)
451
           const data = this.formatJson(filterVal, list)
434
           excel.export_json_to_excel1({
452
           excel.export_json_to_excel1({
435
             header: tHeader,
453
             header: tHeader,