From 8834e96877a82c12962a5d223367e279c5fd620b Mon Sep 17 00:00:00 2001 From: From-wh Date: Fri, 16 Jun 2023 16:51:41 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E5=AE=A2=E6=9C=8D=E5=BA=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/pages/kefu/appChat/index.vue | 5 ++++- template/admin/src/pages/kefu/pc/index.vue | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/template/admin/src/pages/kefu/appChat/index.vue b/template/admin/src/pages/kefu/appChat/index.vue index bfd19b961..8a2de25fb 100644 --- a/template/admin/src/pages/kefu/appChat/index.vue +++ b/template/admin/src/pages/kefu/appChat/index.vue @@ -49,7 +49,10 @@
库存:{{ item.productInfo.stock }} - 销量:{{ item.productInfo.sales }} + 销量:{{ + parseInt(item.productInfo.sales) + + parseInt(item.productInfo.ficti ? item.productInfo.ficti : 0) + }}
¥{{ item.productInfo.price }}
diff --git a/template/admin/src/pages/kefu/pc/index.vue b/template/admin/src/pages/kefu/pc/index.vue index 3bff37e54..420e99f54 100644 --- a/template/admin/src/pages/kefu/pc/index.vue +++ b/template/admin/src/pages/kefu/pc/index.vue @@ -52,10 +52,7 @@ {{ item.productInfo.store_name }}
- 库存:{{ item.productInfo.stock }} 销量:{{ - parseInt(item.productInfo.sales) + - parseInt(item.productInfo.ficti ? item.productInfo.ficti : 0) - }} + 库存:{{ item.productInfo.stock }} 销量:{{ item.productInfo.sales }}
¥ {{ item.productInfo.price }}