Commit e68868e0 authored by huangyecong's avatar huangyecong

【ECCS-商保-1213】账单查询接入接口

parent fee6547b
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<!-- 收费查询-账单查询 --> <!-- 收费查询-账单查询 -->
<div class="white_bg burt-container custom-info"> <div class="white_bg burt-container custom-info">
<!-- form --> <!-- form -->
{{form}}
<a-form-model ref="form" layout="vertical" :model="form"> <a-form-model ref="form" layout="vertical" :model="form">
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
...@@ -99,13 +98,13 @@ ...@@ -99,13 +98,13 @@
</a-form-model> </a-form-model>
<!-- table --> <!-- table -->
<!-- :customRow="handlerRowClick" -->
<a-table <a-table
:columns="columns" :columns="columns"
:data-source="dataList" :data-source="dataList"
row-key="patientNo" row-key="id"
:scroll="{ x: true }" :scroll="{ x: true }"
:pagination="false" :pagination="false"
:customRow="handlerRowClick"
> >
<template slot="operation" slot-scope="record"> <template slot="operation" slot-scope="record">
<a-button <a-button
...@@ -140,8 +139,13 @@ export default { ...@@ -140,8 +139,13 @@ export default {
const columns = [ const columns = [
{ {
title: "序号", title: "序号",
dataIndex: "id", dataIndex: "index",
width: 120, key:"index",
align:'center',
width: 80,
customRender: (text, record, index) => {
return `${index+1}`
},
}, },
{ title: "收费时间", dataIndex: "receiptDate", width: 180 }, { title: "收费时间", dataIndex: "receiptDate", width: 180 },
{ {
...@@ -170,11 +174,11 @@ export default { ...@@ -170,11 +174,11 @@ export default {
{ title: "保险公司", dataIndex: "payorName", width: 180 }, { title: "保险公司", dataIndex: "payorName", width: 180 },
{ title: "就诊时间", dataIndex: "visitTime", width: 180 }, { title: "就诊时间", dataIndex: "visitTime", width: 180 },
{ title: "就诊医生", dataIndex: "doctorName", width: 180 }, { title: "就诊医生", dataIndex: "doctorName", width: 180 },
{ title: "账单金额", dataIndex: "actualamount", width: 180 }, { title: "账单金额", dataIndex: "chargeAmount", width: 180 },
{ title: "折扣(%)", dataIndex: "discountAmount", width: 180 }, { title: "折扣(%)", dataIndex: "discountAmount", width: 180 },
{ title: "折后金额", dataIndex: "discountamount", width: 180 }, { title: "折后金额", dataIndex: "actualAmount", width: 180 },
{ title: "客户自付", dataIndex: "chargeamount", width: 180 }, { title: "客户自付", dataIndex: "paidAmount", width: 180 },
{ title: "减免金额", dataIndex: "reduceamount", width: 180 }, { title: "减免金额", dataIndex: "reduceamount", width: 180 },
{ title: "理赔金额", dataIndex: "paidamount", width: 180 }, { title: "理赔金额", dataIndex: "paidamount", width: 180 },
{ title: "保险已支付", dataIndex: "insurancePaidAmount", width: 180 }, { title: "保险已支付", dataIndex: "insurancePaidAmount", width: 180 },
...@@ -262,10 +266,12 @@ export default { ...@@ -262,10 +266,12 @@ export default {
onSelectVisitTime(date, dateString) { onSelectVisitTime(date, dateString) {
console.log(date, dateString); console.log(date, dateString);
}, },
// 重置
handlerReset() { handlerReset() {
console.log("重置"); this.form = {}
}, },
//设置行属性
handlerRowClick(record) { handlerRowClick(record) {
const { id, patientPolicyId } = record; const { id, patientPolicyId } = record;
return { return {
...@@ -273,6 +279,7 @@ export default { ...@@ -273,6 +279,7 @@ export default {
color: record.isEdit ? "#2B63FF" : "#252631", color: record.isEdit ? "#2B63FF" : "#252631",
}, },
on: { on: {
// 点击行
click: () => { click: () => {
if (record.isEdit) { if (record.isEdit) {
return true; return true;
......
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