Commit 49bf0896 authored by 郭小龙-DEL's avatar 郭小龙-DEL

Merge branch 'func_eccs_2376' into 'master'

Func eccs 2376 增加统计账单数及理赔金额

See merge request !66
parents 2395fac7 86a3b704
...@@ -6,6 +6,9 @@ export default { ...@@ -6,6 +6,9 @@ export default {
planCodeList: "/backstage/auth/planList", // 根据corporCode查询 planCodeList: "/backstage/auth/planList", // 根据corporCode查询
uploadImg: "/common/upload", uploadImg: "/common/upload",
specialtyList: "/backstage/auth/specialtyList", specialtyList: "/backstage/auth/specialtyList",
receiptCount: "/backstage/auth/receiptCount",
backMoneyReportCount: "/backstage/auth/backMoneyReportCount",
queryBackReceiptCount: "/backstage/auth/queryBackReceiptCount",
coverageCode: "/backstage/auth/coverageMasterList", coverageCode: "/backstage/auth/coverageMasterList",
getRefcdByRefgrp: "/common/getRefcdByRefgrp", // 公共获取码表接口 getRefcdByRefgrp: "/common/getRefcdByRefgrp", // 公共获取码表接口
checkUserEmail: "/backstage/user/checkUserEmail", // 校验用户邮箱 checkUserEmail: "/backstage/user/checkUserEmail", // 校验用户邮箱
......
...@@ -51,6 +51,17 @@ const CHECKUSEREMAIL = (data) => { ...@@ -51,6 +51,17 @@ const CHECKUSEREMAIL = (data) => {
return req.post(`${apis.checkUserEmail}?userName=${data.userName}`); return req.post(`${apis.checkUserEmail}?userName=${data.userName}`);
}; };
//
const receiptCount = (data) => {
return req.post(`${apis.receiptCount}`, data);
};
const backMoneyReportCount = (data) => {
return req.post(`${apis.backMoneyReportCount}`, data);
};
const queryBackReceiptCount = (data) => {
return req.post(`${apis.queryBackReceiptCount}`, data);
};
// 对象数组 // 对象数组
export default { export default {
GETUSERINFO, GETUSERINFO,
...@@ -59,6 +70,9 @@ export default { ...@@ -59,6 +70,9 @@ export default {
GETPLANCODEBYCORP, GETPLANCODEBYCORP,
GETSPECIALTYLIST, GETSPECIALTYLIST,
UPLOADIMG, UPLOADIMG,
receiptCount,
queryBackReceiptCount,
backMoneyReportCount,
GETCOVERAGECODE, GETCOVERAGECODE,
GETREFCDBYREFGRP, GETREFCDBYREFGRP,
CHECKUSEREMAIL, CHECKUSEREMAIL,
......
...@@ -1049,3 +1049,11 @@ button::-moz-focus-inner { ...@@ -1049,3 +1049,11 @@ button::-moz-focus-inner {
.p-r() { .p-r() {
position: relative; position: relative;
} }
.blue-text{
color: #2B63FF;
}
.red-text{
color: red;
}
<template> <template>
<!-- 收费查询-账单查询 --> <!-- 收费查询-账单查询 -->
<div class="white_bg burt-container custom-info"> <div class="white_bg burt-container custom-info">
<!-- 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="6" :lg="6" :sm="12"> <a-col :xl="6" :lg="6" :sm="12">
<a-form-model-item label="病历号"> <a-form-model-item label="病历号">
<a-input v-model="form.mrnNo" placeholder="请输入病历号" allow-clear /> <a-input v-model="form.mrnNo" placeholder="请输入病历号" allow-clear />
</a-form-model-item> </a-form-model-item>
</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-input v-model="form.patientName" placeholder="请输入客户姓名" allow-clear /> <a-input v-model="form.patientName" placeholder="请输入客户姓名" allow-clear />
</a-form-model-item> </a-form-model-item>
</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.payorIds" placeholder="请选择保险公司" allowClear show-search mode="multiple" <a-select v-model="form.payorIds" placeholder="请选择保险公司" allowClear show-search mode="multiple"
:filterOption="filterCode" optionFilterProp="label"> :filterOption="filterCode" optionFilterProp="label">
<a-select-option v-for="item in companyOptions" :key="item.corpCode" :value="item.id" :label="item.longName"> <a-select-option v-for="item in companyOptions" :key="item.corpCode" :value="item.id"
{{ item.longName }} :label="item.longName">
</a-select-option> {{ item.longName }}
</a-select> </a-select-option>
</a-form-model-item> </a-select>
</a-col> </a-form-model-item>
<a-col :xl="6" :lg="6" :sm="12"> </a-col>
<a-form-model-item label="看诊医生"> <a-col :xl="6" :lg="6" :sm="12">
<a-select v-model="form.doctorCode" placeholder="请选择看诊医生" allowClear> <a-form-model-item label="看诊医生">
<a-select-option v-for="item in doctorOptions" :key="item.doctorCode" :value="item.doctorCode"> <a-select v-model="form.doctorCode" placeholder="请选择看诊医生" allowClear>
{{ item.doctorDesc }} <a-select-option v-for="item in doctorOptions" :key="item.doctorCode" :value="item.doctorCode">
</a-select-option> {{ item.doctorDesc }}
</a-select> </a-select-option>
</a-form-model-item> </a-select>
</a-col> </a-form-model-item>
<a-col :xl="6" :lg="6" :sm="12"> </a-col>
<a-form-model-item label="收费时间"> <a-col :xl="6" :lg="6" :sm="12">
<a-range-picker format="YYYY-MM-DD" v-model="form.dateRange" :placeholder="['开始时间','结束时间']" @change="onSelectVisitTime" /> <a-form-model-item label="收费时间">
</a-form-model-item> <a-range-picker format="YYYY-MM-DD" v-model="form.dateRange" :placeholder="['开始时间', '结束时间']"
</a-col> @change="onSelectVisitTime" />
<a-col :xl="6" :lg="6" :sm="12"> </a-form-model-item>
<a-form-model-item label="是否已关联寄送单"> </a-col>
<a-select v-model="form.isSend" placeholder="请选择是否已关联寄送单" allowClear> <a-col :xl="6" :lg="6" :sm="12">
<a-select-option value="Y" allow-clear> <a-form-model-item label="是否已关联寄送单">
<a-select v-model="form.isSend" placeholder="请选择是否已关联寄送单" allowClear>
</a-select-option> <a-select-option value="Y" allow-clear>
<a-select-option value="N" allow-clear>
</a-select-option>
</a-select-option> <a-select-option value="N" allow-clear>
</a-select>
</a-form-model-item> </a-select-option>
</a-col> </a-select>
<a-col :xl="6" :lg="6" :sm="12"> </a-form-model-item>
<a-form-model-item label="是否已回款"> </a-col>
<a-select v-model="form.isEobBack" placeholder="请选择是否已回款" allowClear> <a-col :xl="6" :lg="6" :sm="12">
<a-select-option value="Y" allow-clear> <a-form-model-item label="是否已回款">
<a-select v-model="form.isEobBack" placeholder="请选择是否已回款" allowClear>
</a-select-option> <a-select-option value="Y" allow-clear>
<a-select-option value="N" allow-clear>
</a-select-option>
</a-select-option> <a-select-option value="N" allow-clear>
</a-select>
</a-form-model-item> </a-select-option>
</a-col> </a-select>
<a-col :xl="6" :lg="6" :sm="12"> </a-form-model-item>
<a-form-model-item label="账单类型"> </a-col>
<a-select v-model="form.receiptType" placeholder="请选择账单类型" allowClear> <a-col :xl="6" :lg="6" :sm="12">
<a-select-option v-for="item in receiptTypeOptions" :key="item.value" :value="item.value"> <a-form-model-item label="账单类型">
{{ item.name }} <a-select v-model="form.receiptType" placeholder="请选择账单类型" allowClear>
</a-select-option> <a-select-option v-for="item in receiptTypeOptions" :key="item.value" :value="item.value">
</a-select> {{ item.name }}
</a-form-model-item> </a-select-option>
</a-col> </a-select>
<a-col :xl="6" :lg="6" :sm="12"> </a-form-model-item>
<a-form-model-item label="账单编号"> </a-col>
<a-input v-model="form.receiptNo" placeholder="请输入账单编号" allow-clear /> <a-col :xl="6" :lg="6" :sm="12">
</a-form-model-item> <a-form-model-item label="账单编号">
</a-col> <a-input v-model="form.receiptNo" placeholder="请输入账单编号" allow-clear />
<a-col :xl="6" :lg="6" :sm="12"> </a-form-model-item>
<a-form-model-item label="状态"> </a-col>
<a-select v-model="form.status" placeholder="请选择状态" allowClear> <a-col :xl="6" :lg="6" :sm="12">
<a-select-option v-for="item in statusOptions" :key="item.code" :value="item.code"> <a-form-model-item label="状态">
{{ item.name }} <a-select v-model="form.status" placeholder="请选择状态" allowClear>
</a-select-option> <a-select-option v-for="item in statusOptions" :key="item.code" :value="item.code">
</a-select> {{ item.name }}
</a-form-model-item> </a-select-option>
</a-col> </a-select>
<a-col :xl="8" :lg="3" :sm="3" class="none-label"> </a-form-model-item>
<a-form-model-item label="button"> </a-col>
<!-- <a-button>更新数据</a-button> --> <a-col :xl="6" :lg="3" :sm="3" class="none-label">
<!-- <a-button class="mar-left10" type="primary" @click="addNewCharge"> <a-form-model-item label="button">
<!-- <a-button>更新数据</a-button> -->
<!-- <a-button class="mar-left10" type="primary" @click="addNewCharge">
<Icon name="ssiadd" :size="14" />新建预授权</a-button> --> <Icon name="ssiadd" :size="14" />新建预授权</a-button> -->
<a-button class="mar-left10" type="primary" @click="handlerReset"> <a-button class="mar-left10" type="primary" @click="handlerReset">
<Icon name="ssireset" :size="14" />重置 <Icon name="ssireset" :size="14" />重置
...@@ -101,7 +103,13 @@ ...@@ -101,7 +103,13 @@
</a-button> </a-button>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="24" :lg="24" :sm="24">
<div class="residue-amount">未清余额合计:<span class="blue-text">{{ ciReceiptTotalVo.residueBackAmount || 0 }} </span> (共计<span class="blue-text"> {{
ciReceiptTotalVo.totalNum || 0 }} </span><span v-if="ciReceiptTotalVo.invalidNum">,其中:无效 <span style="color: red;">{{ ciReceiptTotalVo.invalidNum || 0 }}</span></span>)
</div>
</a-col>
</a-row> </a-row>
<a-row></a-row>
</a-form-model> </a-form-model>
<!-- table --> <!-- table -->
...@@ -235,7 +243,8 @@ export default { ...@@ -235,7 +243,8 @@ export default {
name: '有效', name: '有效',
code: 1 code: 1
} }
] ],
ciReceiptTotalVo: {}
}; };
}, },
components: { components: {
...@@ -252,6 +261,18 @@ export default { ...@@ -252,6 +261,18 @@ export default {
}, },
methods: { methods: {
moment, moment,
// 获取未清余额合计
getReceiptCount() {
this.$apis.receiptCount({
...this.pageForm,
...this.pagination
}).then((res) => {
if (res.returnCode == '0000') {
console.log(res.content)
this.ciReceiptTotalVo = res.content
}
});
},
// 选择框筛选 // 选择框筛选
filterCode(input, option) { filterCode(input, option) {
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0; return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0;
...@@ -338,6 +359,8 @@ export default { ...@@ -338,6 +359,8 @@ export default {
this.pagination.pageNum = 1; this.pagination.pageNum = 1;
this.pageForm = this.$lodash.cloneDeep({ ...this.form, dateRange: undefined }); this.pageForm = this.$lodash.cloneDeep({ ...this.form, dateRange: undefined });
this._getChargeList(); this._getChargeList();
this.getReceiptCount()
}); });
}, },
// 新建账单信息 // 新建账单信息
...@@ -359,11 +382,19 @@ export default { ...@@ -359,11 +382,19 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.none-label { .none-label {
text-align: right; text-align: right;
.ant-form-item-label { .ant-form-item-label {
opacity: 0; opacity: 0;
} }
} }
.ant-btn .icon-class { .ant-btn .icon-class {
.mg-r(10); .mg-r(10);
} }
</style>
.residue-amount {
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
// .mg-t(48);
margin: 0 0 10px;
}</style>
...@@ -110,13 +110,13 @@ ...@@ -110,13 +110,13 @@
<div class="btn-div flex"> <div class="btn-div flex">
<div class="total-div flex"> <div class="total-div flex">
<div> <div>
<span>单数:</span> <span>单数:</span>
<span>{{ totalListNum + selectedRowKeys.length }}</span> <span class="blue-text">{{ totalListNum + selectedRowKeys.length }}</span>
<span :style="{color: 'red'}" v-if="invalidNum > 0">(无效{{ invalidNum }}</span> <span :style="{color: 'red'}" v-if="invalidNum > 0">(无效{{ invalidNum }}</span>
</div> </div>
<div> <div>
<span>理赔金额合计:</span> <span>理赔金额合计:</span>
<span>{{ totalAmount }}</span> <span class="blue-text">{{ totalAmount }}</span>
<span :style="{color: 'red'}" v-if="invalidActualAmount > 0">(无效{{ invalidActualAmount }}元)</span> <span :style="{color: 'red'}" v-if="invalidActualAmount > 0">(无效{{ invalidActualAmount }}元)</span>
</div> </div>
</div> </div>
......
...@@ -252,7 +252,4 @@ export default { ...@@ -252,7 +252,4 @@ export default {
.ant-btn .icon-class { .ant-btn .icon-class {
.mg-r(10); .mg-r(10);
} }
.red-text{
color: red;
}
</style> </style>
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
<a-form-model-item label="保险公司"> <a-form-model-item label="保险公司">
<a-select v-model="form.payorCode" placeholder="请选择" show-search allowClear :filterOption="filterCode"> <a-select v-model="form.payorCode" placeholder="请选择" show-search allowClear
:filterOption="filterCode">
<a-select-option v-for="item in companyOptions" :key="item.payorCode" :value="item.payorCode"> <a-select-option v-for="item in companyOptions" :key="item.payorCode" :value="item.payorCode">
{{ item.longName }} {{ item.longName }}
</a-select-option> </a-select-option>
...@@ -25,27 +26,17 @@ ...@@ -25,27 +26,17 @@
</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-range-picker <a-range-picker format="YYYY-MM-DD" format-value="YYYY-MM-DD" v-model="billRange"
format="YYYY-MM-DD" :placeholder="['开始时间', '结束时间']" @change="onSelectBillTime" />
format-value="YYYY-MM-DD"
v-model="billRange"
:placeholder="['开始时间', '结束时间']"
@change="onSelectBillTime"
/>
</a-form-model-item> </a-form-model-item>
</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-range-picker <a-range-picker format="YYYY-MM-DD" format-value="YYYY-MM-DD" v-model="returnRange"
format="YYYY-MM-DD" :placeholder="['开始时间', '结束时间']" @change="onSelectReturnTime" />
format-value="YYYY-MM-DD"
v-model="returnRange"
:placeholder="['开始时间', '结束时间']"
@change="onSelectReturnTime"
/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="10" :lg="10" :sm="12" class="none-label"> <a-col :xl="6" :lg="10" :sm="12" class="none-label">
<a-form-model-item label="button"> <a-form-model-item label="button">
<a-button class="mar-left10" type="primary" @click="handlerReset"> <a-button class="mar-left10" type="primary" @click="handlerReset">
<Icon name="ssireset" :size="14" />重置 <Icon name="ssireset" :size="14" />重置
...@@ -58,21 +49,42 @@ ...@@ -58,21 +49,42 @@
</a-button> </a-button>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="3" :lg="6" :sm="12" class="none-label" style="position: relative; top: 10px;">
<a-form-model-item label="账单回款金额合计">
<div>
共计 <span class="blue-text">{{ ciReceiptTotalVo.totalNum || 0 }}</span>
<!-- <span v-if="ciReceiptTotalVo.invalidNum">,其中:无效 <span style="color: red;">{{ ciReceiptTotalVo.invalidNum || 0 }}</span></span> -->
</div>
</a-form-model-item>
</a-col>
<a-col :xl="3" :lg="10" :sm="12" class="none-label" style="position: relative; top: 10px;">
<a-form-model-item label="回款金额合计">
<div>账单金额合计:<span class="blue-text">{{ ciReceiptTotalVo.actualAmountTotal || 0 }}</span></div>
</a-form-model-item>
</a-col>
<a-col :xl="3" :lg="10" :sm="12" class="none-label" style="position: relative; top: 10px;">
<a-form-model-item label="回款金额合计">
<div>回款金额合计:<span class="blue-text">{{ ciReceiptTotalVo.paidAmountEobTotal || 0 }}</span></div>
</a-form-model-item>
</a-col>
<a-col :xl="3" :lg="10" :sm="12" class="none-label" style="position: relative; top: 10px;">
<a-form-model-item label="个人欠费合计">
<div>个人欠费合计:<span class="red-text">{{ ciReceiptTotalVo.arrearsAmountTotal || 0 }}</span></div>
</a-form-model-item>
</a-col>
</a-row> </a-row>
</a-form-model> </a-form-model>
<!-- table --> <!-- table -->
<a-table <a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false" :rowKey="(record) => {
:columns="columns" record.id + record.backMoneyNo;
:data-source="dataList" }
:scroll="{ x: true }" ">
:pagination="false"
: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 }}
</template> </template>
...@@ -105,7 +117,10 @@ export default { ...@@ -105,7 +117,10 @@ export default {
{ 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,
// customRender: val => <span class="blue-text">{val}</span>
},
{ title: '回款金额', dataIndex: 'paidAmountEob', width: 120 }, { title: '回款金额', dataIndex: 'paidAmountEob', width: 120 },
{ {
title: '个人欠费', title: '个人欠费',
...@@ -133,6 +148,7 @@ export default { ...@@ -133,6 +148,7 @@ export default {
columns, columns,
billRange: null, billRange: null,
returnRange: null, returnRange: null,
ciReceiptTotalVo:{},
form: { form: {
payorCode: '', payorCode: '',
mrnNo: '', mrnNo: '',
...@@ -165,6 +181,18 @@ export default { ...@@ -165,6 +181,18 @@ export default {
filterCode(input, option) { filterCode(input, option) {
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0; return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0;
}, },
// 获取未清余额合计
getBackMoneyReportCount() {
this.$apis.backMoneyReportCount({
...this.pageForm,
...this.pagination
}).then((res) => {
if (res.returnCode == '0000') {
console.log(res.content)
this.ciReceiptTotalVo = res.content
}
});
},
// 获取列表数据 // 获取列表数据
getList() { getList() {
const data = { const data = {
...@@ -174,7 +202,7 @@ export default { ...@@ -174,7 +202,7 @@ 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.getBackMoneyReportCount()
this.pagination.total = content.total || 0; this.pagination.total = content.total || 0;
}); });
}, },
...@@ -228,10 +256,12 @@ export default { ...@@ -228,10 +256,12 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.none-label { .none-label {
text-align: left; text-align: left;
.ant-form-item-label { .ant-form-item-label {
opacity: 0; opacity: 0;
} }
} }
.ant-btn .icon-class { .ant-btn .icon-class {
.mg-r(10); .mg-r(10);
} }
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
</a-col> </a-col>
</template> </template>
<template v-else> <template v-else>
<a-col :lg="9" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="保险公司" prop="payorCode"> <a-form-model-item label="保险公司" prop="payorCode">
<a-select <a-select
v-model="form.payorCode" v-model="form.payorCode"
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="8" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="回款金额(人民币)" prop="backAmountCny"> <a-form-model-item label="回款金额(人民币)" prop="backAmountCny">
<a-input <a-input
class="fixed_width" class="fixed_width"
...@@ -128,7 +128,13 @@ ...@@ -128,7 +128,13 @@
/> />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="7" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="本次账单回款金额合计">
<div class="blue-text">{{ ciReceiptTotalVo.backAmountTotal || 0 }}</div>
</a-form-model-item>
</a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="可核销余额"> <a-form-model-item label="可核销余额">
<a-input class="fixed_width" v-model="residueBackAmount" disabled /> <a-input class="fixed_width" v-model="residueBackAmount" disabled />
</a-form-model-item> </a-form-model-item>
...@@ -138,6 +144,7 @@ ...@@ -138,6 +144,7 @@
</a-form-model> </a-form-model>
<template v-if="activeKey === '1'"> <template v-if="activeKey === '1'">
<div class="bill-content"> <div class="bill-content">
<div class="checked-count">已勾选账单:<span class="blue-text">{{ selectedRowKeys.length || 0 }}</span><span v-if="selectedRows.filter(v=> v.status == 2).length != 0">,其中:无效 <span style="color: red;">{{ selectedRows.filter(v=> v.status == 2).length || 0 }}</span></span></div>
<a-tabs type="card" v-model="activeKey1"> <a-tabs type="card" v-model="activeKey1">
<a-tab-pane v-for="pane in panes1" :key="pane.key" :tab="pane.title"> <a-tab-pane v-for="pane in panes1" :key="pane.key" :tab="pane.title">
<div> <div>
...@@ -319,6 +326,7 @@ export default { ...@@ -319,6 +326,7 @@ export default {
isEdit: false, isEdit: false,
EOBStatusOptions, EOBStatusOptions,
dialogShow: false, dialogShow: false,
ciReceiptTotalVo:{},
form: { form: {
payorCode: undefined, payorCode: undefined,
backDate: null, backDate: null,
...@@ -615,6 +623,18 @@ export default { ...@@ -615,6 +623,18 @@ export default {
}, },
methods: { methods: {
moment, moment,
// 获取未清余额合计
getBackMoneyReportCount(params) {
this.$apis.queryBackReceiptCount({
...params,
...this.pagination
}).then((res) => {
if (res.returnCode == '0000') {
console.log(res.content)
this.ciReceiptTotalVo = res.content
}
});
},
// 计算表格最大高度 // 计算表格最大高度
calcTableHeight() { calcTableHeight() {
const dom = this.$refs.burt; const dom = this.$refs.burt;
...@@ -787,6 +807,14 @@ export default { ...@@ -787,6 +807,14 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.returnCode == '0000') { if (res.returnCode == '0000') {
this.getBackMoneyReportCount({
pageNum: 1,
pageSize: 999,
backMoneyNo: this.backMoneyNo,
...this.searchForm,
receiptEndDate: billDate[1] ? billDate[1] + ' 23:59:59' : undefined,
receiptStartDate: billDate[0] ? billDate[0] + ' 00:00:00' : undefined
})
const list = res.content.list || []; const list = res.content.list || [];
let ids = []; let ids = [];
this.selectedRows = list.map((item) => { this.selectedRows = list.map((item) => {
...@@ -816,6 +844,15 @@ export default { ...@@ -816,6 +844,15 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.returnCode == '0000') { if (res.returnCode == '0000') {
this.getBackMoneyReportCount({
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
backMoneyNo: this.backMoneyNo,
payorCode: this.form.payorCode,
...this.searchForm,
receiptEndDate: billDate[1] ? billDate[1] + ' 23:59:59' : undefined,
receiptStartDate: billDate[0] ? billDate[0] + ' 00:00:00' : undefined
})
let content = res.content || {}; let content = res.content || {};
this.pagination.total = content.total || 0; this.pagination.total = content.total || 0;
this.dataList = this.dataList =
...@@ -1022,6 +1059,7 @@ export default { ...@@ -1022,6 +1059,7 @@ export default {
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
padding-right: 12px; padding-right: 12px;
position: relative;
::v-deep { ::v-deep {
.ant-form-item { .ant-form-item {
margin-right: 0; margin-right: 0;
...@@ -1066,4 +1104,9 @@ export default { ...@@ -1066,4 +1104,9 @@ export default {
height: calc(100vh - 400px); height: calc(100vh - 400px);
} }
} }
.checked-count{
position: absolute;
top: 14px;
left: 210px;
}
</style> </style>
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