页面优化

This commit is contained in:
BianLzhaoMin 2024-07-31 13:05:54 +08:00
parent ab25097299
commit 6c169348cf
3 changed files with 12 additions and 3 deletions

View File

@ -34,7 +34,7 @@
<div style="color: rgb(217, 0, 27); font-weight: 700; padding: 20px 0"> <div style="color: rgb(217, 0, 27); font-weight: 700; padding: 20px 0">
结算费用合计¥{{ costAll }}租赁费用¥{{ leaseCost }}维修费用¥{{ 结算费用合计¥{{ costAll }}租赁费用¥{{ leaseCost }}维修费用¥{{
repairCost repairCost
}}报废费用¥{{ scrapCost }}丢失费用{{ loseCost }} }}报废费用¥{{ scrapCost }}丢失费用{{ loseCost }}
</div> </div>
<div> <div>

View File

@ -82,7 +82,12 @@
:data="agreementList" :data="agreementList"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column type="selection" width="55" align="center" /> <el-table-column
type="selection"
width="55"
align="center"
:selectable="(row) => row.sltStatus == 1"
/>
<el-table-column <el-table-column
label="序号" label="序号"
align="center" align="center"
@ -342,6 +347,10 @@ export default {
}) })
}, },
handleApplyList() { handleApplyList() {
if (this.ids.length < 1) {
this.$message.error('请候选需要结算的数据!')
return
}
if (this.ids.length > 0) { if (this.ids.length > 0) {
let arr = this.ids let arr = this.ids
this.$tab.closeOpenPage({ this.$tab.closeOpenPage({

View File

@ -40,7 +40,7 @@
item.loseCost item.loseCost
}},增加项费用¥{{ item.addCost }}减免费用¥{{ }},增加项费用¥{{ item.addCost }}减免费用¥{{
item.subCost item.subCost
}}增减原因{{ item.remark }} }}增减原因{{ item.remark }}
</div> </div>
</div> </div>