From 850509ba04b94dfc3246528692965adf13b2e52e Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Thu, 5 Dec 2024 10:11:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E5=93=81=E6=94=B9?= =?UTF-8?q?=E4=BB=B7=E5=BC=B9=E7=AA=97=E5=85=B3=E9=97=AD=E6=9C=AA=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tool/Instead/components/popup-cart-changePrice.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/tool/Instead/components/popup-cart-changePrice.vue b/src/views/tool/Instead/components/popup-cart-changePrice.vue index c0ad96c..134c13d 100644 --- a/src/views/tool/Instead/components/popup-cart-changePrice.vue +++ b/src/views/tool/Instead/components/popup-cart-changePrice.vue @@ -112,6 +112,7 @@ export default { reset() { this.note = ""; this.number = 1; + this.price=''; this.tags.map((v) => { v.checked = false; }); @@ -129,11 +130,12 @@ export default { open(item) { this.goods = item ? item : this.goods; this.max=returnCartPrice(this.goods,this.vipUser) + console.log(this.goods); this.show = true; - if (item.productId != "-999") { + if (this.goods != "-999") { } else { - this.price = item.discountSaleAmount||''; + this.price =this.goods.discountSaleAmount||''; } }, close() {