bug修复

This commit is contained in:
hongchao 2025-03-21 09:16:45 +08:00
parent 69a5603954
commit 4c97737dc6
2 changed files with 16 additions and 3 deletions

View File

@ -14,6 +14,8 @@
>减免明细导出</el-button> >减免明细导出</el-button>
<el-button type="warning" size="mini" @click="handleExportAll" <el-button type="warning" size="mini" @click="handleExportAll"
>全部明细导出</el-button> >全部明细导出</el-button>
<el-button type="warning" size="mini" @click="handleExportEach"
>各结算明细导出</el-button>
<el-button type="success" size="mini" @click="handleAdd" <el-button type="success" size="mini" @click="handleAdd"
>提交</el-button> >提交</el-button>
</el-col> </el-col>

View File

@ -160,10 +160,18 @@
<div>{{ scope.row.maTypeName }}-{{ scope.row.typeName }}</div> <div>{{ scope.row.maTypeName }}-{{ scope.row.typeName }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="配件名称 * 数量 / 单价" align="center" prop="specificationType" > <el-table-column align="center" prop="specificationType" >
<template slot-scope="scope"> <template #header>
<div>{{ scope.row.partName + " " }}*{{ " "+scope.row.partNum + " " }}/{{" ¥"+" "}}{{ scope.row.partPrice }}</div> <span>配件名称 * 数量 / 单价</span>
<span style="margin-left: 20px;">总价</span>
</template> </template>
<template slot-scope="scope">
<div class="part-info">
{{ scope.row.partName + " " }}*{{ " "+scope.row.partNum + (scope.row.partPrice!== 0? " / ¥ " + scope.row.partPrice : " / 无") }}
<span class="total-price">{{ "¥"+" "+scope.row.partCost }}</span>
</div>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="tabelAll"> <div class="tabelAll">
@ -640,4 +648,7 @@ export default {
.tabelAll .column:last-child { .tabelAll .column:last-child {
border-right: none; border-right: none;
} }
.part-info .total-price {
margin-left: 20px; /* 调整间距大小 */
}
</style> </style>