caojunjie 4 år sedan
förälder
incheckning
e825112632
3 ändrade filer med 16 tillägg och 5 borttagningar
  1. 1 1
      manifest.json
  2. 13 2
      pages/home/scancode/index.vue
  3. 2 2
      pages/home/scancode/scancodeout.vue

+ 1 - 1
manifest.json

@@ -2,7 +2,7 @@
     "name" : "耀灵全钢店管家",
     "appid" : "__UNI__0C3473D",
     "description" : "测试",
-    "versionName" : "0.0.0.0.0.9",
+    "versionName" : "0.0.0.0.0.10",
     "versionCode" : "100",
     "transformPx" : false,
     "app-plus" : {

+ 13 - 2
pages/home/scancode/index.vue

@@ -407,6 +407,17 @@
 						}
 					}
 				});
+				let datats = {
+							storeId: this.$store.state.storeInfo.storeId,
+							userId: this.$store.state.storeInfo.userId,
+							tyreNum: this.number_s,
+							scanType: 1,
+							scanWay: 1,
+							longitude: this.degree.x,
+							latitude: this.degree.y,
+							scanAddress: this.address
+						}
+						console.log(datats)
 				console.log(val)
 				this.number = val
 				this.number_s = val
@@ -419,8 +430,8 @@
 							tyreNum: this.number_s,
 							scanType: 1,
 							scanWay: 1,
-							longitude: this.addd.lng,
-							latitude: this.addd.lat,
+							longitude: this.degree.x,
+							latitude: this.degree.y,
 							scanAddress: this.address
 						}
 					}).then(res => {

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

@@ -419,8 +419,8 @@
 							tyreNum: this.number_s,
 							scanType: 2,
 							scanWay: 1,
-							longitude: this.addd.lng,
-							latitude: this.addd.lat,
+							longitude: this.degree.x,
+							latitude: this.degree.y,
 							scanAddress: this.address
 						}
 					}).then(res => {