From-wh пре 2 година
родитељ
комит
8834e96877

+ 4 - 1
template/admin/src/pages/kefu/appChat/index.vue

@@ -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>

+ 1 - 4
template/admin/src/pages/kefu/pc/index.vue

@@ -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>