This commit is contained in:
qsh
2024-09-04 17:36:06 +08:00
parent a72db9307d
commit 0673721ad7
4 changed files with 150 additions and 17 deletions

View File

@@ -218,9 +218,24 @@
<el-table-column
prop="applyTime"
label="申请时间"
min-width="120px"
min-width="140px"
:formatter="dateFormatter"
/>
>
<template #default="{ row, col }">
<el-date-picker
v-if="row.edit"
v-model="row.applyTime"
type="date"
size="small"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
style="width: 110px"
:clearable="false"
placeholder="选择日期"
/>
<div v-else>{{ dateFormatter(row, col, row.applyTime) }}</div>
</template>
</el-table-column>
<el-table-column prop="checkUser" label="审核人" min-width="90" />
<el-table-column
prop="checkTime"
@@ -438,7 +453,8 @@ async function handleUpdate(row) {
money: row.money,
companyProfit: row.companyProfit,
personProfit: row.personProfit,
isPayoff: row.isPayoffValue
isPayoff: row.isPayoffValue,
applyTime: row.applyTime
})
.then(() => {
message.success('修改成功')