Commit 7b5594b4 authored by 朱彩云's avatar 朱彩云

Merge branch 'func_eccs_2250' into 'master'

【商保系统】-回款管理-账单列表和已关联账单分tab展示支持搜索;回款单关联账单以及账单报表,增加备注列;其它优化项

See merge request !45
parents 4535ff39 fc72fcae
...@@ -22,7 +22,9 @@ import { ...@@ -22,7 +22,9 @@ import {
Spin, Spin,
Collapse, Collapse,
Tabs, Tabs,
Tooltip Tooltip,
Popover,
Empty
} from "ant-design-vue"; } from "ant-design-vue";
export default () => { export default () => {
...@@ -49,7 +51,9 @@ export default () => { ...@@ -49,7 +51,9 @@ export default () => {
Spin, Spin,
Collapse, Collapse,
Tabs, Tabs,
Tooltip Tooltip,
Popover,
Empty
]; ];
// 注册 // 注册
els.forEach((item) => { els.forEach((item) => {
......
This diff is collapsed.
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
format="YYYY-MM-DD" format="YYYY-MM-DD"
format-value="YYYY-MM-DD" format-value="YYYY-MM-DD"
v-model="billRange" v-model="billRange"
:placeholder="['开始时间','结束时间']" :placeholder="['开始时间', '结束时间']"
@change="onSelectBillTime" @change="onSelectBillTime"
/> />
</a-form-model-item> </a-form-model-item>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
format="YYYY-MM-DD" format="YYYY-MM-DD"
format-value="YYYY-MM-DD" format-value="YYYY-MM-DD"
v-model="returnRange" v-model="returnRange"
:placeholder="['开始时间','结束时间']" :placeholder="['开始时间', '结束时间']"
@change="onSelectReturnTime" @change="onSelectReturnTime"
/> />
</a-form-model-item> </a-form-model-item>
...@@ -67,7 +67,11 @@ ...@@ -67,7 +67,11 @@
:data-source="dataList" :data-source="dataList"
:scroll="{ x: true }" :scroll="{ x: true }"
:pagination="false" :pagination="false"
:rowKey="record => {record.id+record.backMoneyNo}" :rowKey="
(record) => {
record.id + record.backMoneyNo;
}
"
> >
<template slot="index" slot-scope="text, record, index"> <template slot="index" slot-scope="text, record, index">
{{ index + 1 }} {{ index + 1 }}
...@@ -79,28 +83,51 @@ ...@@ -79,28 +83,51 @@
</template> </template>
<script> <script>
import BurtPagination from "@/components/CUSTOMER/pagation"; import BurtPagination from '@/components/CUSTOMER/pagation';
import { exportFile } from '@/utils/index'; import { exportFile } from '@/utils/index';
export default { export default {
data() { data() {
const columns = [ const columns = [
{ title: "序号", dataIndex: "index", key:"index",align:'center', width: 80,scopedSlots: { customRender: "index" }}, {
{ title: "病历号", dataIndex: "mrnNo",width: 120}, title: '序号',
{ title: "客户姓名",dataIndex: "patientName",width: 120,}, dataIndex: 'index',
{ title: "保险公司", dataIndex: "payorName", width: 120 }, key: 'index',
{ title: "客户生日", dataIndex: "birthday", width: 120 }, align: 'center',
{ title: "保险卡号", dataIndex: "cardNo", width: 120 }, width: 80,
{ title: "账单编号", dataIndex: "receiptNo", width: 120 }, scopedSlots: { customRender: 'index' }
{ title: "账单日期", dataIndex: "receiptDate", width: 120 }, },
{ title: "收银", dataIndex: "receiptTellerName", width: 120 }, { title: '病历号', dataIndex: 'mrnNo', width: 120 },
{ title: "账单金额", dataIndex: "actualAmount", width: 120 }, { title: '客户姓名', dataIndex: 'patientName', width: 120 },
{ title: "回款金额", dataIndex: "paidAmountEob", width: 120 }, { title: '保险公司', dataIndex: 'payorName', width: 120 },
{ title: "回款日期", dataIndex: "eobBackDate", width: 120 }, { title: '客户生日', dataIndex: 'birthday', width: 120 },
{ title: "回款编号", dataIndex: "backMoneyNo", width: 120 }, { title: '保险卡号', dataIndex: 'cardNo', width: 120 },
{ title: "EOB号", dataIndex: "eobNo", width: 120 }, { title: '账单编号', dataIndex: 'receiptNo', width: 120 },
{ title: "EOB备注", dataIndex: "eobName", width: 120 }, { title: '账单日期', dataIndex: 'receiptDate', width: 120 },
{ title: "账龄", dataIndex: "diffDay", width: 120 }, { title: '收银', dataIndex: 'receiptTellerName', width: 120 },
{ title: '账单金额', dataIndex: 'actualAmount', width: 120 },
{ title: '回款金额', dataIndex: 'paidAmountEob', width: 120 },
{
title: '个人欠费',
dataIndex: 'arrearsAmount',
width: 120,
customRender: (val) => {
return <span style="color: red;">{val}</span>;
}
},
{
title: '备注',
dataIndex: 'remark',
width: 180,
customRender: (val) => {
return <span style="color: red;">{val}</span>;
}
},
{ title: '回款日期', dataIndex: 'eobBackDate', width: 120 },
{ title: '回款编号', dataIndex: 'backMoneyNo', width: 120 },
{ title: 'EOB号', dataIndex: 'eobNo', width: 120 },
{ title: 'EOB备注', dataIndex: 'eobName', width: 120 },
{ title: '账龄', dataIndex: 'diffDay', width: 120 }
]; ];
return { return {
columns, columns,
...@@ -123,11 +150,11 @@ export default { ...@@ -123,11 +150,11 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
total: 0 total: 0
}, }
}; };
}, },
components: { components: {
BurtPagination, BurtPagination
}, },
created() { created() {
this.getList(); this.getList();
...@@ -136,17 +163,13 @@ export default { ...@@ -136,17 +163,13 @@ export default {
methods: { methods: {
// 选择框筛选 // 选择框筛选
filterCode(input, option) { filterCode(input, option) {
return ( return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0;
option.componentOptions.children[0].text
.toLowerCase()
.indexOf(input.toLowerCase()) >= 0
);
}, },
// 获取列表数据 // 获取列表数据
getList() { getList() {
const data = { const data = {
...this.pageForm, ...this.pageForm,
...this.pagination, ...this.pagination
}; };
this.$apis.backMoneyReport(data).then((res) => { this.$apis.backMoneyReport(data).then((res) => {
let content = res.content || {}; let content = res.content || {};
...@@ -163,17 +186,17 @@ export default { ...@@ -163,17 +186,17 @@ export default {
}, },
onSelectBillTime(date, dateString) { onSelectBillTime(date, dateString) {
this.form.receiptDateStart = dateString[0] ? dateString[0] + ' 00:00:00' : '' this.form.receiptDateStart = dateString[0] ? dateString[0] + ' 00:00:00' : '';
this.form.receiptDateEnd = dateString[1] ? dateString[1] + ' 23:59:59' : '' this.form.receiptDateEnd = dateString[1] ? dateString[1] + ' 23:59:59' : '';
}, },
onSelectReturnTime(date, dateString) { onSelectReturnTime(date, dateString) {
this.form.eobBackDateStart = dateString[0] ? dateString[0] + ' 00:00:00' : '' this.form.eobBackDateStart = dateString[0] ? dateString[0] + ' 00:00:00' : '';
this.form.eobBackDateEnd = dateString[1] ? dateString[1] + ' 23:59:59' : '' this.form.eobBackDateEnd = dateString[1] ? dateString[1] + ' 23:59:59' : '';
}, },
// 重置 // 重置
handlerReset() { handlerReset() {
this.form = {} this.form = {};
this.returnRange = null; this.returnRange = null;
this.billRange = null; this.billRange = null;
}, },
...@@ -191,15 +214,15 @@ export default { ...@@ -191,15 +214,15 @@ export default {
}, },
//导出报表 //导出报表
exportExcel(){ exportExcel() {
let filter = { let filter = {
...this.form, ...this.form
} };
this.$apis.exportBackMoneyReport(filter).then(res => { this.$apis.exportBackMoneyReport(filter).then((res) => {
exportFile(res, '账单回款报表.xls'); exportFile(res, '账单回款报表.xls');
}) });
}
} }
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
This diff is collapsed.
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