Commit 9e54e6d1 authored by 刘怀志's avatar 刘怀志

68400 缴费管理,住院治疗的支付金额为0.00 元时金额及付款时间显示不正确

parent fb0aa66a
......@@ -1364,7 +1364,7 @@ color: #333333;"
</el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" label="金额" prop="standardAmount">
<template slot-scope="scope">
{{ scope.row.standardAmount| formatAmount }}
{{ scope.row.standardAmount || scope.row.standardAmount === 0 ? (moneyFormat(scope.row.standardAmount) + ' 元') : '-' }}
</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" label="缴费状态" prop="payStatus">
......@@ -1378,7 +1378,7 @@ color: #333333;"
</el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" label="缴费时间" prop="payTime">
<template slot-scope="scope">
{{ scope.row.payTime || '-' }}
{{ scope.row.payTime ? `${moment(scope.row.payTime).format('yyyy/MM/DD HH:mm:ss')}` : '-' }}
</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" label="付款账号" prop="ownerId">
......@@ -1519,6 +1519,7 @@ import { addHospital, delHospital, listHospital, updateHospitalRecord } from '@/
import moment from 'moment/moment'
import petPic from '@/assets/images/default_pet.jpg'
import { checkPermi } from '@/utils/permission'
import { moneyFormat } from '@/utils'
export default {
name: 'MedicalEdit',
......@@ -1847,6 +1848,7 @@ export default {
this.getDrugList()
},
methods: {
moneyFormat,
/* 清空按钮方法 */
handleClearRow(row, listName, removeButtonId) {
// 删除信息行
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment