Commit 3e031f45 authored by wangyongyu's avatar wangyongyu

账单报表增加保险卡、客户生日、账龄

parent ba851e2f
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</a-col> </a-col>
<a-col :xl="6" :lg="6" :sm="12"> <a-col :xl="6" :lg="6" :sm="12">
<a-form-model-item label="保险公司"> <a-form-model-item label="保险公司">
<a-select v-model="form.payorId" placeholder="请选择保险公司" allowClear> <a-select v-model="form.payorId" placeholder="请选择保险公司" allowClear mode="multiple">
<a-select-option v-for="item in companyOptions" :key="item.corpCode" :value="item.id"> <a-select-option v-for="item in companyOptions" :key="item.corpCode" :value="item.id">
{{ item.longName }} {{ item.longName }}
</a-select-option> </a-select-option>
...@@ -150,6 +150,8 @@ export default { ...@@ -150,6 +150,8 @@ export default {
{ title: "病历号", dataIndex: "mrnNo",width: 180}, { title: "病历号", dataIndex: "mrnNo",width: 180},
{ title: "客户姓名",dataIndex: "patientName",width: 120,}, { title: "客户姓名",dataIndex: "patientName",width: 120,},
{ title: "保险公司", dataIndex: "payorName", width: 200 }, { title: "保险公司", dataIndex: "payorName", width: 200 },
{ title: "保险卡", dataIndex: "cardNo", width: 200 },
{ title: "客户生日", dataIndex: "birthday", width: 200 },
{ title: "就诊医生", dataIndex: "doctorName", width: 150 }, { title: "就诊医生", dataIndex: "doctorName", width: 150 },
{ title: "是否已关联寄送单", dataIndex: "isSend", width: 180,scopedSlots: { customRender: "isSend" } }, { title: "是否已关联寄送单", dataIndex: "isSend", width: 180,scopedSlots: { customRender: "isSend" } },
{ title: "是否已回款", dataIndex: "isEobBack", width: 180,scopedSlots: { customRender: "isEobBack" } }, { title: "是否已回款", dataIndex: "isEobBack", width: 180,scopedSlots: { customRender: "isEobBack" } },
...@@ -163,6 +165,7 @@ export default { ...@@ -163,6 +165,7 @@ export default {
{ title: "保险欠费", dataIndex: "insuranceArrearsAmount", width: 180 }, { title: "保险欠费", dataIndex: "insuranceArrearsAmount", width: 180 },
{ title: "个人欠费", dataIndex: "arrearsAmount", width: 180 }, { title: "个人欠费", dataIndex: "arrearsAmount", width: 180 },
{ title: "未清余额", dataIndex: "residueBackAmount", width: 180 }, { title: "未清余额", dataIndex: "residueBackAmount", width: 180 },
{ title: "账龄", dataIndex: "diffDay", width: 180 },
{ title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }, align: "center"}, { title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }, align: "center"},
]; ];
return { return {
...@@ -174,7 +177,7 @@ export default { ...@@ -174,7 +177,7 @@ export default {
patientName: "", patientName: "",
mrnNo: "", mrnNo: "",
paymentCode: "", paymentCode: "",
payorId: 0, payorId: [],
visitTimeEnd: "", visitTimeEnd: "",
visitTimeStart: "", visitTimeStart: "",
receiptType: "", receiptType: "",
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
:data-source="dataList" :data-source="dataList"
:scroll="{ x: true }" :scroll="{ x: true }"
:pagination="false" :pagination="false"
:rowKey="'id'" :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 }}
...@@ -89,14 +89,18 @@ export default { ...@@ -89,14 +89,18 @@ export default {
{ title: "病历号", dataIndex: "mrnNo",width: 120}, { title: "病历号", dataIndex: "mrnNo",width: 120},
{ title: "客户姓名",dataIndex: "patientName",width: 120,}, { title: "客户姓名",dataIndex: "patientName",width: 120,},
{ title: "保险公司", dataIndex: "payorName", width: 120 }, { title: "保险公司", dataIndex: "payorName", width: 120 },
{ title: "客户生日", dataIndex: "birthday", width: 120 },
{ title: "保险卡号", dataIndex: "cardNo", width: 120 },
{ title: "账单编号", dataIndex: "receiptNo", width: 120 }, { title: "账单编号", dataIndex: "receiptNo", width: 120 },
{ title: "账单日期", dataIndex: "receiptDate", width: 120 }, { title: "账单日期", dataIndex: "receiptDate", width: 120 },
{ 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: "eobBackDate", width: 120 }, { title: "回款日期", dataIndex: "eobBackDate", width: 120 },
{ title: "回款编号", dataIndex: "backMoneyNo", width: 120 },
{ title: "EOB号", dataIndex: "eobNo", width: 120 }, { title: "EOB号", dataIndex: "eobNo", width: 120 },
{ title: "EOB名称", dataIndex: "eobName", width: 120 }, { title: "EOB备注", dataIndex: "eobName", width: 120 },
{ title: "账龄", dataIndex: "diffDay", width: 120 },
]; ];
return { return {
columns, columns,
...@@ -118,8 +122,8 @@ export default { ...@@ -118,8 +122,8 @@ export default {
pagination: { pagination: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
},
total: 0 total: 0
},
}; };
}, },
components: { components: {
...@@ -139,7 +143,8 @@ export default { ...@@ -139,7 +143,8 @@ export default {
this.$apis.backMoneyReport(data).then((res) => { this.$apis.backMoneyReport(data).then((res) => {
let content = res.content || {}; let content = res.content || {};
this.dataList = content.list || []; this.dataList = content.list || [];
this.total = content.total || 0;
this.pagination.total = content.total || 0;
}); });
}, },
// 获取保险公司下拉选项 // 获取保险公司下拉选项
......
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
dateRange: [], //创建时间范围 dateRange: [], //创建时间范围
startDate: "", startDate: "",
endDate: "", endDate: "",
backStatus: "", backStatus: "0",
backAmountCny: "", // 回款金额 backAmountCny: "", // 回款金额
backMoneyNo: "", // 回款编号 backMoneyNo: "", // 回款编号
}, },
......
...@@ -132,6 +132,8 @@ ...@@ -132,6 +132,8 @@
v-model="form.payorCode" v-model="form.payorCode"
placeholder="请选择保险公司" placeholder="请选择保险公司"
allow-clear allow-clear
show-search
:filter-option="filterOption"
:disabled="!isEdit" :disabled="!isEdit"
@change="changePayor" @change="changePayor"
> >
...@@ -434,10 +436,12 @@ export default { ...@@ -434,10 +436,12 @@ export default {
v-model={row.backAmount} v-model={row.backAmount}
allow-clear allow-clear
disabled={!this.isEdit} disabled={!this.isEdit}
style={{"color": row.backAmount == row.currentReceiptAmount ? '' : 'red'}}
onBlur={() => { onBlur={() => {
changeAmount(row); changeAmount(row);
}} }}
/> />
); );
}, },
}; };
...@@ -818,6 +822,10 @@ export default { ...@@ -818,6 +822,10 @@ export default {
this.$apis.EXPORTBACKRECEIPTLIST(filter).then(res => { this.$apis.EXPORTBACKRECEIPTLIST(filter).then(res => {
exportFile(res, '已关联账单.xls'); exportFile(res, '已关联账单.xls');
}) })
},
// 保险公司支持输入搜索
filterOption(input,option ) {
return option.componentOptions.children[0].text.indexOf(input) >= 0
} }
}, },
}; };
......
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