Browse Source

处理console

wangcz 7 years ago
parent
commit
3ee36d1aa7

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

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

+ 0 - 1
components/mobile/applyPurchase/SeekList.vue

@@ -230,7 +230,6 @@ export default {
     'purchaseManList': {
       handler (newVal) {
         this.purchaseManListData = JSON.parse(JSON.stringify(this.purchaseManList))
-        console.log(this.purchaseManListData)
       },
       immediate: true
     }

+ 0 - 3
components/mobile/register-saler/register/StepThird.vue

@@ -370,13 +370,11 @@
     watch: {
       enterpriseData: function (val, oldVal) {
         if (val !== {}) {
-          console.log(1)
           this.businessLicenseUrl = val.url || val.businessCodeImage || ''
 //          this.defaultBusinessUrl = val.enBussinessCodeImage || ''
         }
       },
       businessImgUrl: function (val, oldVal) {
-        console.log(2)
         this.businessLicenseUrl = val
       }
     },
@@ -401,7 +399,6 @@
         this.businessLicenseUrl = ''
         this.taxPayerUrl = ''
         this.taxRegistrationUrl = ''
-        console.log('clear')
         // for (let i = 0; i < this.$refs.Pom.length; i++) {
         //   this.$refs.Pom[i].clearInfo()
         // }

+ 0 - 1
components/pcb/search/GoodList.vue

@@ -156,7 +156,6 @@
               if (!(/^1\d{10}$/).test(response.data.enTel)) {
                 this.$http.get('/basic/enterprise/' + response.data.uu + '/admin').then(response => {
                   obj.toPhone = response.data.userTel
-                  console.log(obj)
                   this.openWebChat(newTab, obj)
                 }, err => {
                   console.log(err)

+ 2 - 2
components/store/CommodityInfo.vue

@@ -527,7 +527,7 @@
                     }
                   }
                 }, err => {
-                  console.log(err)
+                  // console.log(err)
                   if (item.minBuyQty > item.reserve) {
                     this.$message.error('商品' + item.code + '的库存已经不满足最小起订量')
                   }
@@ -680,7 +680,7 @@
               this.hasDialog = false
               this.emptyForm()
             }, error => {
-              console.log(error)
+              // console.log(error)
               this.$message.error('发布失败')
             })
         } else {

+ 1 - 1
components/store/home/EnterpriseInfo.vue

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

+ 1 - 1
components/supplier/resource.vue

@@ -341,7 +341,7 @@
               this.hasDialog = false
               this.emptyForm()
             }, error => {
-              console.log(error)
+              // console.log(error)
               this.$message.error('发布失败')
             })
         } else {

+ 0 - 2
pages/businessEnter/index.vue

@@ -446,7 +446,6 @@
         }
       },
       passwordStrength (flg) {
-        console.log(flg)
         let reg1 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]))|((?=.*[0-9])((?=.*[a-zA-Z]))(?=.*[^a-zA-Z0-9]))).*$/
         let reg2 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z]))|((?=.*[0-9])(?=.*[A-Z]))).*$/
         if (flg.length <= 20 && flg.length >= 8) {
@@ -708,7 +707,6 @@
       },
       crossAfter (url) {
         try {
-          console.log(url, 'url')
           window.location.href = url
         } catch (err) {
           console.log(err)

+ 0 - 1
pages/mobile/center/user/collect/store.vue

@@ -117,7 +117,6 @@
     },
     async asyncData() {
       let { data } = await axios.get(`/trade/storeFocus/page`, {params: { count: 10, page: 1 }})
-      console.log(data)
       return {
         storeList: data
       }

+ 0 - 1
pages/mobile/center/user/outOfStorage/purchase/_storeid.vue

@@ -175,7 +175,6 @@
             if(arr.length <= 0) {
               this.onRemind('最少填写一个发货数量')
             } else {
-              console.log(type)
               this.allObj.sendType = this.storageList.sendType
               this.allObj.map = arr
               this.allObj.jsonSdAddress = this.storageList.jsonAddress

+ 0 - 1
pages/mobile/center/user/pay/_orderId.vue

@@ -924,7 +924,6 @@
       doSubmit (orders) {
         this.$http.put(`/trade/order/${this.baseUtils.enidfilter(this.payData.orderid)}/ensure`, orders)
           .then(res => {
-            console.log(res)
             if (res.data.code === 1) {
               if (res.data.data && res.data.data[0]) {
                 let orderids = []

+ 0 - 1
pages/mobile/center/vendor/approval/index.vue

@@ -209,7 +209,6 @@
             }
             this.orderList.push(...res.data.content)
             this.allPage = Math.floor(res.data.totalElement / 10)
-            console.log(this.orderList)
           })
       },
       ChangeList(_tp) {

+ 1 - 1
pages/mobile/center/vendor/invoice/index.vue

@@ -358,7 +358,7 @@
         return this.invoiceList.length && this.listActiveFlag
       },
       getRouterParams() {
-        console.log(this.$route.query.tp)
+        // console.log(this.$route.query.tp)
         return this.$route.query.tp === 'record'
       }
     },

+ 0 - 1
pages/mobile/center/vendor/outOfStorage/purchase/_storeid.vue

@@ -175,7 +175,6 @@
             if(arr.length <= 0) {
               this.onRemind('最少填写一个发货数量')
             } else {
-              console.log(type)
               this.allObj.sendType = this.storageList.sendType
               this.allObj.map = arr
               this.allObj.jsonSdAddress = this.storageList.jsonAddress

+ 2 - 2
pages/mobile/center/vendor/payCenter.vue

@@ -636,7 +636,7 @@
           }, err => {
             this.validBankAccountObj.number = false
             this.setRemindText(err.response.data || '银行账号校验失败')
-            console.log(err)
+            // console.log(err)
           })
         }
       },
@@ -677,7 +677,7 @@
             }
           }, err => {
             this.setRemindText(err.response.data || '新增账户失败')
-            console.log(err)
+            // console.log(err)
           })
         }
       },

+ 0 - 2
pages/mobile/center/vendor/productdetails.vue

@@ -317,7 +317,6 @@
           this.chooseItem.prices[1].end = '9999999999'
           this.chooseItem.prices.splice(index, 1)
         }
-        console.log(this.chooseItem.prices)
       },
       // 开始价格阶段失去焦点
       startpriceBlur(item, index) {
@@ -364,7 +363,6 @@
           return false
         }
         this.chooseItem.prices[index + 1].start = Math.abs(item.end) + 1
-        console.log(this.chooseItem.prices)
       },
       // 交期失去焦点
       minDeliveryBlur(str) {

+ 0 - 1
pages/mobile/center/vendor/sample/index.vue

@@ -312,7 +312,6 @@
               }
             })
           })
-        console.log(item)
       },
       getUnreadIds () {
         this.$http.get('/sale/sample/getUnreadIds')

+ 1 - 1
pages/mobile/order/orderbtob.vue

@@ -132,7 +132,7 @@
           this.orderList.push(...res.data.content)
           this.allPage = Math.floor(res.data.totalElement / 10)
           // this.isSearchSearchingMore = true
-          console.log(this.orderList)
+          // console.log(this.orderList)
         })
       },
       ChangeList(_tp) {

+ 0 - 1
pages/mobile/product/_batchCode.vue

@@ -212,7 +212,6 @@
       },
       goAttach: function (url) {
         if (this.user.logged) {
-          console.log(this.component)
           if (url && url !== '1') {
              // console.log(url)
             window.open(url)