From d3f66f66a0fa684bdc80bca582adb726b102966f Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期三, 04 十一月 2026 09:55:41 +0800
Subject: [PATCH] 器管回款列表增加无回款医院的过滤,修改增加应收款、实收款修改
---
src/views/project/unitCost/organfee/index.vue | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 54 insertions(+), 3 deletions(-)
diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 53ee03d..1360086 100644
--- a/src/views/project/unitCost/organfee/index.vue
+++ b/src/views/project/unitCost/organfee/index.vue
@@ -10,19 +10,22 @@
>
<el-form-item label="鍥炴鍖婚櫌" prop="hospitalno">
<el-select
- v-model="queryParams.hospitalno"
+ v-model="hospitalFilter"
placeholder="璇烽�夋嫨鍥炴鍖婚櫌"
clearable
filterable
size="small"
style="width: 200px"
+ @change="handleHospitalFilterChange"
>
+ <el-option label="鏈~鍐欏洖娆惧尰闄�" value="__EMPTY__" />
<el-option
v-for="item in organizationList"
:key="item.organizationid"
:label="item.organizationname"
- :value="item.organizationid"
+ :value="String(item.organizationid)"
/>
+
</el-select>
</el-form-item>
<el-form-item label="鍥炴鐘舵��" prop="payStatus">
@@ -303,6 +306,30 @@
</el-form-item>
</el-col>
<el-col :span="12">
+ <el-form-item label="搴旀敹閲戦" prop="organcharge">
+ <el-input-number
+ v-model="editForm.organcharge"
+ :min="0"
+ :precision="2"
+ :controls="false"
+ placeholder="璇疯緭鍏ュ簲鏀堕噾棰�"
+ style="width: 100%"
+ />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="瀹炴敹閲戦" prop="amount">
+ <el-input-number
+ v-model="editForm.amount"
+ :min="0"
+ :precision="2"
+ :controls="false"
+ placeholder="璇疯緭鍏ュ疄鏀堕噾棰�"
+ style="width: 100%"
+ />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
<el-form-item label="鍒╃敤鐘舵��" prop="organState">
<el-select
v-model="editForm.organState"
@@ -563,6 +590,8 @@
payOrganName: null,
caseno: null,
name: null,
+ organcharge: null,
+ amount: null,
organState: null,
organchargedesc: null
},
@@ -582,10 +611,13 @@
]
},
// 鏌ヨ鍙傛暟
+ // 鍥炴鍖婚櫌绛涢�夛紙__EMPTY__ 琛ㄧず鏈~鍐欙級
+ hospitalFilter: null,
queryParams: {
pageNum: 1,
pageSize: 10,
hospitalno: null,
+ hospitalnoIsNull: false,
donorname: null,
organState: null,
payStatus: null,
@@ -773,7 +805,7 @@
});
});
},
- /** 鎵撳紑淇敼寮圭獥锛堜粯娆惧尰闄€�佷粯娆惧櫒瀹樺悕绉般�佸櫒瀹樼姸鎬併�佸娉級 */
+ /** 鎵撳紑淇敼寮圭獥锛堝洖娆惧尰闄€�佷粯娆惧櫒瀹樺悕绉般�侀噾棰濄�佸埄鐢ㄧ姸鎬併�佸娉級 */
handleEdit(row) {
this.editForm = {
id: row.id,
@@ -785,6 +817,12 @@
payOrganName: row.payOrganName || "",
caseno: row.caseno || "",
name: row.name || "",
+ organcharge:
+ row.organcharge === null || row.organcharge === undefined
+ ? null
+ : row.organcharge,
+ amount:
+ row.amount === null || row.amount === undefined ? null : row.amount,
organState:
row.organState === null || row.organState === undefined
? null
@@ -828,6 +866,8 @@
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
this.donatetimeRange = [];
+ this.hospitalFilter = null;
+ this.queryParams.hospitalnoIsNull = false;
this.queryParams.hospitalno = null;
this.queryParams.donorname = null;
this.queryParams.organState = null;
@@ -837,6 +877,17 @@
this.queryParams.pageNum = 1;
this.getList();
},
+ /** 鍥炴鍖婚櫌绛涢�夛細__EMPTY__ 琛ㄧず鍙煡鏈~鍐欏洖娆惧尰闄㈢殑鏁版嵁 */
+ handleHospitalFilterChange(value) {
+ if (value === "__EMPTY__") {
+ this.queryParams.hospitalno = null;
+ this.queryParams.hospitalnoIsNull = true;
+ } else {
+ this.queryParams.hospitalno = value;
+ this.queryParams.hospitalnoIsNull = false;
+ }
+ this.queryParams.pageNum = 1;
+ },
/** 鎶ュ憡鏃ユ湡鍖洪棿 -> 鏌ヨ鍙傛暟锛屾湭閫夋嫨鏃朵紶 null锛岄伩鍏嶅悗绔嫾鍑� donatetime >= '' */
handleDonatetimeChange(val) {
if (val && val.length === 2) {
--
Gitblit v1.9.3