完善销售单
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div class="title">商品</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 prop="goodsSpuName" label="商品名称" align="center" min-width="200" />
|
||||
<el-table-column prop="goodsSkuOwnSpec" label="规格" align="center" min-width="200" />
|
||||
@@ -255,7 +255,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]))
|
||||
@@ -383,4 +383,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>
|
||||
|
||||
Reference in New Issue
Block a user