修复单品改价弹窗关闭未重置问题
This commit is contained in:
parent
4cf751a51c
commit
850509ba04
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue