Commit 0875acd5 authored by 王安伟's avatar 王安伟

Merge branch 'func_eccs_2250' into test

parents 17d94d93 454379f9
......@@ -23,7 +23,8 @@ import {
Collapse,
Tabs,
Tooltip,
Popover
Popover,
Empty
} from "ant-design-vue";
export default () => {
......@@ -51,7 +52,8 @@ export default () => {
Collapse,
Tabs,
Tooltip,
Popover
Popover,
Empty
];
// 注册
els.forEach((item) => {
......
......@@ -107,7 +107,7 @@ export default {
{ title: '收银', dataIndex: 'receiptTellerName', width: 120 },
{ title: '账单金额', dataIndex: 'actualAmount', width: 120 },
{ title: '回款金额', dataIndex: 'paidAmountEob', width: 120 },
{ title: '个人欠费', dataIndex: 'arrearsAmountShow', width: 120 },
{ title: '个人欠费', dataIndex: 'arrearsAmount', width: 120 },
{ title: '备注', dataIndex: 'remark', width: 180 },
{ title: '回款日期', dataIndex: 'eobBackDate', width: 120 },
{ title: '回款编号', dataIndex: 'backMoneyNo', width: 120 },
......
......@@ -187,6 +187,7 @@
:rowClassName="rowClassName"
:columns="selectedColumns"
:data-source="selectedRows"
:rowKey="'id'"
:scroll="{ x: '100%', y: tableHeight }"
:pagination="false"
>
......@@ -201,7 +202,7 @@
</a-table>
</div>
</template>
<div class="all-list_box no-data" v-else>暂未关联,前往全部账单关联</div>
<div class="all-list_box no-data" v-else><a-empty :image="simpleImage" /></div>
</template>
<template v-else>
<!-- table -->
......@@ -248,6 +249,7 @@
</template>
<script>
import { Empty } from 'ant-design-vue';
import Goback from '@/components/CUSTOMER/goback';
import BurtPagination from '@/components/CUSTOMER/pagation';
import { EOBStatusOptions } from '@/utils/utilsdictOptions.js';
......@@ -349,8 +351,8 @@ export default {
title: '客户姓名',
dataIndex: 'patientName',
ellipsis: true,
width: 120,
fixed: 'left'
fixed: 'left',
width: 180
},
{ title: '病历号', dataIndex: 'mrnNo', ellipsis: true, width: 195 },
{ title: '保险公司', dataIndex: 'payorName', ellipsis: true, width: 195 },
......@@ -510,7 +512,17 @@ export default {
return Number(totalMoney.toFixed(2));
}
},
watch: {
selectedRows: {
handler(val) {
console.log(val);
},
deep: true,
immediate: true
}
},
created() {
this.simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
const { backMoneyNo, isEdit } = this.$route.query;
this.backMoneyNo = backMoneyNo;
this.isEdit = isEdit;
......@@ -633,7 +645,6 @@ export default {
}
},
_confirmDelReceipt(records) {
console.log(records);
if (!this.backMoneyNo) return;
const receiptVoList = records
.filter((item) => {
......@@ -645,7 +656,6 @@ export default {
id: item.id
};
});
console.log(receiptVoList);
if (receiptVoList.length === 0) return;
this.$apis
.DELETERECEIPTRECORD({
......@@ -702,7 +712,6 @@ export default {
pageNum: 1,
pageSize: 999,
backMoneyNo: this.backMoneyNo,
payorCode: this.form.payorCode,
...this.searchForm,
receiptEndDate: billDate[1] ? billDate[1] + ' 23:59:59' : undefined,
receiptStartDate: billDate[0] ? billDate[0] + ' 00:00:00' : undefined
......@@ -761,7 +770,7 @@ export default {
this.$message.warning('请选择回款日期');
return;
}
if (!this.form.backAmountCny) {
if (!this.form.backAmountCny && this.form.backAmountCny !== 0) {
this.$message.warning('请输入回款金额(人民币)');
return;
}
......
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