|
@@ -168,10 +168,16 @@ export default {
|
|
|
changeQty(num){
|
|
|
let a = num - this.selectProduct.orderminqty
|
|
|
let b = a / this.selectProduct.orderaddqty
|
|
|
+
|
|
|
if (b < 1) {
|
|
|
- this.count = this.selectProduct.orderminqty + this.selectProduct.orderaddqty
|
|
|
+ this.$nextTick(e=>{
|
|
|
+ this.count = this.selectProduct.orderminqty + this.selectProduct.orderaddqty
|
|
|
+ })
|
|
|
} else {
|
|
|
- this.count = this.selectProduct.orderminqty + this.selectProduct.orderaddqty * b.toFixed(0)
|
|
|
+ this.$nextTick(e=>{
|
|
|
+ this.count = this.selectProduct.orderminqty + this.selectProduct.orderaddqty * b.toFixed(0)
|
|
|
+ })
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
typeClick (data) {
|