|
@@ -78,7 +78,7 @@
|
|
|
</template>
|
|
|
<!-- 价格 -->
|
|
|
<template slot="productPrice" slot-scope="text, record">
|
|
|
- {{ text }} <span title="原价" v-if="promoProductClz == 'GIFT' || promoProductClz == 'DISCOUNT'">({{ record.origPrice }})</span>
|
|
|
+ {{ text||text==0 ? text : '--' }} <span title="原价" v-if="promoProductClz == 'GIFT' || promoProductClz == 'DISCOUNT'">({{ record.origPrice||record.origPrice==0 ? record.origPrice : '--' }})</span>
|
|
|
</template>
|
|
|
<!-- 产品名称 -->
|
|
|
<template slot="productName" slot-scope="text, record">
|
|
@@ -100,9 +100,7 @@
|
|
|
class="button-info"
|
|
|
:loading="newLoading"
|
|
|
@click="handleAdd(record)"
|
|
|
- v-if="record.productPrice"
|
|
|
id="productInfoList-edit-btn">添加</a-button>
|
|
|
- <span v-else>--</span>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</div>
|