diff --git a/src/views/device/add.vue b/src/views/device/add.vue index 7b3db09..1bb65b2 100644 --- a/src/views/device/add.vue +++ b/src/views/device/add.vue @@ -182,8 +182,8 @@ const printData = reactive({ totalAmount: "10", }, ], - amount: "30.00", - originAmount: '30.00', + amount: "10.00", + originAmount: '10.00', discountAmount: "0.00", discount: 0, remark: "给我多放点辣椒,谢谢老板", diff --git a/src/views/home/components/cartItem.vue b/src/views/home/components/cartItem.vue index f8af408..08e4d06 100644 --- a/src/views/home/components/cartItem.vue +++ b/src/views/home/components/cartItem.vue @@ -27,7 +27,8 @@
- ¥{{ formatDecimal(goodsStore.showVipPrice ? +props.item.memberPrice || +props.item.lowPrice : +props.item.lowPrice, + ¥{{ formatDecimal(goodsStore.showVipPrice ? +props.item.memberPrice || +props.item.lowPrice + : + +props.item.lowPrice, 2, true) }} @@ -49,6 +52,11 @@
+
+ 备注:{{ props.item.remark }} + + +
{{ item }} @@ -82,10 +90,13 @@ x{{ formatDecimal(+props.item.number, 2, true) }}
+ +