|
@@ -122,8 +122,8 @@
|
|
|
{{ row.minPackingQuantity }} {{ row.measureUnit }} /{{ row.packingUnit }}
|
|
{{ row.minPackingQuantity }} {{ row.measureUnit }} /{{ row.packingUnit }}
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 单价列 -->
|
|
<!-- 单价列 -->
|
|
|
- <template v-if="isPrice == 1" v-slot:price="{ row }">
|
|
|
|
|
- {{ row.price ? row.price : ' ' + '元' }}/{{ row.measureUnit }}
|
|
|
|
|
|
|
+ <template v-if="isPrice == 1" v-slot:singlePrice="{ row }">
|
|
|
|
|
+ {{ row.singlePrice ? row.singlePrice : ' ' + '元' }}/{{ row.measureUnit }}
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 金额列 -->
|
|
<!-- 金额列 -->
|
|
|
<template v-if="isPrice == 1" v-slot:totalMoney="{ row }">
|
|
<template v-if="isPrice == 1" v-slot:totalMoney="{ row }">
|
|
@@ -633,9 +633,9 @@
|
|
|
if (this.isPrice == 1) {
|
|
if (this.isPrice == 1) {
|
|
|
columns.push({
|
|
columns.push({
|
|
|
label: '单价',
|
|
label: '单价',
|
|
|
- prop: 'price',
|
|
|
|
|
|
|
+ prop: 'singlePrice',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- slot: 'price'
|
|
|
|
|
|
|
+ slot: 'singlePrice'
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|