代码优化

This commit is contained in:
BianLzhaoMin 2025-02-21 03:21:05 +08:00
parent 1e26a55d29
commit 7f231a8aac
1 changed files with 268 additions and 291 deletions

View File

@ -22,11 +22,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="减免原因"> <el-form-item label="减免原因">
<el-input <el-input type="textarea" v-model="detailsInfo.remark" :autosize="{ minRows: 2, maxRows: 4 }" />
type="textarea"
v-model="detailsInfo.remark"
:autosize="{ minRows: 2, maxRows: 4 }"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -40,31 +36,11 @@
<el-table-column prop="reduceNum" label="领料数量" align="center" show-overflow-tooltip /> <el-table-column prop="reduceNum" label="领料数量" align="center" show-overflow-tooltip />
<el-table-column prop="startTime" label="领料日期" align="center" show-overflow-tooltip /> <el-table-column prop="startTime" label="领料日期" align="center" show-overflow-tooltip />
<el-table-column prop="endTime" label="退料日期" align="center" show-overflow-tooltip /> <el-table-column prop="endTime" label="退料日期" align="center" show-overflow-tooltip />
<el-table-column <el-table-column prop="reduceStartTime" label="减免开始时间" align="center" show-overflow-tooltip />
prop="reduceStartTime" <el-table-column prop="reduceEndTime" label="减免结束时间" align="center" show-overflow-tooltip />
label="减免开始时间" <el-table-column prop="leasePrice" label="租赁单价(元/天)" align="center" show-overflow-tooltip />
align="center"
show-overflow-tooltip
/>
<el-table-column
prop="reduceEndTime"
label="减免结束时间"
align="center"
show-overflow-tooltip
/>
<el-table-column
prop="leasePrice"
label="租赁单价(元/天)"
align="center"
show-overflow-tooltip
/>
<el-table-column prop="reduceDays" label="减免天数" align="center" show-overflow-tooltip /> <el-table-column prop="reduceDays" label="减免天数" align="center" show-overflow-tooltip />
<el-table-column <el-table-column prop="reduceLeaseMoney" label="减免费用(元)" align="center" show-overflow-tooltip />
prop="reduceLeaseMoney"
label="减免费用(元)"
align="center"
show-overflow-tooltip
/>
</el-table> </el-table>
<div class="total-amount"> <div class="total-amount">
<span>合计:</span> <span>合计:</span>
@ -171,6 +147,7 @@ export default {
if (this.$route.query) { if (this.$route.query) {
const { id, taskId, type } = this.$route.query const { id, taskId, type } = this.$route.query
this.pagesType = type this.pagesType = type
this.auditingParams.taskId = taskId
this.getLeaseTaskDetailFun(id, taskId) this.getLeaseTaskDetailFun(id, taskId)
} }