|
|
@ -144,7 +144,7 @@ |
|
|
|
<el-button style="margin-left: 10px" type="primary" class="btntopblueline" size="small" @click="chooseCommodity">选择商品</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table :key="commodityKey" :data="formobj.goodsList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries"> |
|
|
|
<el-table class="table" :key="commodityKey" :data="formobj.goodsList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries"> |
|
|
|
<el-table-column fixed width="60" label="序号" type="index" :index="index + 1" align="center" /> |
|
|
|
<el-table-column label="操作" align="center" width="80"> |
|
|
|
<template slot-scope="scope"> |
|
|
@ -795,7 +795,7 @@ export default { |
|
|
|
const sums = [] |
|
|
|
columns.forEach((column, index) => { |
|
|
|
if (index === 0) { |
|
|
|
sums[index] = '合计' |
|
|
|
sums[index] = '合计:' |
|
|
|
return |
|
|
|
} |
|
|
|
const values = data.map(item => Number(item[column.property])) |
|
|
@ -1141,4 +1141,10 @@ export default { |
|
|
|
.rowStyle .el-col .span-sty { |
|
|
|
border-right: 0; |
|
|
|
} |
|
|
|
/deep/ .table .el-table__footer-wrapper .el-table__footer tr td { |
|
|
|
border: 0 !important; |
|
|
|
} |
|
|
|
/deep/ .table .el-table__fixed-footer-wrapper .el-table__footer tr td { |
|
|
|
border: 0 !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|