Browse Source

修改样式,全局去掉打印

qukaidi 5 years ago
parent
commit
fcefbb87fd
38 changed files with 433 additions and 456 deletions
  1. 1 1
      common/checker.js
  2. 3 3
      common/request/request.js
  3. 2 2
      components/luo-version-upgrade/luo-version-upgrade.vue
  4. 1 1
      components/mi-map/mi-map.vue
  5. 2 2
      components/u-charts/u-charts.js
  6. 33 33
      js_sdk/wa-permission/permission.js
  7. 1 1
      manifest.json
  8. 12 12
      pages/home/Scan-code-in/index.vue
  9. 5 5
      pages/home/Scan-code-out/index.vue
  10. 2 5
      pages/home/Statistical-task/index.vue
  11. 34 34
      pages/home/index.vue
  12. 2 2
      pages/home/inline-shop/inline_shop_car.vue
  13. 1 1
      pages/home/inline-shop/inline_shop_details.vue
  14. 3 3
      pages/home/integral-mall/integral_mall.vue
  15. 2 2
      pages/home/integral-mall/integral_mall_car.vue
  16. 2 2
      pages/home/integral-mall/integral_mall_goods_details.vue
  17. 15 15
      pages/home/my-stock/my-stock.vue
  18. 70 70
      pages/home/scancode/index.vue
  19. 71 71
      pages/home/scancode/scancodeout.vue
  20. 9 9
      pages/home/scancodequery/result.vue
  21. 4 4
      pages/login/index.vue
  22. 3 3
      pages/login/register_2.vue
  23. 9 9
      pages/login/register_3.vue
  24. 30 30
      pages/me/Delivery-details/index.vue
  25. 5 5
      pages/me/Reward-details/index.vue
  26. 2 2
      pages/me/Settlement-center/index.vue
  27. 28 28
      pages/me/Warehousing-details/index.vue
  28. 3 3
      pages/me/Write-off-management/index.vue
  29. 15 15
      pages/me/agent-stock/agent-stock.vue
  30. 6 26
      pages/me/index.vue
  31. 4 4
      pages/me/management.vue
  32. 5 5
      pages/me/search/index.vue
  33. 38 38
      pages/me/setting/setting.vue
  34. 6 6
      pages/me/suppliers.vue
  35. 1 1
      pages/msg/System-message/index.vue
  36. 1 1
      pages/template/keyboardPay/index.vue
  37. 2 2
      pages/template/login/code.vue
  38. BIN
      static/sailun/1.png

+ 1 - 1
common/checker.js

@@ -10,7 +10,7 @@ module.exports = {
 					return false;
 				}
 			} catch(e) {
-				console.log('error:'+str+'!!!'+e);
+				
 				return false;
 			}
 		}

+ 3 - 3
common/request/request.js

@@ -5,9 +5,9 @@
 // request({
 //     url: '/room/list',
 // }).then(res => {
-//     console.log(res)
+//     
 // }).catch(err => {
-//     console.log(err)
+//     
 // }).finally(() => {
 //     Loading.close()
 // })
@@ -34,7 +34,7 @@ export function request(config) {
 	// 响应拦截器
 	newVar.interceptors.response.use({},
 	  error => {
-	    console.log('err' + error)
+	    
 	    let { message } = error;
 	    if (message == "Network Error") {
 	      message = "系统连接异常";

+ 2 - 2
components/luo-version-upgrade/luo-version-upgrade.vue

@@ -104,9 +104,9 @@
 						confirmText: "立即更新",
 						success: function(res) {
 							if (res.confirm) {
-								console.log('用户点击确定');
+								
 							} else if (res.cancel) {
-								console.log('用户点击取消');
+								
 							}
 						}
 					})

+ 1 - 1
components/mi-map/mi-map.vue

@@ -136,7 +136,7 @@
 								this.checkMap(res)
 							},
 							fail: err => {
-								console.log(err);
+								
 							}
 						})
 					}

+ 2 - 2
components/u-charts/u-charts.js

@@ -5291,7 +5291,7 @@ Charts.prototype.updateData = function() {
 Charts.prototype.zoom = function() {
   var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount;
   if (this.opts.enableScroll !== true) {
-    console.log('请启用滚动条后使用!')
+    
     return;
   }
   //当前屏幕中间点
@@ -5428,7 +5428,7 @@ Charts.prototype.showToolTip = function(e) {
     touches = e.mp.changedTouches[0];
   }
   if (!touches) {
-    console.log("touchError");
+    
   }
   var _touches$ = getTouches(touches, this.opts, e);
   var currentOffset = this.scrollOption.currentOffset;

+ 33 - 33
js_sdk/wa-permission/permission.js

@@ -16,23 +16,23 @@ function judgeIosPermissionPush() {
 	if (app.currentUserNotificationSettings) {
 		var settings = app.currentUserNotificationSettings();
 		enabledTypes = settings.plusGetAttribute("types");
-		console.log("enabledTypes1:" + enabledTypes);
+		
 		if (enabledTypes == 0) {
-			console.log("推送权限没有开启");
+			
 		} else {
 			result = true;
-			console.log("已经开启推送功能!")
+			
 		}
 		plus.ios.deleteObject(settings);
 	} else {
 		enabledTypes = app.enabledRemoteNotificationTypes();
 		if (enabledTypes == 0) {
-			console.log("推送权限没有开启!");
+			
 		} else {
 			result = true;
-			console.log("已经开启推送功能!")
+			
 		}
-		console.log("enabledTypes2:" + enabledTypes);
+		
 	}
 	plus.ios.deleteObject(app);
 	plus.ios.deleteObject(UIApplication);
@@ -45,17 +45,17 @@ function judgeIosPermissionLocation() {
 	var cllocationManger = plus.ios.import("CLLocationManager");
 	var status = cllocationManger.authorizationStatus();
 	result = (status != 2)
-	console.log("定位权限开启:" + result);
+	
 	// 以下代码判断了手机设备的定位是否关闭,推荐另行使用方法 checkSystemEnableLocation
 	/* var enable = cllocationManger.locationServicesEnabled();
 	var status = cllocationManger.authorizationStatus();
-	console.log("enable:" + enable);
-	console.log("status:" + status);
+	
+	
 	if (enable && status != 2) {
 		result = true;
-		console.log("手机定位服务已开启且已授予定位权限");
+		
 	} else {
-		console.log("手机系统的定位没有打开或未给予定位权限");
+		
 	} */
 	plus.ios.deleteObject(cllocationManger);
 	return result;
@@ -67,12 +67,12 @@ function judgeIosPermissionRecord() {
 	var avaudiosession = plus.ios.import("AVAudioSession");
 	var avaudio = avaudiosession.sharedInstance();
 	var permissionStatus = avaudio.recordPermission();
-	console.log("permissionStatus:" + permissionStatus);
+	
 	if (permissionStatus == 1684369017 || permissionStatus == 1970168948) {
-		console.log("麦克风权限没有开启");
+		
 	} else {
 		result = true;
-		console.log("麦克风权限已经开启");
+		
 	}
 	plus.ios.deleteObject(avaudiosession);
 	return result;
@@ -83,12 +83,12 @@ function judgeIosPermissionCamera() {
 	var result = false;
 	var AVCaptureDevice = plus.ios.import("AVCaptureDevice");
 	var authStatus = AVCaptureDevice.authorizationStatusForMediaType('vide');
-	console.log("authStatus:" + authStatus);
+	
 	if (authStatus == 3) {
 		result = true;
-		console.log("相机权限已经开启");
+		
 	} else {
-		console.log("相机权限没有开启");
+		
 	}
 	plus.ios.deleteObject(AVCaptureDevice);
 	return result;
@@ -99,12 +99,12 @@ function judgeIosPermissionPhotoLibrary() {
 	var result = false;
 	var PHPhotoLibrary = plus.ios.import("PHPhotoLibrary");
 	var authStatus = PHPhotoLibrary.authorizationStatus();
-	console.log("authStatus:" + authStatus);
+	
 	if (authStatus == 3) {
 		result = true;
-		console.log("相册权限已经开启");
+		
 	} else {
-		console.log("相册权限没有开启");
+		
 	}
 	plus.ios.deleteObject(PHPhotoLibrary);
 	return result;
@@ -117,9 +117,9 @@ function judgeIosPermissionContact() {
 	var cnAuthStatus = CNContactStore.authorizationStatusForEntityType(0);
 	if (cnAuthStatus == 3) {
 		result = true;
-		console.log("通讯录权限已经开启");
+		
 	} else {
-		console.log("通讯录权限没有开启");
+		
 	}
 	plus.ios.deleteObject(CNContactStore);
 	return result;
@@ -132,9 +132,9 @@ function judgeIosPermissionCalendar() {
 	var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(0);
 	if (ekAuthStatus == 3) {
 		result = true;
-		console.log("日历权限已经开启");
+		
 	} else {
-		console.log("日历权限没有开启");
+		
 	}
 	plus.ios.deleteObject(EKEventStore);
 	return result;
@@ -147,9 +147,9 @@ function judgeIosPermissionMemo() {
 	var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(1);
 	if (ekAuthStatus == 3) {
 		result = true;
-		console.log("备忘录权限已经开启");
+		
 	} else {
-		console.log("备忘录权限没有开启");
+		
 	}
 	plus.ios.deleteObject(EKEventStore);
 	return result;
@@ -164,17 +164,17 @@ function requestAndroidPermission(permissionID) {
 				var result = 0;
 				for (var i = 0; i < resultObj.granted.length; i++) {
 					var grantedPermission = resultObj.granted[i];
-					console.log('已获取的权限:' + grantedPermission);
+					
 					result = 1
 				}
 				for (var i = 0; i < resultObj.deniedPresent.length; i++) {
 					var deniedPresentPermission = resultObj.deniedPresent[i];
-					console.log('拒绝本次申请的权限:' + deniedPresentPermission);
+					
 					result = 0
 				}
 				for (var i = 0; i < resultObj.deniedAlways.length; i++) {
 					var deniedAlwaysPermission = resultObj.deniedAlways[i];
-					console.log('永久拒绝申请的权限:' + deniedAlwaysPermission);
+					
 					result = -1
 				}
 				resolve(result);
@@ -184,7 +184,7 @@ function requestAndroidPermission(permissionID) {
 				// }
 			},
 			function(error) {
-				console.log('申请权限错误:' + error.code + " = " + error.message);
+				
 				resolve({
 					code: error.code,
 					message: error.message
@@ -230,7 +230,7 @@ function gotoAppPermissionSetting() {
 		plus.ios.deleteObject(NSURL2);
 		plus.ios.deleteObject(application2);
 	} else {
-		// console.log(plus.device.vendor);
+		// 
 		var Intent = plus.android.importClass("android.content.Intent");
 		var Settings = plus.android.importClass("android.provider.Settings");
 		var Uri = plus.android.importClass("android.net.Uri");
@@ -250,7 +250,7 @@ function checkSystemEnableLocation() {
 		var result = false;
 		var cllocationManger = plus.ios.import("CLLocationManager");
 		var result = cllocationManger.locationServicesEnabled();
-		console.log("系统定位开启:" + result);
+		
 		plus.ios.deleteObject(cllocationManger);
 		return result;
 	} else {
@@ -259,7 +259,7 @@ function checkSystemEnableLocation() {
 		var main = plus.android.runtimeMainActivity();
 		var mainSvr = main.getSystemService(context.LOCATION_SERVICE);
 		var result = mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER);
-		console.log("系统定位开启:" + result);
+		
 		return result
 	}
 }

+ 1 - 1
manifest.json

@@ -2,7 +2,7 @@
     "name" : "耀灵掌上通",
     "appid" : "__UNI__0C3473D",
     "description" : "测试",
-    "versionName" : "0.0.3",
+    "versionName" : "0.0.4",
     "versionCode" : "100",
     "transformPx" : false,
     "app-plus" : {

+ 12 - 12
pages/home/Scan-code-in/index.vue

@@ -104,7 +104,7 @@
 			uni.getNetworkType({
 				success: function(res) {
 					let none = res.networkType
-					console.log(res.networkType);
+					
 					if (none == 'none') {
 						uni.showToast({
 							icon: 'none',
@@ -124,8 +124,8 @@
 				uni.$emit('data', {
 					lisi: this.datalist
 				})
-				console.log(this.datalist)
-				console.log("到此一游")
+				
+				
 			}
 			return true;
 		},
@@ -155,7 +155,7 @@
 							materialList: this.datalist
 						}
 					}).then(res => {
-						console.log(res.data.code)
+						
 						if (res.data.code == 0) {
 							this.dalist = res.data.data
 							for (let i = 0; i < this.dalist.length; i++) {
@@ -171,7 +171,7 @@
 						}
 
 					}).catch(err => {
-						console.log(err)
+						
 						uni.showToast({
 							icon: 'none',
 							title: '无网络,请连接网络后再试~'
@@ -186,7 +186,7 @@
 				uni.getNetworkType({
 					success: function(res) {
 						let none = res.networkType
-						console.log(res.networkType);
+						
 						if (none == 'none') {
 							uni.showToast({
 								icon: 'none',
@@ -201,7 +201,7 @@
 					type: 'wgs84', // 返回国测局坐标
 					geocode: true,
 					success: function(res) {
-						console.log(res);
+						
 						this_s.longitude = res.longitude
 						this_s.latitude = res.latitude
 						this_s.address = res.address.country + res.address.province + res.address.city + res.address.district + res.address
@@ -212,7 +212,7 @@
 								title: '获取地址失败, 请检查是否开启定位权限~~',
 								position: "bottom"
 							})
-							console.log("定位失败出去啦")
+							
 							return
 						}
 						this_s.Submit()
@@ -239,8 +239,8 @@
 						materialList: this.datalist //轮胎参数
 					}
 				}).then(res => {
-					console.log(res)
-					console.log(res.data.msg)
+					
+					
 					if (res.data.code == 500) {
 						this.$refs.repeat.show({
 							title: res.data.msg,
@@ -254,10 +254,10 @@
 					this.alreadyExistsTyreNumbers = res.data.data.alreadyExistsTyreNumbers //库存中已存在轮胎号
 					this.rewardMoney = res.data.data.rewardMoney //奖励金额
 					this.rewardIntegral = res.data.data.rewardIntegral //奖励积分
-					console.log(res)
+					
 					this.datalist = ''
 				}).catch(err => {
-					console.log(err.data.msg)
+					
 				}).finally(() => {
 					// Loading.close()
 				})

+ 5 - 5
pages/home/Scan-code-out/index.vue

@@ -105,7 +105,7 @@
 					type: 'wgs84', // 返回国测局坐标
 					geocode: true,
 					success: function(res) {
-						console.log(res);
+						
 						this_s.longitude = res.longitude
 						this_s.latitude = res.latitude
 						this_s.address = res.address.country + res.address.province + res.address.city + res.address.district + res.address.street
@@ -115,7 +115,7 @@
 								title: '获取地址失败, 请检查是否开启定位权限~~',
 								position: "bottom"
 							})
-							console.log("定位失败出去啦")
+							
 							return
 						}
 						this_s.Submit()
@@ -143,7 +143,7 @@
 						materialList: this.datalist
 					}
 				}).then(res => {
-					console.log(res.data.msg)
+					
 					if (res.data.code == 500) {
 						this.$refs.repeat.show({
 							title: res.data.msg,
@@ -155,10 +155,10 @@
 					this.successCount = res.data.data.successCount //成功条数
 					this.nonRegularTyreNumbers = res.data.data.nonRegularTyreNumbers //非正规胎号
 					this.notScanInTyres = res.data.data.notScanInTyres //未入库轮胎号
-					console.log(res)
+					
 					this.datalist = ''
 				}).catch(err => {
-					console.log(err.data.msg)
+					
 				}).finally(() => {
 					// Loading.close()
 				})

+ 2 - 5
pages/home/Statistical-task/index.vue

@@ -90,7 +90,7 @@
 						this.orderList = res.data.data
 						this.getPieData()
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {
@@ -113,8 +113,7 @@
 							name: '',
 							percent: '',
 							format: (val) => {
-								console.log(val * 100)
-								console.log((val * 100).toFixed())
+
 								return (val * 100).toFixed()+"%"
 							}
 						}
@@ -123,8 +122,6 @@
 							name: '',
 							percent: '',
 							format: (val) => {
-								console.log(val * 100)
-								console.log((val * 100).toFixed())
 								return (val * 100).toFixed()+"%"
 							}
 						}

+ 34 - 34
pages/home/index.vue

@@ -101,7 +101,7 @@
 						this.noticebarList = two.data.data.map(t => t.msgContent)
 					}))
 					.catch(err => {
-						console.log(err)
+
 					})
 					.finally(() => {
 						this.loading = false;
@@ -119,13 +119,13 @@
 			system() {
 				uni.getSystemInfo({
 					success: res => {
-						// console.log(res.platform);
+						// 
 					},
 					complete: err => {
 						if (err.platform == 'android') {
 							this.onLaunch_s()
 						} else if (err.platform == 'ios') {
-							// console.log("暂无数据")
+							// 
 							this.iosstartup()
 						}
 					}
@@ -139,15 +139,15 @@
 							osType: 1
 						}
 					}).then(res => {
-						// console.log(res)
-						// console.log(res.data.code)
-						// console.log(res.data.forceVersion) //最低版本
-						// console.log(res.data.msg) //更新文案
-						// console.log(res.data.version) //最新版本
+						// 
+						// 
+						//  //最低版本
+						//  //更新文案
+						//  //最新版本
 
 						plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
-							// console.log(wgtinfo);
-							console.log(wgtinfo.version); //版本号
+							// 
+							//版本号
 							if (wgtinfo.version == res.data.version) {
 								this.show_s = true
 								// uni.showToast({
@@ -155,9 +155,9 @@
 								// 	title: '已是最新版本',
 								// 	position: "bottom"
 								// })
-								// console.log("已是最新版本")
+								// 
 							} else if (wgtinfo.version != res.data.forceVersion) {
-								// console.log("强制版本更新"+res)
+								// 
 								res.data.msg = res.data.msg.replace(/\\n/g, "\n")
 								uni.showModal({
 									title: "发现新版本",
@@ -166,20 +166,20 @@
 									confirmText: "立即去AppStore更新",
 									success: function(res) {
 										if (res.confirm) {
-											// console.log('用户点击确定');
+											// 
 											let appleId = 1518555723
 											plus.runtime.launchApplication({
 												action: `itms-apps://itunes.apple.com/cn/app/id${appleId}?mt=8`
 											}, function(e) {
-												console.log('Open system default browser failed: ' + e.message);
+
 											});
 										} else if (res.cancel) {
-											console.log('用户点击取消');
+
 										}
 									}
 								})
 							} else if (wgtinfo.version == res.data.forceVersion) {
-								console.log("最低版本更新")
+
 								res.data.msg = res.data.msg.replace(/\\n/g, "\n")
 								uni.showModal({
 									title: "发现新版本",
@@ -188,15 +188,15 @@
 									confirmText: "立即去AppStore更新",
 									success: function(res) {
 										if (res.confirm) {
-											console.log('用户点击确定');
+
 											let appleId = 1518555723
 											plus.runtime.launchApplication({
 												action: `itms-apps://itunes.apple.com/cn/app/id${appleId}?mt=8`
 											}, function(e) {
-												console.log('Open system default browser failed: ' + e.message);
+
 											});
 										} else if (res.cancel) {
-											console.log('用户点击取消');
+
 										}
 									}
 								})
@@ -205,7 +205,7 @@
 						})
 
 					}).catch(err => {
-						console.log(err)
+
 					})
 					.finally(() => {
 						// Loading.close()
@@ -220,15 +220,15 @@
 							osType: 0
 						}
 					}).then(res => {
-						console.log(res.data.code)
-						console.log(res.data.forceVersion) //最低版本
-						console.log(res.data.msg) //更新文案
-						console.log(res.data.url) //下载最新版地址
-						console.log(res.data.version) //最新版本
+
+						//最低版本
+						//更新文案
+						//下载最新版地址
+						//最新版本
 
 						plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
-							console.log(wgtinfo);
-							console.log(wgtinfo.version); //版本号
+
+							//版本号
 							if (wgtinfo.version == res.data.version) {
 								this.show_s = false
 								// uni.showToast({
@@ -236,19 +236,19 @@
 								// 	title: '已是最新版本',
 								// 	position: "bottom"
 								// })
-								console.log("已是最新版本")
+
 							} else if (wgtinfo.version != res.data.forceVersion) {
-								console.log("必须强制更新")
+
 								this.Copywriting = res.data.msg
-								console.log(this.Copywriting)
+
 								this.show_s = true
-								console.log(res.data.url)
+
 								this.url = res.data.url
 								this.is_force = true
 							} else if (wgtinfo.version == res.data.forceVersion) {
-								console.log("达到最低版本")
+
 								this.Copywriting = res.data.msg
-								console.log(this.Copywriting)
+
 
 								this.is_force = false
 								this.show_s = true
@@ -258,7 +258,7 @@
 						})
 
 					}).catch(err => {
-						console.log(err)
+
 					})
 					.finally(() => {
 						// Loading.close()

+ 2 - 2
pages/home/inline-shop/inline_shop_car.vue

@@ -184,8 +184,8 @@
 			},
 			selectedCountChange: function(){},
 			checkboxGroupChange: function(params) {
-				console.log(1)
-				console.log(params)
+				
+				
 			},
 			checkboxChange: function(params) {
 				if(!params.value){

+ 1 - 1
pages/home/inline-shop/inline_shop_details.vue

@@ -98,7 +98,7 @@
 			selectedCountChange: function() {},
 			tabChange: function(params) {
 				this.tabCurrent = params
-				console.log(params)
+				
 			},
 			inShopcar(){
 				this.$u.route({

+ 3 - 3
pages/home/integral-mall/integral_mall.vue

@@ -201,7 +201,7 @@
 		},
 		methods: {
 			inputFocus() {
-				console.log(111);
+				
 				this.inputCustomStyle = {
 					position: "absolute",
 					zIndex: "100",
@@ -213,7 +213,7 @@
 				this.inputCustomStyle = {};
 			},
 			scrollBottom(v) {
-				console.log(v);
+				
 				this.loadStatus = 'loading';
 				// 模拟数据加载
 				setTimeout(() => {
@@ -225,7 +225,7 @@
 				this.goodsList = this.goodsList.concat(this.list)
 			},
 			handleGoCar() {
-				console.log("进入购物车")
+				
 				this.$u.route({
 					url: 'pages/home/integral-mall/integral_mall_car',
 				})

+ 2 - 2
pages/home/integral-mall/integral_mall_car.vue

@@ -184,8 +184,8 @@
 			},
 			selectedCountChange: function(){},
 			checkboxGroupChange: function(params) {
-				console.log(1)
-				console.log(params)
+				
+				
 			},
 			checkboxChange: function(params) {
 				if(!params.value){

+ 2 - 2
pages/home/integral-mall/integral_mall_goods_details.vue

@@ -98,7 +98,7 @@
 			selectedCountChange: function() {},
 			tabChange: function(params) {
 				this.tabCurrent = params
-				console.log(params)
+				
 			},
 			inShopcar(){
 				this.$u.route({
@@ -106,7 +106,7 @@
 				})
 			},
 			handleGoConfirm: function(){
-				console.log("立即兑换")
+				
 				uni.navigateTo({
 					url: "/pages/home/integral-mall/integral_mall_confirmorder"
 				})

+ 15 - 15
pages/home/my-stock/my-stock.vue

@@ -69,7 +69,7 @@
 		},
 		methods: {
 			scrollBottom(v) {
-				console.log(v);
+				
 				if (this.loadStatus == "loadmore") {
 					this.loadStatus = 'loading';
 					uni.showLoading({
@@ -87,7 +87,7 @@
 			handleSearch: function(v) {
 				this.first = 0;
 				this.currentPage = 1;
-				console.log(v)
+				
 				this.handleGetData();
 			},
 			handleFilterBrand: function(v2) {
@@ -96,8 +96,8 @@
 				this.current = v2;
 				this.currentBrand = this.brandlLst[this.current].brandCode;
 				this.handleGetData();
-				console.log(arguments);
-				console.log(this.brandlLst[this.current].brandCode)
+				
+				
 			},
 			handleGetFilterData: function() {
 				var _this = this;
@@ -110,7 +110,7 @@
 					}
 				}).then(res => {
 					if (res.data.code == 0) {
-						console.log(res)
+						
 						// 获取品牌列表
 						_this.brandlLst = res.data.data;
 						_this.brandlLst.unshift({
@@ -118,7 +118,7 @@
 							brandCode: "all"
 						});
 					} else {
-						console.log(res)
+						
 						uni.showToast({
 							title: res.data.msg,
 							icon: "none",
@@ -126,7 +126,7 @@
 						});
 					}
 				}).catch(err => {
-					console.log(err)
+					
 					uni.showToast({
 						title: _this.$store.state.showServerErrorMsg,
 						icon: "none",
@@ -159,29 +159,29 @@
 					}
 				}).then(res => {
 					if (res.data.code == 0) {
-						console.log(res)
+						
 						// 获取数据列表
 						if (_this.first == 0) {
 							_this.datalist = [];
 							_this.datalist = _this.datalist.concat(res.data.data);
 							_this.total = parseInt(res.data.count);
 							_this.totalPage = Math.ceil(_this.total / _this.pageSize);
-							console.log(_this.totalPage)
+							
 						} else {
-							console.log(_this.currentPage);
-							console.log(_this.totalPage)
+							
+							
 							_this.datalist = _this.datalist.concat(res.data.data);
-							console.log(_this.datalist.length)
+							
 						};
 						// 分页
 						if (_this.currentPage < _this.totalPage) {
 							_this.loadStatus = "loadmore"
 						} else {
-							console.log("nomore")
+							
 							_this.loadStatus = "nomore"
 						}
 					} else {
-						console.log(res)
+						
 						uni.showToast({
 							title: res.data.msg,
 							icon: "none",
@@ -189,7 +189,7 @@
 						});
 					}
 				}).catch(err => {
-					console.log(err)
+					
 					uni.showToast({
 						title: _this.$store.state.showServerErrorMsg,
 						icon: "none",

+ 70 - 70
pages/home/scancode/index.vue

@@ -85,7 +85,7 @@
 			}
 		},
 		onBackPress(options) {
-			console.log(options)
+			
 			if (options.from == 'backbutton') {
 				this.$u.route({
 					type: 'switchTab',
@@ -97,14 +97,14 @@
 		onLaunch() {
 			uni.$on('update', data => {
 				this.lisi = data.lisi
-				console.log(this.lisi)
+				
 			})
 		},
 		created() {
 			uni.getNetworkType({
 				success: function(res) {
 					let none = res.networkType
-					console.log(res.networkType);
+					
 					if (none == 'none') {
 						uni.showToast({
 							icon: 'none',
@@ -116,18 +116,18 @@
 			});
 			uni.$on('data', res => {
 				this.lisi = res.lisi
-				console.log(res.lisi)
+				
 			})
 			//开始扫码
 			const innerAudioContext = uni.createInnerAudioContext();
 			innerAudioContext.autoplay = true;
 			innerAudioContext.src = '../../../static/mp3/start.mp3';
 			innerAudioContext.onPlay(() => {
-				console.log('开始播放');
+				
 			});
 			innerAudioContext.onError((res) => {
-				console.log(res.errMsg);
-				console.log(res.errCode);
+				
+				
 			});
 			this.coord = ''
 		},
@@ -145,7 +145,7 @@
 					type: 'gcj02', // 返回国测局坐标
 					geocode: true,
 					success: function(res) {
-						console.log(res)
+						
 						that.tishi(res)
 					},
 					fail: function(e) {
@@ -157,7 +157,7 @@
 				})
 			},
 			async tishi(res) {
-				console.log(res)
+				
 				let this_ = this
 				this_.baidu = res
 				qqmapsdk.reverseGeocoder({
@@ -178,8 +178,8 @@
 								latitude: this_.baidu.latitude
 							}
 						}).then(res => {
-							console.log(res.data.data.result)
-							console.log(res.data)
+							
+							
 							if(res.data.code != 0){
 								uni.showToast({
 									icon: 'none',
@@ -190,7 +190,7 @@
 								this_.addreev(this_.baidu, aress)
 							}
 						}).catch(err => {
-							console.log(err)
+							
 							uni.showToast({
 								icon: 'none',
 								title: '网络繁忙请稍后再试~'
@@ -204,13 +204,13 @@
 			async addreev(res, x) {
 				this.address = x
 				this.degree = res
-				console.log(res)
-				console.log(x)
+				
+				
 			},
 			//手动录入调用
 			manualentry() {
 				if (this.number_a.length != 0) {
-					console.log(this.degree)
+					
 					if (this.degree == undefined) {
 						uni.showToast({
 							icon: 'none',
@@ -233,62 +233,62 @@
 									scanAddress: this.address
 								}
 							}).then(res => {
-								console.log(res)
+								
 								if (res.data.code == 513) {
-									console.log(res.data.msg)
+									
 									let name = 'regular'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 514) {
-									console.log(res.data.msg)
+									
 									let name = 'nonoperating'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 515) {
-									console.log(res.data.msg)
+									
 									let name = 'warehousing'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 517) {
-									console.log(res.data.msg)
+									
 									let name = 'atypism'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 518) {
-									console.log(res.data.msg)
+									
 									let name = 'gobeyond'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 519) {
-									console.log(res.data.msg)
+									
 									let name = 'notallow'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 500) {
-									console.log(res.data.msg)
+									
 									let name = 'error'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 0) {
-									console.log(res)
+									
 									this.res = res
-									console.log(res.data.data[0].isRegular)
+									
 									for (let i = 0; i < this.lisi.length; i++) {
 										if (this.lisi[i].tireNumber == res.data.data[0].tirenumber) {
-											console.log(res)
+											
 											let err = {
 												"data": {
 													"msg": "请勿重复录入",
 												}
 											}
-											console.log(err.data.msg)
+											
 											let name = 'duplicateentry'
 											this.tipss(err, name)
 											return
@@ -296,14 +296,14 @@
 									}
 									this.container()
 								}
-								console.log(this.lisi)
+								
 							}).catch(err => {
 								// this.$refs.repeat.show({
 								// 	title: "网络繁忙,请稍后再试",
 								// 	type: 'default',
 								// 	position: 'bottom'
 								// })
-								console.log(err)
+								
 							})
 							.finally(() => {
 								// Loading.close()
@@ -328,11 +328,11 @@
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/' + name + '.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
 			},
 			container() {
@@ -346,17 +346,17 @@
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/entered.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
-				console.log(this.res.data.data[0].specs)
+				
 				this.show_s = false
-				console.log(this.show_s)
+				
 				this.number_a = ''
-				console.log("我成功啦.")
+				
 				this.lisi.push({
 					specs: this.res.data.data[0].specs,
 					flagRegular: this.res.data.data[0].isRegular,
@@ -371,7 +371,7 @@
 					plyRating: this.res.data.data[0].plyRating,
 					scanWay: '0'
 				})
-				console.log(this.lisi)
+				
 			},
 
 			//获取扫码控件
@@ -379,7 +379,7 @@
 				uni.getNetworkType({
 					success: function(res) {
 						let none = res.networkType
-						console.log(res.networkType);
+						
 						if (none == 'none') {
 							uni.showToast({
 								icon: 'none',
@@ -390,16 +390,16 @@
 							innerAudioContext.autoplay = true;
 							innerAudioContext.src = '../../../static/mp3/failure.mp3';
 							innerAudioContext.onPlay(() => {
-								console.log('开始播放');
+								
 							});
 							innerAudioContext.onError((res) => {
-								console.log(res.errMsg);
-								console.log(res.errCode);
+								
+								
 							});
 						}
 					}
 				});
-				console.log(val)
+				
 				this.number = val
 				this.number_s = val
 				if (this.degree == undefined) {
@@ -424,63 +424,63 @@
 								scanAddress: this.address
 							}
 						}).then(res => {
-							console.log(res)
+							
 							this.tips = "胎号"
 							if (res.data.code == 513) {
-								console.log(res.data.msg)
+								
 								let name = 'regular'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 514) {
-								console.log(res.data.msg)
+								
 								let name = 'nonoperating'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 515) {
-								console.log(res.data.msg)
+								
 								let name = 'warehousing'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 517) {
-								console.log(res.data.msg)
+								
 								let name = 'atypism'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 518) {
-								console.log(res.data.msg)
+								
 								let name = 'gobeyond'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 519) {
-								console.log(res.data.msg)
+								
 								let name = 'notallow'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 500) {
-								console.log(res.data.msg)
+								
 								let name = 'error'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 0) {
-								console.log(res)
+								
 								this.res = res
-								console.log(res.data.data[0].isRegular)
+								
 								for (let i = 0; i < this.lisi.length; i++) {
 									if (this.lisi[i].tireNumber == res.data.data[0].tirenumber) {
-										console.log(res)
+										
 										let err = {
 											"data": {
 												"msg": "请勿重复录入",
 											}
 										}
-										console.log(err.data.msg)
+										
 										let name = 'duplicateentry'
 										this.tipss(err, name)
 										return
@@ -488,14 +488,14 @@
 								}
 								this.container()
 							}
-							console.log(this.lisi)
+							
 						}).catch(err => {
 							this.$refs.repeat.show({
 								title: "网络繁忙,请稍后再试",
 								type: 'default',
 								position: 'bottom'
 							})
-							console.log(err)
+							
 						})
 						.finally(() => {
 							// Loading.close()
@@ -504,11 +504,11 @@
 			},
 			container_s() {
 				this.show_d = false
-				console.log(this.show_s)
-				console.log("什么????")
+				
+				
 				this.number_s = ''
-				console.log("我成功啦")
-				console.log(this.res_s)
+				
+				
 
 				this.lisi.push({
 					specs: this.res_s.data.data[0].specs,
@@ -524,16 +524,16 @@
 					plyRating: this.res_s.data.data[0].plyRating,
 					scanWay: '1'
 				})
-				console.log(this.lisi)
+				
 				const innerAudioContext = uni.createInnerAudioContext();
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/scansuccess.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
 				this.$refs.repeat.show({
 					title: '扫码成功',
@@ -542,7 +542,7 @@
 				})
 			},
 			confirm(index) {
-				console.log(index + "什么情况")
+				
 				this.lisi.splice(index, 1)
 			},
 			scancodein() {
@@ -567,11 +567,11 @@
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/rescan.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
 			}
 		}

+ 71 - 71
pages/home/scancode/scancodeout.vue

@@ -107,7 +107,7 @@
 			}
 		},
 		onBackPress(options) {
-			console.log(options)
+			
 			if (options.from == 'backbutton') {
 				this.$u.route({
 					type: 'switchTab',
@@ -119,14 +119,14 @@
 		onLaunch() {
 			uni.$on('update', data => {
 				this.lisi = data.lisi
-				console.log(this.lisi)
+				
 			})
 		},
 		created() {
 			uni.getNetworkType({
 				success: function(res) {
 					let none = res.networkType
-					console.log(res.networkType);
+					
 					if (none == 'none') {
 						uni.showToast({
 							icon: 'none',
@@ -138,18 +138,18 @@
 			});
 			uni.$on('data', res => {
 				this.lisi = res.lisi
-				console.log(res.lisi)
+				
 			})
 			//开始扫码
 			const innerAudioContext = uni.createInnerAudioContext();
 			innerAudioContext.autoplay = true;
 			innerAudioContext.src = '../../../static/mp3/start.mp3';
 			innerAudioContext.onPlay(() => {
-				console.log('开始播放');
+				
 			});
 			innerAudioContext.onError((res) => {
-				console.log(res.errMsg);
-				console.log(res.errCode);
+				
+				
 			});
 			this.coord = ''
 		},
@@ -163,7 +163,7 @@
 					type: 'gcj02', // 返回国测局坐标
 					geocode: true,
 					success: function(res) {
-						console.log(res)
+						
 						that.tishi(res)
 					},
 					fail: function(e) {
@@ -175,7 +175,7 @@
 				})
 			},
 			async tishi(res) {
-				console.log(res)
+				
 				let this_ = this
 				this_.baidu = res
 				qqmapsdk.reverseGeocoder({
@@ -196,8 +196,8 @@
 								latitude: this_.baidu.latitude
 							}
 						}).then(res => {
-							console.log(res.data.data.result)
-							console.log(res.data)
+							
+							
 							if (res.data.code != 0) {
 								uni.showToast({
 									icon: 'none',
@@ -208,7 +208,7 @@
 								this_.addreev(this_.baidu, aress)
 							}
 						}).catch(err => {
-							console.log(err)
+							
 							uni.showToast({
 								icon: 'none',
 								title: '网络繁忙请稍后再试~'
@@ -222,13 +222,13 @@
 			async addreev(res, x) {
 				this.address = x
 				this.degree = res
-				console.log(res)
-				console.log(x)
+				
+				
 			},
 			//手动录入调用
 			manualentry() {
 				if (this.number_a.length != 0) {
-					console.log(this.degree)
+					
 					if (this.degree == undefined) {
 						uni.showToast({
 							icon: 'none',
@@ -251,62 +251,62 @@
 									scanAddress: this.address
 								}
 							}).then(res => {
-								console.log(res)
+								
 								if (res.data.code == 513) {
-									console.log(res.data.msg)
+									
 									let name = 'regular'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 514) {
-									console.log(res.data.msg)
+									
 									let name = 'nonoperating'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 515) {
-									console.log(res.data.msg)
+									
 									let name = 'warehousing'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 517) {
-									console.log(res.data.msg)
+									
 									let name = 'atypism'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 518) {
-									console.log(res.data.msg)
+									
 									let name = 'gobeyond'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 519) {
-									console.log(res.data.msg)
+									
 									let name = 'notallow'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 500) {
-									console.log(res.data.msg)
+									
 									let name = 'error'
 									this.tipss(res, name)
 									return
 								}
 								if (res.data.code == 0) {
-									console.log(res)
+									
 									this.res = res
-									console.log(res.data.data[0].isRegular)
+									
 									for (let i = 0; i < this.lisi.length; i++) {
 										if (this.lisi[i].tireNumber == res.data.data[0].tirenumber) {
-											console.log(res)
+											
 											let err = {
 												"data": {
 													"msg": "请勿重复录入",
 												}
 											}
-											console.log(err.data.msg)
+											
 											let name = 'duplicateentry'
 											this.tipss(err, name)
 											return
@@ -314,14 +314,14 @@
 									}
 									this.container()
 								}
-								console.log(this.lisi)
+								
 							}).catch(err => {
 								// this.$refs.repeat.show({
 								// 	title: "网络繁忙,请稍后再试",
 								// 	type: 'default',
 								// 	position: 'bottom'
 								// })
-								console.log(err)
+								
 							})
 							.finally(() => {
 								// Loading.close()
@@ -346,11 +346,11 @@
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/' + name + '.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
 			},
 			container() {
@@ -364,17 +364,17 @@
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/entered.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
-				console.log(this.res.data.data[0].specs)
+				
 				this.show_s = false
-				console.log(this.show_s)
+				
 				this.number_a = ''
-				console.log("我成功啦.")
+				
 				this.lisi.push({
 					specs: this.res.data.data[0].specs,
 					flagRegular: this.res.data.data[0].isRegular,
@@ -389,7 +389,7 @@
 					plyRating: this.res.data.data[0].plyRating,
 					scanWay: '0'
 				})
-				console.log(this.lisi)
+				
 			},
 
 			//获取扫码控件
@@ -397,7 +397,7 @@
 				uni.getNetworkType({
 					success: function(res) {
 						let none = res.networkType
-						console.log(res.networkType);
+						
 						if (none == 'none') {
 							uni.showToast({
 								icon: 'none',
@@ -408,16 +408,16 @@
 							innerAudioContext.autoplay = true;
 							innerAudioContext.src = '../../../static/mp3/failure.mp3';
 							innerAudioContext.onPlay(() => {
-								console.log('开始播放');
+								
 							});
 							innerAudioContext.onError((res) => {
-								console.log(res.errMsg);
-								console.log(res.errCode);
+								
+								
 							});
 						}
 					}
 				});
-				console.log(val)
+				
 				this.number = val
 				this.number_s = val
 				if (this.degree == undefined) {
@@ -445,60 +445,60 @@
 							this.res_s = res
 							this.tips = "胎号"
 							if (res.data.code == 513) {
-								console.log(res.data.msg)
+								
 								let name = 'regular'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 514) {
-								console.log(res.data.msg)
+								
 								let name = 'nonoperating'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 515) {
-								console.log(res.data.msg)
+								
 								let name = 'warehousing'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 517) {
-								console.log(res.data.msg)
+								
 								let name = 'atypism'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 518) {
-								console.log(res.data.msg)
+								
 								let name = 'gobeyond'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 519) {
-								console.log(res.data.msg)
+								
 								let name = 'notallow'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 500) {
-								console.log(res.data.msg)
+								
 								let name = 'error'
 								this.tipss(res, name)
 								return
 							}
 							if (res.data.code == 0) {
-								console.log(res)
+								
 								this.res = res
-								console.log(res.data.data[0].isRegular)
+								
 								for (let i = 0; i < this.lisi.length; i++) {
 									if (this.lisi[i].tireNumber == res.data.data[0].tirenumber) {
-										console.log(res)
+										
 										let err = {
 											"data": {
 												"msg": "请勿重复扫码",
 											}
 										}
-										console.log(err.data.msg)
+										
 										let name = 'repeatcode'
 										this.tipss(err, name)
 										return
@@ -506,7 +506,7 @@
 								}
 								this.container_s()
 							}
-							// console.log(this.lisi)
+							// 
 						}).catch(err => {
 							if (err.code == 400) { //谁给我删了......
 								this.$refs.repeat.show({
@@ -522,7 +522,7 @@
 								})
 								this.repeated()
 							}
-							console.log(err)
+							
 						})
 						.finally(() => {
 							// Loading.close()
@@ -531,11 +531,11 @@
 			},
 			container_s() {
 				this.show_d = false
-				console.log(this.show_s)
-				console.log("什么????")
+				
+				
 				this.number_s = ''
-				console.log("我成功啦")
-				console.log(this.res_s)
+				
+				
 
 				this.lisi.push({
 					specs: this.res_s.data.data[0].specs,
@@ -551,16 +551,16 @@
 					plyRating: this.res_s.data.data[0].plyRating,
 					scanWay: '1'
 				})
-				console.log(this.lisi)
+				
 				const innerAudioContext = uni.createInnerAudioContext();
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/scansuccess.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
 				this.$refs.repeat.show({
 					title: '扫码成功',
@@ -569,11 +569,11 @@
 				})
 			},
 			confirm(index) {
-				console.log(index + "什么情况")
+				
 				this.lisi.splice(index, 1)
 			},
 			scancodein() {
-				console.log("1111")
+				
 				if (this.lisi == '') {
 					this.$refs.repeat.show({
 						title: '请扫码或录入后再点击!',
@@ -581,7 +581,7 @@
 						position: 'bottom'
 					})
 				} else {
-					console.log("1111")
+					
 					this.$u.route({
 						type: 'redirectTo',
 						url: 'pages/home/Scan-code-out/index'
@@ -596,11 +596,11 @@
 				innerAudioContext.autoplay = true;
 				innerAudioContext.src = '../../../static/mp3/rescan.mp3';
 				innerAudioContext.onPlay(() => {
-					console.log('开始播放');
+					
 				});
 				innerAudioContext.onError((res) => {
-					console.log(res.errMsg);
-					console.log(res.errCode);
+					
+					
 				});
 			}
 		}

+ 9 - 9
pages/home/scancodequery/result.vue

@@ -71,7 +71,7 @@
 			uni.getNetworkType({
 				success: function(res) {
 					let none = res.networkType
-					console.log(res.networkType);
+					
 					if (none == 'none') {
 						uni.showToast({
 							icon: 'none',
@@ -88,7 +88,7 @@
 		},
 		methods: {
 			rendering() {
-				console.log(this.datalist)
+				
 				request({
 					url: '/myapp/mouldSelect',
 					method: 'Post',
@@ -99,7 +99,7 @@
 					}
 				}).then(res => {
 					this.Information = []
-					console.log(res.data)
+					
 					if (res.data.code == 0) {
 						uni.showToast({
 							icon: 'none',
@@ -120,7 +120,7 @@
 					}
 					this.text = res.data.msg
 				}).catch(err => {
-					console.log(err)
+					
 					uni.showToast({
 						icon: 'none',
 						title: '出错了请联系管理员~',
@@ -134,15 +134,15 @@
 				let this_ = this
 				uni.scanCode({
 					success: function(res) {
-						console.log('条码类型:' + res.scanType);
-						console.log('条码内容:' + res.result);
+						
+						
 						this_.datalist = res.result
 						this_.rendering()
 					}
 				})
 			},
 			query() {
-				console.log(this.datalist)
+				
 				request({
 					url: '/myapp/mouldSelect',
 					method: 'Post',
@@ -153,7 +153,7 @@
 					}
 				}).then(res => {
 					this.Information = []
-					console.log(res.data)
+					
 					if (res.data.code == 0) {
 						uni.showToast({
 							icon: 'none',
@@ -176,7 +176,7 @@
 					}
 					this.text = res.data.msg
 				}).catch(err => {
-					console.log(err)
+					
 					uni.showToast({
 						icon: 'none',
 						title: '出错了请联系管理员~',

+ 4 - 4
pages/login/index.vue

@@ -114,7 +114,7 @@
 			switchLang() {
 				this.$i18n.locale = this.$i18n.locale == 'en' ? 'zh' : 'en';
 				this.send= this.$i18n.locale == 'en' ? 'zh' : 'en';
-				console.log(this.send)
+				
 			},
 			...mapMutations(['login']),
 			judgeIosPermission() {
@@ -168,7 +168,7 @@
 						}
 					}).then(res => {
 						if (res.data.code == 0) {
-							console.log(res.data.data)
+							
 							this.toUser(res.data.data)
 							uni.$emit('login', {
 								msg: '登录成功'
@@ -178,7 +178,7 @@
 							this.$u.toast(res.data.msg);
 						}
 					}).catch(err => {
-						console.log(err)
+						
 						this.$u.toast('登录失败');
 					}).finally(() => {
 						this.loading = false
@@ -212,7 +212,7 @@
 								this.$u.toast(res.data.msg);
 							}
 						}).catch(err => {
-							console.log(err)
+							
 						}).finally(() => {
 							this.codeLoading = false
 						})

+ 3 - 3
pages/login/register_2.vue

@@ -222,7 +222,7 @@
 							this.$u.toast(res.data.msg);
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					}).finally(() => {
 					})
 				}
@@ -270,7 +270,7 @@
 							dataUrl: this.dataUrl
 						})
 					} else {
-						console.log('验证失败');
+						
 					}
 
 				});
@@ -297,7 +297,7 @@
 								this.$u.toast(res.data.msg);
 							}
 						}).catch(err => {
-							console.log(err)
+							
 						}).finally(() => {
 							this.codeLoading = false
 							// 通知验证码组件内部开始倒计时

+ 9 - 9
pages/login/register_3.vue

@@ -180,14 +180,14 @@
 					uni.openDocument({
 						filePath: '../../static/pdf/xy.pdf',
 						success: function(res) {
-							console.log('打开文档成功');
+							
 						}
 					});
 				}else{
 					uni.openDocument({
 						filePath: '../../static/pdf/zc.pdf',
 						success: function(res) {
-							console.log('打开文档成功');
+							
 						}
 					});
 				}
@@ -245,7 +245,7 @@
 					}
 					return this.agentList
 				}).catch(err => {
-					console.log(err)
+					
 				}).finally(() => {
 					uni.hideLoading()
 				})
@@ -263,7 +263,7 @@
 						this.$u.toast(res.data.msg);
 					}
 				}).catch(err => {
-					console.log(err)
+					
 				}).finally(() => {
 
 				})
@@ -282,7 +282,7 @@
 						this.$u.toast(res.data.msg);
 					}
 				}).catch(err => {
-					console.log(err)
+					
 				}).finally(() => {
 
 				})
@@ -303,7 +303,7 @@
 						this.$u.toast(res.data.msg);
 					}
 				}).catch(err => {
-					console.log(err)
+					
 				}).finally(() => {
 
 				})
@@ -355,7 +355,7 @@
 					this.getQuerybrand()
 					this.brandShow = false
 				} else {
-					console.log("至少选择一项")
+					
 				}
 			},
 			getTaskconfirm(e) {
@@ -374,7 +374,7 @@
 						if (!this.protocol) return this.$u.toast('请阅读并同意用户协议和隐私协议');
 						this.setData()
 					} else {
-						console.log('验证失败');
+						
 					}
 				});
 			},
@@ -430,7 +430,7 @@
 						this.$u.toast(res.data.msg);
 					}
 				}).catch(err => {
-					console.log(err)
+					
 				}).finally(() => {
 					setTimeout(() => {
 						this.loading = false

+ 30 - 30
pages/me/Delivery-details/index.vue

@@ -126,7 +126,7 @@
 			}
 		},
 		onBackPress(options) {
-			console.log(options)
+			
 			if (options.from == 'backbutton') {
 				this.$u.route({
 					type: 'switchTab',
@@ -150,12 +150,12 @@
 		},
 		methods: {
 			content_s() {
-				console.log(this.keyword)
+				
 			},
 			inputbox(e) {
 				this.page = 1
-				console.log(e)
-				console.log(this.length)
+				
+				
 				this.itemList = []
 				this.brandCode = null
 				this.beginDate = null
@@ -165,7 +165,7 @@
 					this.status = 'nomore';
 					this.getPage()
 				} else {
-					console.log("什么情况")
+					
 					this.getPage()
 				}
 			},
@@ -177,19 +177,19 @@
 				this.itemList = []
 				this.beginDate = e.startDate + " 00:00:00"
 				this.endDate = e.endDate + " 23:59:59"
-				console.log(e)
-				console.log("触发了")
-				console.log(this.show_d)
+				
+				
+				
 				this.current = 0
 				this.getPage()
 			},
 			click(index) {
 				this.page = 1
-				console.log(`点击了第${index + 1}项,内容为:${this.list_a[index].brandCode}`)
+				
 				this.brandCode = this.list_a[index].brandCode
 				this.itemList = []
 				this.judge = true
-				console.log(this.judge)
+				
 				this.getPage()
 			},
 			whole() {
@@ -202,7 +202,7 @@
 				this.endDate = null
 				this.content = null
 				this.page = 1
-				console.log(this.brandCode)
+				
 				this.getPage()
 			},
 			brand() {
@@ -223,10 +223,10 @@
 							userId: this.$store.state.storeInfo.userId
 						}
 					}).then(res => {
-						console.log(res)
-						console.log(res.data.data)
+						
+						
 						for (let i = 0; i < res.data.data.length; i++) {
-							console.log(res.data.data[i].brandCode)
+							
 							this.list_a.push({
 								brandCode: res.data.data[i].brandCode,
 								text: res.data.data[i].brandName,
@@ -235,7 +235,7 @@
 							})
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					}).finally(() => {
 						// Loading.close()
 					})
@@ -270,10 +270,10 @@
 			// 					userId:this.$store.state.storeInfo.userId
 			// 				}
 			// 			}).then(res => {
-			// 				console.log(res)
-			// 				console.log(res.data.data)
+			// 				
+			// 				
 			// 				for (let i = 0; i < res.data.data.length; i++) {
-			// 					console.log(res.data.data[i].brandCode)
+			// 					
 			// 					this.list_a.push({
 			// 						brandCode: res.data.data[i].brandCode,
 			// 						text: res.data.data[i].brandName,
@@ -282,30 +282,30 @@
 			// 					})
 			// 				}
 			// 			}).catch(err => {
-			// 				console.log(err)
+			// 				
 			// 			}).finally(() => {
 			// 				// Loading.close()
 			// 			})
 			// 		}
 			// 	} else if (index == 0) {
 			// 		this.page = 0
-			// 		console.log(this.brandCode)
+			// 		
 			// 		this.getPage()
 			// 	} else if (index == 2) {
 			// 		this.show_d = true
 			// 	}
-			// 	console.log(this.current)
+			// 	
 			// },
 			getPage() {
-				console.log(this.page)
-				console.log(this.brandCode)
-				console.log(this.beginDate)
-				console.log(this.endDate)
-				console.log(this.content)
+				
+				
+				
+				
+				
 				uni.showLoading({
 					title: '加载中...'
 				});
-				console.log("加载中")
+				
 				setTimeout(function() {
 					uni.hideLoading();
 				}, 1000);
@@ -324,7 +324,7 @@
 						content: this.content //搜索内容
 					}
 				}).then(res => {
-					console.log(res)
+					
 					if(res.data.code == 500){
 						uni.showToast({
 							icon: 'none',
@@ -342,11 +342,11 @@
 					} else {
 						this.judge = false
 					}
-					console.log(this.itemList)
+					
 					return this.itemList
 					}
 				}).catch(err => {
-					console.log(err)
+					
 				}).finally(() => {
 					// Loading.close()
 				})

+ 5 - 5
pages/me/Reward-details/index.vue

@@ -160,7 +160,7 @@
 							}
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {
@@ -202,7 +202,7 @@
 			},
 			// 时间选择器获取时间
 			changetime(e) {
-				console.log(e)
+				
 				this.startTime = e.startDate
 				this.endTime = e.endDate
 				this.datalist = []
@@ -232,7 +232,7 @@
 							}
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {
@@ -262,7 +262,7 @@
 							})
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {
@@ -306,7 +306,7 @@
 							}
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {

+ 2 - 2
pages/me/Settlement-center/index.vue

@@ -159,7 +159,7 @@
 						method: 'post',
 						data: this.Arry[index]
 					}).then(res => {
-						console.log(res)
+						
 						if (res.data.msg == "success") {
 							uni.showToast({
 								title: '核销成功',
@@ -176,7 +176,7 @@
 						}
 
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {

+ 28 - 28
pages/me/Warehousing-details/index.vue

@@ -139,7 +139,7 @@
 			this.whole()
 		},
 		onBackPress(options) {
-			// console.log(options)
+			// 
 			if (options.from == 'backbutton') {
 				this.$u.route({
 					type: 'switchTab',
@@ -150,12 +150,12 @@
 		},
 		methods: {
 			content_s() {
-				// console.log(this.keyword)
+				// 
 			},
 			inputbox(e) {
 				this.page = 1
-				// console.log(e)
-				// console.log(this.length)
+				// 
+				// 
 				this.itemList = []
 				this.brandCode = null
 				this.beginDate = null
@@ -165,7 +165,7 @@
 					this.status = 'nomore';
 					this.getPage()
 				} else {
-					// console.log("什么情况")
+					// 
 					this.getPage()
 				}
 			},
@@ -177,19 +177,19 @@
 				this.itemList = []
 				this.beginDate = e.startDate + " 00:00:00"
 				this.endDate = e.endDate + " 23:59:59"
-				// console.log(e)
-				// console.log("触发了")
-				// console.log(this.show_d)
+				// 
+				// 
+				// 
 				this.current = 0
 				this.getPage()
 			},
 			click(index) {
 				this.page = 1
-				// console.log(`点击了第${index + 1}项,内容为:${this.list_a[index].brandCode}`)
+				// 
 				this.brandCode = this.list_a[index].brandCode
 				this.itemList = []
 				this.judge = true
-				// console.log(this.judge)
+				// 
 				this.getPage()
 			},
 			whole() {
@@ -203,7 +203,7 @@
 				this.endDate = null
 				this.content = null
 				this.page = 1
-				// console.log(this.brandCode)
+				// 
 				this.getPage()
 			},
 			brand() {
@@ -224,10 +224,10 @@
 							userId: this.$store.state.storeInfo.userId
 						}
 					}).then(res => {
-						// console.log(res)
-						// console.log(res.data.data)
+						// 
+						// 
 						for (let i = 0; i < res.data.data.length; i++) {
-							// console.log(res.data.data[i].brandCode)
+							// 
 							this.list_a.push({
 								brandCode: res.data.data[i].brandCode,
 								text: res.data.data[i].brandName,
@@ -273,10 +273,10 @@
 			// 					userId:this.$store.state.storeInfo.userId
 			// 				}
 			// 			}).then(res => {
-			// 				console.log(res)
-			// 				console.log(res.data.data)
+			// 				
+			// 				
 			// 				for (let i = 0; i < res.data.data.length; i++) {
-			// 					console.log(res.data.data[i].brandCode)
+			// 					
 			// 					this.list_a.push({
 			// 						brandCode: res.data.data[i].brandCode,
 			// 						text: res.data.data[i].brandName,
@@ -285,26 +285,26 @@
 			// 					})
 			// 				}
 			// 			}).catch(err => {
-			// 				console.log(err)
+			// 				
 			// 			}).finally(() => {
 			// 				// Loading.close()
 			// 			})
 			// 		}
 			// 	} else if (index == 0) {
 			// 		this.page = 0
-			// 		console.log(this.brandCode)
+			// 		
 			// 		this.getPage()
 			// 	} else if (index == 2) {
 			// 		this.show_d = true
 			// 	}
-			// 	console.log(this.current)
+			// 	
 			// },
 			getPage() {
-				// console.log(this.page)
-				// console.log(this.brandCode)
-				// console.log(this.beginDate)
-				// console.log(this.endDate)
-				// console.log(this.content)
+				// 
+				// 
+				// 
+				// 
+				// 
 				uni.showLoading({
 					title: '加载中...'
 				});
@@ -326,7 +326,7 @@
 						content: this.content //搜索内容
 					}
 				}).then(res => {
-					// console.log(res)
+					// 
 					if(res.data.code == 500){
 						uni.showToast({
 							icon: 'none',
@@ -344,11 +344,11 @@
 						} else {
 							this.judge = false
 						}
-						// console.log(this.itemList)
+						// 
 						return this.itemList
 					}
 				}).catch(err => {
-					// console.log(err)
+					// 
 					uni.showToast({
 						icon: 'none',
 						title: '网络繁忙,请稍后再试~',

+ 3 - 3
pages/me/Write-off-management/index.vue

@@ -123,7 +123,7 @@
 						}
 
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {
@@ -163,7 +163,7 @@
 						this.pages = res.data.data.pages
 						// this.orderList = this.orderList.concat(res.data.data.records)
 						for (let i = 0; i < res.data.data.records.length; i++) {
-							console.log(res.data.data.records[i].b2bStatus)
+							
 							if (res.data.data.records[i].status == 0) {
 								this.b2bStatus = "待审核"
 							} else if (res.data.data.records[i].status == 2) {
@@ -173,7 +173,7 @@
 							}
 						}
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {

+ 15 - 15
pages/me/agent-stock/agent-stock.vue

@@ -89,7 +89,7 @@
 		},
 		methods: {
 			scrollBottom(v) {
-				console.log(v);
+				
 				if (this.loadStatus == "loadmore") {
 					this.loadStatus = 'loading';
 					uni.showLoading({
@@ -124,9 +124,9 @@
 				request({
 					url: '/app/appAgent/getStoreAgentCondition',
 				}).then(res => {
-					console.log(res.data.data.brands)
+					
 					if (res.data.code == 0) {
-						console.log(res)
+						
 						// 获取品牌列表
 						_this.brandList = [];
 						res.data.data.data.brands.forEach(function(val, index) {
@@ -144,7 +144,7 @@
 							});
 						});
 					} else {
-						console.log(res)
+						
 						uni.showToast({
 							title: res.data.msg,
 							icon: "none",
@@ -152,7 +152,7 @@
 						});
 					}
 				}).catch(err => {
-					console.log(err)
+					
 					this.currentPage -= 1;
 				}).finally(() => {
 					setTimeout(() => {
@@ -180,29 +180,29 @@
 					}
 				}).then(res => {
 					if (res.data.code == 0) {
-						console.log(res)
+						
 						// 获取数据列表
 						if (_this.first == 0) {
 							_this.datalist = [];
 							_this.datalist = _this.datalist.concat(res.data.data.stockInfo);
 							_this.total = parseInt(res.data.data.count);
 							_this.totalPage = Math.ceil(_this.total / _this.pageSize);
-							console.log(_this.totalPage)
+							
 						} else {
-							console.log(_this.currentPage);
-							console.log(_this.totalPage)
+							
+							
 							_this.datalist = _this.datalist.concat(res.data.data.stockInfo);
-							console.log(_this.datalist.length)
+							
 						};
 						// 分页
 						if (_this.currentPage < _this.totalPage) {
 							_this.loadStatus = "loadmore"
 						} else {
-							console.log("nomore")
+							
 							_this.loadStatus = "nomore"
 						}
 					} else {
-						console.log(res)
+						
 						uni.showToast({
 							title: res.data.msg,
 							icon: "none",
@@ -210,7 +210,7 @@
 						});
 					}
 				}).catch(err => {
-					console.log(err)
+					
 					this.currentPage -= 1;
 				}).finally(() => {
 					setTimeout(() => {
@@ -239,11 +239,11 @@
 					this.currentPage = 1;
 					this.handleGetData();
 				}
-				console.log(this.currentSpec)
+				
 
 			},
 			inputFocus() {
-				console.log(111);
+				
 				this.inputCustomStyle = {
 					position: "absolute",
 					zIndex: "100",

+ 6 - 26
pages/me/index.vue

@@ -17,17 +17,9 @@
 							<view style="color: #fff; font-size: 40rpx" class="u-margin-bottom-20">
 								<text class="more_text">{{ userInfo.storeName }}</text>
 							</view>
-							<view style="
-                  border: 1rpx solid #e3e3e3;
-                  border-radius: 30rpx;
-                  font-size: 24rpx;
-                  color: #fff;
-                  padding: 2rpx 20rpx;
-                  text-align: center;
-                ">
+							<view style="border: 1rpx solid #e3e3e3;border-radius: 30rpx;font-size: 24rpx;color: #fff;padding: 2rpx 20rpx;text-align: center;">
 								<text class="more_text">
-									{{ userInfo.province }}{{ userInfo.city }}{{ userInfo.district
-				  }}{{ userInfo.addressInfo }}
+									{{ userInfo.province }}{{ userInfo.city }}{{ userInfo.district}}{{ userInfo.addressInfo }}
 								</text>
 							</view>
 						</view>
@@ -97,8 +89,8 @@
 						<view style="font-size: 34rpx"> 我的服务 </view>
 					</view>
 					<view slot="body">
-						<view class="" style="height: 300rpx; font-size: 24rpx">
-							<view class="u-flex u-row-around" style="margin: 20rpx 0;">
+						<view style="height: 300rpx; font-size: 24rpx;display:flex;align-content:space-around;flex-wrap: wrap;width: 100%;">
+							<view class="u-flex u-row-around" style="width:100%;">
 								<view class="u-flex u-row-centter" style="flex-direction: column; width: 25%" @click="inPage(0)">
 									<view>
 										<u-image width="80rpx" height="80rpx" src="../../static/sailun/instock.png" :lazy-load="true" shape="circle">
@@ -121,7 +113,7 @@
 									<view style="color: #000000" class="u-m-t-10"> 奖励明细 </view>
 								</view>
 							</view>
-							<view class="u-flex u-row-around">
+							<view class="u-flex u-row-around" style="width:100%;">
 								<view class="u-flex u-row-centter" style="flex-direction: column; width: 25%" @click="inPage(5)">
 									<view>
 										<u-image width="80rpx" height="80rpx" src="../../static/sailun/write.png" :lazy-load="true" shape="circle">
@@ -152,18 +144,6 @@
 					</view>
 				</u-card>
 				<u-cell-group>
-<!-- 					<u-cell-item title="核销记录" @click="inPage(8)">
-						<u-icon slot="icon" size="42" name="balance-o" custom-prefix="van-icon"></u-icon>
-					</u-cell-item>
-					<u-cell-item title="兑换记录" @click="inPage(9)">
-						<u-icon slot="icon" size="42" name="balance-list-o" custom-prefix="van-icon"></u-icon>
-					</u-cell-item>
-					<u-cell-item title="经销商库存" @click="inPage(10)">
-						<u-icon slot="icon" size="42" name="points" custom-prefix="van-icon"></u-icon>
-					</u-cell-item>
-					<u-cell-item v-if="this.$store.state.storeInfo.sourceFlag==1" title="修改地理位置" @click="inPage(12)">
-						<u-icon slot="icon" size="42" name="points" custom-prefix="van-icon"></u-icon>
-					</u-cell-item> -->
 					<u-cell-item title="设置" @click="inPage(11)">
 						<u-icon slot="icon" size="42" name="setting-o" custom-prefix="van-icon"></u-icon>
 					</u-cell-item>
@@ -241,7 +221,7 @@
 						this.userInfo = res.data.data;
 					})
 					.catch((err) => {
-						console.log(err);
+						
 					})
 					.finally(() => {
 						this.loading = false;

+ 4 - 4
pages/me/management.vue

@@ -54,7 +54,7 @@
 			uni.showLoading({
 				title: '加载中...'
 			});
-			console.log("加载中")
+			
 			setTimeout(function() {
 				uni.hideLoading();
 			}, 1000);
@@ -65,7 +65,7 @@
 				uni.getNetworkType({
 					success: function(res) {
 						let none = res.networkType
-						console.log(res.networkType);
+						
 						if (none == 'none') {
 							uni.showToast({
 								icon: 'none',
@@ -83,7 +83,7 @@
 						// userId: this.$store.state.storeInfo.userId
 					}
 				}).then(res => {
-					console.log(res)
+					
 					if (res.data.code == 0) {
 						this.supplier_s = res.data.data.data
 						this.judge = false
@@ -95,7 +95,7 @@
 						})
 					}
 				}).catch(err => {
-					console.log(err)
+					
 					uni.showToast({
 						icon: 'none',
 						title: '出错了,请稍后再试',

+ 5 - 5
pages/me/search/index.vue

@@ -63,9 +63,9 @@
 		},
 		methods: {
 			data(e) {
-				console.log(e)
+				
 				this.input = e
-				console.log(this.input)
+				
 				request({
 						url: '/myPage/getPageScanRewordList',
 						method: 'post',
@@ -77,7 +77,7 @@
 							'searchKey': this.input
 						}
 					}).then(res => {
-						console.log(res)
+						
 						this.datalist = res.data.data
 						// 判断扫码类型
 						for (var i = 0; i < res.data.data.length; i++) {
@@ -87,9 +87,9 @@
 								this.getWay = "门店扫码"
 							}
 						}
-						console.log(res.data.data)
+						
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {

+ 38 - 38
pages/me/setting/setting.vue

@@ -76,8 +76,8 @@
 		created() {
 			this.getMyinfo();
 			plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
-				console.log(wgtinfo);
-				console.log(wgtinfo.version); //版本号
+				
+				 //版本号
 				this.edition_s = wgtinfo.version
 			})
 
@@ -94,13 +94,13 @@
 			edition() {
 				uni.getSystemInfo({
 					success: res => {
-						console.log(res.platform);
+						
 					},
 					complete: err => {
 						if (err.platform == 'android') {
 							this.onLaunch_s()
 						} else if (err.platform == 'ios') {
-							console.log("暂无数据")
+							
 							this.iosstartup()
 						}
 					}
@@ -114,15 +114,15 @@
 							osType: 1
 						}
 					}).then(res => {
-						console.log(res)
-						console.log(res.data.code)
-						console.log(res.data.forceVersion) //最低版本
-						console.log(res.data.msg) //更新文案
-						console.log(res.data.version) //最新版本
+						
+						
+						 //最低版本
+						 //更新文案
+						 //最新版本
 				
 						plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
-							console.log(wgtinfo);
-							console.log(wgtinfo.version); //版本号
+							
+							 //版本号
 							if (wgtinfo.version == res.data.version) {
 								this.show_s = true
 								uni.showToast({
@@ -130,9 +130,9 @@
 									title: '已是最新版本',
 									position: "bottom"
 								})
-								console.log("已是最新版本")
+								
 							} else if (wgtinfo.version != res.data.forceVersion) {
-								console.log("强制版本更新")
+								
 								res.data.msg = res.data.msg.replace(/\\n/g,"\n")
 								uni.showModal({
 									title: "发现新版本",
@@ -141,20 +141,20 @@
 									confirmText: "立即去AppStore更新",
 									success: function(res) {
 										if (res.confirm) {
-											console.log('用户点击确定');
+											
 											let appleId = 1518555723
 											plus.runtime.launchApplication({
 												action: `itms-apps://itunes.apple.com/cn/app/id${appleId}?mt=8`
 											}, function(e) {
-												console.log('Open system default browser failed: ' + e.message);
+												
 											});
 										} else if (res.cancel) {
-											console.log('用户点击取消');
+											
 										}
 									}
 								})
 							} else if (wgtinfo.version == res.data.forceVersion) {
-								console.log("最低版本更新")
+								
 								res.data.msg = res.data.msg.replace(/\\n/g,"\n")
 								uni.showModal({
 									title: "发现新版本",
@@ -163,15 +163,15 @@
 									confirmText: "立即去AppStore更新",
 									success: function(res) {
 										if (res.confirm) { 
-											console.log('用户点击确定');
+											
 											let appleId = 1518555723
 											plus.runtime.launchApplication({
 												action: `itms-apps://itunes.apple.com/cn/app/id${appleId}?mt=8`
 											}, function(e) {
-												console.log('Open system default browser failed: ' + e.message);
+												
 											});
 										} else if (res.cancel) {
-											console.log('用户点击取消');
+											
 										}
 									}
 								})
@@ -180,7 +180,7 @@
 						})
 				
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						// Loading.close()
@@ -191,7 +191,7 @@
 				if (this.show_s == true) {
 					this.show_s = false
 				}
-				console.log(this.show_s)
+				
 				request({
 						url: '/baseReq/apkUpgrade',
 						method: 'get',
@@ -199,15 +199,15 @@
 							osType: 0
 						}
 					}).then(res => {
-						console.log(res)
-						console.log(res.data.forceVersion) //最低版本
-						console.log(res.data.msg) //更新文案
-						console.log(res.data.url) //下载最新版地址
-						console.log(res.data.version) //最新版本
+						
+						 //最低版本
+						 //更新文案
+						 //下载最新版地址
+						 //最新版本
 
 						plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
-							console.log(wgtinfo);
-							console.log(wgtinfo.version); //版本号
+							
+							 //版本号
 							if (wgtinfo.version == res.data.version) {
 								this.show_s = false
 								uni.showToast({
@@ -216,28 +216,28 @@
 									position: "bottom"
 								})
 								this.closeModal();
-								console.log("已经是最新版本了")
+								
 							} else if (wgtinfo.version != res.data.forceVersion) {
-								console.log("必须强制更新")
+								
 								this.Copywriting = res.data.msg
 								this.show_s = true
-								console.log(res.data.url)
+								
 								this.url = res.data.url
 								this.is_force = true
 							} else if (wgtinfo.version == res.data.forceVersion) {
-								console.log("达到最低版本")
+								
 								this.Copywriting = res.data.msg
-								console.log(this.Copywriting)
+								
 								this.is_force = false
 								this.show_s = true
-								console.log(this.show_s)
+								
 								this.url = res.data.url
 							}
 
 						})
 
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						// Loading.close()
@@ -254,10 +254,10 @@
 					})
 					.then((res) => {
 						this.userInfo = res.data.data;
-						console.log(this.userInfo);
+						
 					})
 					.catch((err) => {
-						console.log(err);
+						
 					})
 					.finally(() => {
 						this.loading = false;

+ 6 - 6
pages/me/suppliers.vue

@@ -39,7 +39,7 @@
 			uni.showLoading({
 				title: '加载中...'
 			});
-			console.log("加载中")
+			
 			setTimeout(function() {
 				uni.hideLoading();
 			}, 1000);
@@ -55,16 +55,16 @@
 						userId: this.$store.state.storeInfo.userId
 					}
 				}).then(res => {
-					console.log(res.data.data)
-					console.log(res)
+					
+					
 					this.supplier_s = res.data.data
-					console.log(this.supplier_s)
+					
 					if (this.supplier_s.length != 0) {
 						this.judge = false
 					}
-					console.log(res.data.data[1].brandList[1])
+					
 				}).catch(err => {
-					console.log(err)
+					
 					if (this.supplier_s.length != 0) {
 						this.judge = false
 					}

+ 1 - 1
pages/msg/System-message/index.vue

@@ -70,7 +70,7 @@
 
 
 					}).catch(err => {
-						console.log(err)
+						
 					})
 					.finally(() => {
 						setTimeout(() => {

+ 1 - 1
pages/template/keyboardPay/index.vue

@@ -87,7 +87,7 @@
 				this.show = flag;
 			},
 			finish(){
-				console.log(11111)
+				
 			}
 		}
 	}

+ 2 - 2
pages/template/login/code.vue

@@ -53,11 +53,11 @@ export default {
 		},
 		// change事件侦听
 		change(value) {
-			// console.log('change', value);
+			// 
 		},
 		// 输入完验证码最后一位执行
 		finish(value) {
-			// console.log('finish', value);
+			// 
 		}
 	}
 };

BIN
static/sailun/1.png