|
@@ -32,24 +32,37 @@
|
|
|
prop="productName"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ min-width="140"
|
|
|
+ :show-tooltip-when-overflow="true"
|
|
|
label="产品名称">
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="productSpecifications"
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ min-width="140"
|
|
|
+ :show-tooltip-when-overflow="true"
|
|
|
+ label="规格">
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
prop="cnt"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ min-width="100"
|
|
|
label="数量">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="price"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ min-width="100"
|
|
|
label="含税单价">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="amount"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ min-width="100"
|
|
|
label="含税总价">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ (scope.row.cnt*scope.row.price).toFixed(2) }}</span>
|
|
@@ -59,6 +72,7 @@
|
|
|
prop="rate"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ min-width="100"
|
|
|
label="税率">
|
|
|
<template slot-scope="scope">
|
|
|
<span>
|
|
@@ -70,6 +84,8 @@
|
|
|
prop="notes"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ width="160"
|
|
|
+ :show-tooltip-when-overflow="true"
|
|
|
label="备注">
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -129,12 +145,7 @@
|
|
|
if (data.data.cusRCommProductVOS) {
|
|
|
data.data.cusRCommProductVOS.forEach((item) => {
|
|
|
this.cusRCommProductVOS.push({
|
|
|
- cnt: item.cnt,
|
|
|
- price: item.price,
|
|
|
- productId: item.productId,
|
|
|
- rate: item.rate,
|
|
|
- productName: item.productName,
|
|
|
- notes: item.notes
|
|
|
+ ...item
|
|
|
})
|
|
|
})
|
|
|
}
|