Commit e1dd1f68 authored by 朱彩云's avatar 朱彩云

feat(回款管理): 账单列表增加是否已回款查询条件

ISSUES CLOSED: y
parent ecd603e2
This source diff could not be displayed because it is too large. You can view the blob instead.
import Vue from "vue"; import Vue from 'vue'
import { import {
Row, Row,
Col, Col,
...@@ -12,6 +12,7 @@ import { ...@@ -12,6 +12,7 @@ import {
DatePicker, DatePicker,
Input, Input,
InputNumber, InputNumber,
Checkbox,
Radio, Radio,
upload, upload,
Button, Button,
...@@ -23,9 +24,9 @@ import { ...@@ -23,9 +24,9 @@ import {
Collapse, Collapse,
Tabs, Tabs,
Tooltip, Tooltip,
Popover, Popover,
Empty Empty
} from "ant-design-vue"; } from 'ant-design-vue'
export default () => { export default () => {
let els = [ let els = [
...@@ -41,6 +42,7 @@ export default () => { ...@@ -41,6 +42,7 @@ export default () => {
DatePicker, DatePicker,
Input, Input,
InputNumber, InputNumber,
Checkbox,
Radio, Radio,
upload, upload,
Button, Button,
...@@ -52,15 +54,15 @@ export default () => { ...@@ -52,15 +54,15 @@ export default () => {
Collapse, Collapse,
Tabs, Tabs,
Tooltip, Tooltip,
Popover, Popover,
Empty Empty
]; ]
// 注册 // 注册
els.forEach((item) => { els.forEach((item) => {
Vue.use(item); Vue.use(item)
}); })
// 全局提示 // 全局提示
Vue.prototype.$msg = notification; Vue.prototype.$msg = notification
Vue.prototype.$message = message; Vue.prototype.$message = message
Vue.prototype.$modal = Modal; Vue.prototype.$modal = Modal
}; }
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
:model="searchForm" :model="searchForm"
> >
<a-row> <a-row>
<a-col :lg="4" :sm="12"> <a-col :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="YYYY-MM-DD"
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
/> />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="4" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="病历号"> <a-form-model-item label="病历号">
<a-input <a-input
v-model="searchForm.mrnNo" v-model="searchForm.mrnNo"
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
/> />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="4" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="客户名称"> <a-form-model-item label="客户名称">
<a-input <a-input
v-model="searchForm.patientName" v-model="searchForm.patientName"
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
/> />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="4" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item <a-form-model-item
label="状态" label="状态"
:labelCol="{ span: 7 }" :labelCol="{ span: 7 }"
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="4" :sm="12"> <a-col :lg="6" :sm="12">
<a-form-model-item label="账单编号"> <a-form-model-item label="账单编号">
<a-input <a-input
v-model="searchForm.receiptNo" v-model="searchForm.receiptNo"
...@@ -283,6 +283,15 @@ ...@@ -283,6 +283,15 @@
/> />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :lg="6" :sm="12">
<a-form-model-item label="" class="mar_l40">
<a-checkbox
:checked="searchForm.hasBack == 'Y'"
@change="($event) => changeHasBack($event)"
/>
<span class="lable">是否已回款</span>
</a-form-model-item>
</a-col>
<a-col class="flex-col" :lg="4" :sm="12"> <a-col class="flex-col" :lg="4" :sm="12">
<div> <div>
<a-button type="primary" @click="searchData"> <a-button type="primary" @click="searchData">
...@@ -463,7 +472,8 @@ export default { ...@@ -463,7 +472,8 @@ export default {
searchForm: { searchForm: {
billDate: [], billDate: [],
mrnNo: '', // 病历号 mrnNo: '', // 病历号
patientName: '' // 客户名字 patientName: '', // 客户名字
hasBack: 'N'
}, },
savedStatus: false, //是否已保存 savedStatus: false, //是否已保存
relatedList: [], relatedList: [],
...@@ -592,24 +602,6 @@ export default { ...@@ -592,24 +602,6 @@ export default {
const base = JSON.parse(JSON.stringify(this.columns)) const base = JSON.parse(JSON.stringify(this.columns))
const changeAmount = this.changeAmount const changeAmount = this.changeAmount
const delRecord = this.delRecord const delRecord = this.delRecord
// base[1] = {
// title: '账单状态',
// dataIndex: 'status',
// ellipsis: true,
// width: 100,
// fixed: 'left',
// customRender: (val, row) => {
// return (
// <span
// style={{
// color: row.staus == 2 ? 'red' : ''
// }}
// >
// {row.staus == 1 ? '有效' : row.staus == 2 ? '无效' : ''}
// </span>
// )
// }
// }
base[7] = { base[7] = {
title: '回款金额', title: '回款金额',
dataIndex: 'backAmount', dataIndex: 'backAmount',
...@@ -786,6 +778,11 @@ export default { ...@@ -786,6 +778,11 @@ export default {
}, },
methods: { methods: {
moment, moment,
// 切换是否已回款
changeHasBack(e) {
let val = e.target.checked
this.searchForm.hasBack = val ? 'Y' : 'N'
},
// 获取未清余额合计 // 获取未清余额合计
getBackMoneyReportCount(params) { getBackMoneyReportCount(params) {
this.$apis this.$apis
...@@ -1217,6 +1214,14 @@ export default { ...@@ -1217,6 +1214,14 @@ export default {
opacity: 0; opacity: 0;
} }
} }
.lable {
margin-left: 10px;
font-weight: bold;
color: rgba(0, 0, 0, 0.85);
}
.mar_l40 {
margin-left: 60px;
}
.all-list_box { .all-list_box {
height: calc(100vh - 400px); height: calc(100vh - 400px);
overflow-y: auto; overflow-y: auto;
......
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