diff --git a/sub-operation-service/src/views/shoppingCarts/shoppingCarts.vue b/sub-operation-service/src/views/shoppingCarts/shoppingCarts.vue index 660c460..6fda116 100644 --- a/sub-operation-service/src/views/shoppingCarts/shoppingCarts.vue +++ b/sub-operation-service/src/views/shoppingCarts/shoppingCarts.vue @@ -55,7 +55,7 @@
-
{{ g.price }} / {{ g.unit }}
+
{{ g.netWeightInfoVO.goodSpecs }}
{{ (g.price * g.quantity).toFixed(2) }}
diff --git a/sub-operation-service/src/views/userCenter/userOrders.vue b/sub-operation-service/src/views/userCenter/userOrders.vue index dc338e6..d315e21 100644 --- a/sub-operation-service/src/views/userCenter/userOrders.vue +++ b/sub-operation-service/src/views/userCenter/userOrders.vue @@ -56,7 +56,7 @@
-
¥{{ g.unitPrice }} / {{ g.unit }} * {{ g.quantity }}
+
{{ g.netWeightInfoVO ? g.netWeightInfoVO.goodSpecs : '' }}
{{ (g.unitPrice * g.quantity).toFixed(2) }}
@@ -195,6 +195,7 @@ let bottomList = reactive([ onMounted(() => { page.orderStatus = 'all'; store.getData(page).then((res) => { + console.log(typeof res.records[0].orderItemInfos[0].netWeightInfoVO.goodSpecs); total.value = res.total; if (res.records.length > 0) { show.value = true;