Kaynağa Gözat

产品详情页添加可拆包输入错误提示

hangb 8 yıl önce
ebeveyn
işleme
4172bcecb7
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      components/store/CommodityInfo.vue

+ 0 - 2
components/store/CommodityInfo.vue

@@ -226,8 +226,6 @@ export default {
         } else {
         } else {
           this.$message.error('最小起订量为' + buy)
           this.$message.error('最小起订量为' + buy)
           this.fragment.num = buy
           this.fragment.num = buy
-//          this.fragment.num = (Math.floor(buy / pack) + 1) * pack
-          console.log(this.fragment.num)
           this.fragment.canSub = false
           this.fragment.canSub = false
         }
         }
         if (newNum > reserve) {
         if (newNum > reserve) {