修复单品改价弹窗关闭未重置问题
This commit is contained in:
parent
4cf751a51c
commit
850509ba04
|
|
@ -112,6 +112,7 @@ export default {
|
||||||
reset() {
|
reset() {
|
||||||
this.note = "";
|
this.note = "";
|
||||||
this.number = 1;
|
this.number = 1;
|
||||||
|
this.price='';
|
||||||
this.tags.map((v) => {
|
this.tags.map((v) => {
|
||||||
v.checked = false;
|
v.checked = false;
|
||||||
});
|
});
|
||||||
|
|
@ -129,11 +130,12 @@ export default {
|
||||||
open(item) {
|
open(item) {
|
||||||
this.goods = item ? item : this.goods;
|
this.goods = item ? item : this.goods;
|
||||||
this.max=returnCartPrice(this.goods,this.vipUser)
|
this.max=returnCartPrice(this.goods,this.vipUser)
|
||||||
|
console.log(this.goods);
|
||||||
this.show = true;
|
this.show = true;
|
||||||
if (item.productId != "-999") {
|
if (this.goods != "-999") {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.price = item.discountSaleAmount||'';
|
this.price =this.goods.discountSaleAmount||'';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue