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

Merge branch 'func_eccs_2250' into test

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