improve: 客服库存

This commit is contained in:
From-wh 2023-06-16 16:51:41 +08:00
parent 6a5b7ba28f
commit 8834e96877
2 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,10 @@
</div>
<div class="attr">
<span>库存:{{ item.productInfo.stock }}</span>
<span>销量:{{ item.productInfo.sales }}</span>
<span>销量:{{
parseInt(item.productInfo.sales) +
parseInt(item.productInfo.ficti ? item.productInfo.ficti : 0)
}}</span>
</div>
<div class="group">
<div class="money">¥{{ item.productInfo.price }}</div>

View File

@ -52,10 +52,7 @@
{{ item.productInfo.store_name }}
</div>
<div class="sku">
库存:{{ item.productInfo.stock }} 销量:{{
parseInt(item.productInfo.sales) +
parseInt(item.productInfo.ficti ? item.productInfo.ficti : 0)
}}
库存:{{ item.productInfo.stock }} 销量:{{ item.productInfo.sales }}
</div>
<div class="price-box">
<div class="num">¥ {{ item.productInfo.price }}</div>