Commit 77c7d77a authored by 王安伟's avatar 王安伟

Merge branch 'func_eccs_1939' into test

parents 022aeb5c 378f5eee
...@@ -15,4 +15,5 @@ export default { ...@@ -15,4 +15,5 @@ export default {
receiptSettlement:"/backstage/auth/receiptSettlement",//账单结算 receiptSettlement:"/backstage/auth/receiptSettlement",//账单结算
sendReceipListExport:"/backstage/auth/sendReceipListExport",//寄送关联账单导出 sendReceipListExport:"/backstage/auth/sendReceipListExport",//寄送关联账单导出
receiptPrint:"/backstage/auth/receiptPrint",//账单打印 receiptPrint:"/backstage/auth/receiptPrint",//账单打印
rceiptListReport: '/backstage/auth/rceiptListReport', // 账单导出
}; };
...@@ -61,7 +61,10 @@ const SENDRECEIPTLISTEXPORT= function (data) { ...@@ -61,7 +61,10 @@ const SENDRECEIPTLISTEXPORT= function (data) {
const RECEIPTPRINT= function (data) { const RECEIPTPRINT= function (data) {
return req.post(apis.receiptPrint, data); return req.post(apis.receiptPrint, data);
}; };
// 账单导出报表
const RceiptListReport = (data) => {
return req.post(apis.rceiptListReport, data, {responseType: 'blob'});
};
// 对象数组 // 对象数组
export default { export default {
...@@ -80,4 +83,5 @@ export default { ...@@ -80,4 +83,5 @@ export default {
RECEIPTSETTLEMENT, RECEIPTSETTLEMENT,
SENDRECEIPTLISTEXPORT, SENDRECEIPTLISTEXPORT,
RECEIPTPRINT, RECEIPTPRINT,
RceiptListReport,
}; };
...@@ -102,6 +102,9 @@ ...@@ -102,6 +102,9 @@
<a-button class="mar-left10" type="primary" @click="handlerSearch"> <a-button class="mar-left10" type="primary" @click="handlerSearch">
<Icon name="ssisearch_active" :size="14" />查询 <Icon name="ssisearch_active" :size="14" />查询
</a-button> </a-button>
<a-button class="mar-left10" type="primary" @click="exportExcel">
<Icon name="ssidaochu" :size="14" />导出
</a-button>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -138,6 +141,7 @@ ...@@ -138,6 +141,7 @@
import BurtPagination from "@/components/CUSTOMER/pagation"; import BurtPagination from "@/components/CUSTOMER/pagation";
import { mapState } from "vuex" import { mapState } from "vuex"
import moment from "moment"; import moment from "moment";
import { exportFile } from '@/utils/index';
export default { export default {
data() { data() {
const columns = [ const columns = [
...@@ -295,6 +299,15 @@ export default { ...@@ -295,6 +299,15 @@ export default {
addNewCharge() { addNewCharge() {
// this.$router.push("/customer/edit"); // this.$router.push("/customer/edit");
}, },
//导出报表
exportExcel(){
let filter = {
...this.form,
}
this.$apis.RceiptListReport(filter).then(res => {
exportFile(res, '账单报表.xls');
})
}
}, },
}; };
</script> </script>
......
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
</a-col> </a-col>
<a-col :lg="12" :xs="24"> <a-col :lg="12" :xs="24">
<a-form-model-item label="未赔付金额" prop="refuseAmountEob"> <a-form-model-item label="未赔付金额" prop="refuseAmountEob">
<a-input v-model.trim="editFormObj.refuseAmountEob" placeholder="未赔付金额" type="number" disabled /> <a-input v-model.trim="editFormObj.refuseAmountEob" placeholder="未赔付金额" type="number" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<!-- eccs-1944 --> <!-- eccs-1944 -->
...@@ -336,7 +336,6 @@ export default { ...@@ -336,7 +336,6 @@ export default {
claimsStatus: record.claimsStatus || "", claimsStatus: record.claimsStatus || "",
paidAmountEob: record.paidAmountEob || "", paidAmountEob: record.paidAmountEob || "",
}; };
this.moneyChange();
}) })
}, },
//编辑保存 //编辑保存
......
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