|
@@ -99,15 +99,15 @@
|
|
|
},
|
|
|
changeCountAdd(){//popup弹窗数量增加按钮
|
|
|
if(this.handleData.secondHandType == 2||this.handleData.secondHandType == 3){
|
|
|
- if(this.number >= this.handleData.stock){
|
|
|
- this.number= this.handleData.stock
|
|
|
- this.isStock =true
|
|
|
- this.$util.msg(`购买数量最高为${this.handleData.stock}`,2000);
|
|
|
- return
|
|
|
- }else{
|
|
|
+ // if(this.number >= this.handleData.stock){
|
|
|
+ // this.number= this.handleData.stock
|
|
|
+ // this.isStock =true
|
|
|
+ // this.$util.msg(`购买数量最高为${this.handleData.stock}`,2000);
|
|
|
+ // return
|
|
|
+ // }else{
|
|
|
this.number++
|
|
|
this.isQuantity =false
|
|
|
- }
|
|
|
+ // }
|
|
|
this.buyRetailPrice = this.number*this.handleData.price1
|
|
|
}else{
|
|
|
this.isStock =true
|
|
@@ -116,15 +116,15 @@
|
|
|
},
|
|
|
changeCountSub(){//popup弹窗数量减按钮
|
|
|
if(this.handleData.secondHandType == 2||this.handleData.secondHandType == 3){
|
|
|
- if(this.number <= 1){
|
|
|
- this.number= 1
|
|
|
- this.isQuantity =true
|
|
|
- this.$util.msg(`购买数量最低为1`,2000);
|
|
|
- return
|
|
|
- }else{
|
|
|
+ // if(this.number <= 1){
|
|
|
+ // this.number= 1
|
|
|
+ // this.isQuantity =true
|
|
|
+ // this.$util.msg(`购买数量最低为1`,2000);
|
|
|
+ // return
|
|
|
+ // }else{
|
|
|
this.number--
|
|
|
this.isQuantity =false
|
|
|
- }
|
|
|
+ // }
|
|
|
this.buyRetailPrice = this.number*this.handleData.price1
|
|
|
}else{
|
|
|
this.isQuantity =true
|