From 517a364dd7236148433bbdcbbf949d172f2b6e21 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 01 十二月 2026 09:35:24 +0800
Subject: [PATCH] 收款时间
---
src/views/project/unitCost/organfee/index.vue | 66 ++++++++++++++++++++++++++-------
1 files changed, 52 insertions(+), 14 deletions(-)
diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 95ec9de..f06c05a 100644
--- a/src/views/project/unitCost/organfee/index.vue
+++ b/src/views/project/unitCost/organfee/index.vue
@@ -142,13 +142,13 @@
>
<el-table-column type="index" label="搴忓彿" width="55" align="center" />
<el-table-column
- prop="donatetime"
+ prop="donationtime"
label="鎹愮尞鏃ユ湡"
width="120"
align="center"
>
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.donatetime, "{y}-{m}-{d}") }}</span>
+ <span>{{ parseTime(scope.row.donationtime, "{y}-{m}-{d}") }}</span>
</template>
</el-table-column>
@@ -267,6 +267,15 @@
>
<el-form ref="editForm" :model="editForm" label-width="110px">
<el-row :gutter="20">
+ <el-col :span="12">
+ <el-form-item label="鎹愮尞鑰�" prop="donorname">
+ <el-input
+ v-model="editForm.donorname"
+ maxlength="50"
+ placeholder="璇疯緭鍏ユ崘鐚��"
+ />
+ </el-form-item>
+ </el-col>
<el-col :span="12">
<el-form-item label="鍥炴鍖婚櫌" prop="hospitalno">
<el-select
@@ -338,11 +347,22 @@
</el-form-item>
</el-col>
<el-col :span="12">
- <el-form-item label="鏀舵鏃ユ湡" prop="organtime">
+ <el-form-item label="鎹愮尞鏃ユ湡" prop="donationtime">
<el-date-picker
- v-model="editForm.organtime"
- type="date"
- value-format="yyyy-MM-dd"
+ v-model="editForm.donationtime"
+ type="datetime"
+ value-format="yyyy-MM-dd HH:mm:ss"
+ placeholder="璇烽�夋嫨鎹愮尞鏃ユ湡"
+ style="width: 100%"
+ />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="鏀舵鏃ユ湡" prop="amounttime">
+ <el-date-picker
+ v-model="editForm.amounttime"
+ type="datetime"
+ value-format="yyyy-MM-dd HH:mm:ss"
placeholder="璇烽�夋嫨鏀舵鏃ユ湡"
style="width: 100%"
/>
@@ -482,11 +502,22 @@
</el-form-item>
</el-col>
<el-col :span="12">
- <el-form-item label="鏀舵鏃ユ湡" prop="organtime">
+ <el-form-item label="鎹愮尞鏃ユ湡" prop="donationtime">
<el-date-picker
- v-model="addForm.organtime"
- type="date"
- value-format="yyyy-MM-dd"
+ v-model="editForm.donationtime"
+ type="datetime"
+ value-format="yyyy-MM-dd HH:mm:ss"
+ placeholder="璇烽�夋嫨鎹愮尞鏃ユ湡"
+ style="width: 100%"
+ />
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="鏀舵鏃ユ湡" prop="amounttime">
+ <el-date-picker
+ v-model="addForm.amounttime"
+ type="datetime"
+ value-format="yyyy-MM-dd HH:mm:ss"
placeholder="璇烽�夋嫨鏀舵鏃ユ湡"
style="width: 100%"
/>
@@ -565,7 +596,8 @@
organState: null,
organcharge: null,
amount: null,
- organtime: null,
+ donationtime: null,
+ amounttime: null,
organchargedesc: null
};
}
@@ -614,6 +646,7 @@
id: null,
hospitalno: null,
hospitalname: null,
+ donorname: null,
organname: null,
caseno: null,
name: null,
@@ -621,7 +654,9 @@
amount: null,
organState: null,
organchargedesc: null,
- organtime: null
+ donationtime: null,
+ amounttime: null,
+
},
// 鏂板寮圭獥
addOpen: false,
@@ -828,7 +863,8 @@
: row.organcharge,
amount:
row.amount === null || row.amount === undefined ? null : row.amount,
- organtime: row.organtime || null,
+ amounttime: row.amounttime || null,
+ donationtime: row.donationtime || null,
organchargedesc: row.organchargedesc || null
};
this.addOpen = true;
@@ -891,7 +927,9 @@
? null
: String(row.organState),
organchargedesc: row.organchargedesc || "",
- organtime: row.organtime
+ amounttime: row.amounttime,
+ donationtime: row.donationtime,
+ donorname: row.donorname
};
this.editOpen = true;
},
--
Gitblit v1.9.3