Browse Source

统一前端规范

hangb 7 years ago
parent
commit
645ea55928

+ 1 - 1
components/applyPurchase/BatchPublish.vue

@@ -987,7 +987,7 @@
           }, err => {
             console.log(err)
             if (goods.minBuyQty > goods.reserve) {
-              this.$message.error('商品' + goods.code + '的库存已经不满足起订量')
+              this.$message.error('商品' + goods.code + '的库存已经不满足最小起订量')
             }
           })
       },

+ 2 - 2
components/common/buyOrCar/buyComponent.vue

@@ -53,7 +53,7 @@
                 }, err => {
                   console.log(err)
                   if (this.item.minBuyQty > this.item.reserve) {
-                    this.$message.error('商品' + this.item.code + '的库存已经不满足起订量')
+                    this.$message.error('商品' + this.item.code + '的库存已经不满足最小起订量')
                   }
                 })
             } else {
@@ -81,7 +81,7 @@
                     }
                   } else {
                     if (response.data.code === 2) {
-                      this.$message.error('库存已不满足起订量')
+                      this.$message.error('库存已不满足最小起订量')
                     } else if (response.data.message === '该产品已失效') {
                       this.$message.error(response.data.message + ',请刷新页面')
                     } else {

+ 4 - 1
components/store/CommodityInfo.vue

@@ -45,6 +45,9 @@
             <div class="com-info">
               <span class="name">包&nbsp;装</span>:<span v-text="commodity.packaging || '无包装信息'"></span>
             </div>
+            <div class="com-info">
+              <span class="name">最小包装数</span>:<span v-text="commodity.minPackQty || '无最小包装数信息'"></span>
+            </div>
             <div class="com-info">
               <span class="name">规&nbsp;格</span>:<span v-text="commodity.spec || '无规格信息'"></span>
             </div>
@@ -403,7 +406,7 @@
                 }, err => {
                   console.log(err)
                   if (item.minBuyQty > item.reserve) {
-                    this.$message.error('商品' + item.code + '的库存已经不满足起订量')
+                    this.$message.error('商品' + item.code + '的库存已经不满足最小起订量')
                   }
                 })
             } else {

+ 1 - 1
components/store/RecommendProduct.vue

@@ -120,7 +120,7 @@
                 }, err => {
                   console.log(err)
                   if (item.minBuyQty > item.reserve) {
-                    this.$message.error('商品' + item.code + '的库存已经不满足起订量')
+                    this.$message.error('商品' + item.code + '的库存已经不满足最小起订量')
                   }
                 })
             } else {