Commit e68868e0 authored by huangyecong's avatar huangyecong

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

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