zhangyuewww il y a 2 ans
Parent
commit
b25bd416ff
2 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 3 3
      pages/order/confirmLoading.vue
  2. 5 5
      pages/order/confirmUnloading.vue

+ 3 - 3
pages/order/confirmLoading.vue

@@ -122,7 +122,7 @@
 <script>
 	let that;
 	//插件对象
-	var sdkwx = uni.requireNativePlugin('Hdgq-LocSdkWX');
+	// var sdkwx = uni.requireNativePlugin('Hdgq-LocSdkWX');
 	import uploadImage from '@/components/ossutil/uploadFile.js';
 	import * as config from '@/config/index.js'
 	import {
@@ -209,7 +209,7 @@
 			sdkwx.checkLocationPermission(function(res) {
 				console.log(res);
 			});
-			this.auth()
+			// this.auth()
 		},
 		onHide() {
 			uni.removeStorageSync(
@@ -871,7 +871,7 @@
 					console.log("暂存")
 					this.affirm(data)
 				} else { //提交
-					this.start(data) //先调用管局start
+					this.affirm(data) //先调用管局start
 				}
 			}
 		},

+ 5 - 5
pages/order/confirmUnloading.vue

@@ -744,11 +744,11 @@
 						" " + h + ":" + f + ":" + m
 				}
 				this.detailData.carrierInfo.carNo = this.detailData.carNumber
-				if (this.detailData.statusFlag != 1 && this.detailData.orderStatus == "运输中") {
-					let _data = await this.stopMap()
-					console.log(3)
-					if (!_data) return
-				}
+				// if (this.detailData.statusFlag != 1 && this.detailData.orderStatus == "运输中") {
+				// 	let _data = await this.stopMap()
+				// 	console.log(3)
+				// 	if (!_data) return
+				// }
 				this.$request.baseRequest('post', '/carrierInfo/unLoadingAdd', this.detailData.carrierInfo).then(
 						res => {
 							console.log(4)