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() {