gjy 2 年之前
父节点
当前提交
f2599ae61f
共有 4 个文件被更改,包括 17 次插入8 次删除
  1. 2 2
      config/index.js
  2. 7 0
      pages/mine/driverCertification.vue
  3. 1 2
      pages/order/addEvaluation.vue
  4. 7 4
      pages/order/confirmUnloading.vue

+ 2 - 2
config/index.js

@@ -1,6 +1,6 @@
 const dev = {
-	// baseUrlNew: 'https://apitest.eliangeyun.com',
-	baseUrlNew: 'http://192.168.110.9:8099',
+	baseUrlNew: 'https://apitest.eliangeyun.com',
+	// baseUrlNew: 'http://192.168.110.9:8099',
 	// baseUrlNew: 'http://192.168.110.82:8999',
 	// baseUrlNew: 'http://192.168.1.119:8999',
 	h5Appid: 'wxb66b599f7f61b46f',

+ 7 - 0
pages/mine/driverCertification.vue

@@ -663,6 +663,13 @@
 				if (e.value[0] == '长期') {
 					this.dataDetails.cardValidityDate = e.value[0]
 				} else {
+					if (!e.value[1] || !e.value[2]) {
+						this.$refs.uToast.show({
+							type: 'error',
+							message: "日期格式错误,请重新选择!",
+						})
+						return
+					}
 					var date=new Date()
 					if(e.value[0]<date.getFullYear()){
 						this.$refs.uToast.show({

+ 1 - 2
pages/order/addEvaluation.vue

@@ -16,8 +16,7 @@
 					@click="clickStar(index)">
 					<view class="flex" style="margin: 10rpx 0;">
 						<view class="ziti">{{item.name}}</view>
-						<start :count="item.count" style="" size="35" activeIcon="heart-fill" inactiveIcon="heart"
-							activeColor="#ffaa00" v-model="item.value1" @change="getVal" :size="22">
+						<start :value="item.value1" style="" size="35" @change="getVal" :size="36">
 						</start>
 					</view>
 

+ 7 - 4
pages/order/confirmUnloading.vue

@@ -153,6 +153,7 @@
 				// unloadingImg: '',
 				// totalFreight: '',
 				unloadingImg:this.detailData.hyCarrierInfo.unloadingImg,
+				receiptImg:this.detailData.hyCarrierInfo.receiptImg,
 				id: this.detailData.carrierId,
 			}
 			this.validityPeriod = this.$helper.makeValidityPeriod()
@@ -228,7 +229,6 @@
 						if (res.latitude) {
 							// that.detailData.hyCarrierInfo.loadingAreaLongitude = res.longitude;
 							// that.detailData.hyCarrierInfo.loadingAreaLatitude = res.latitude;
-							
 							that.detailData.carrierInfo.unloadingAreaLongitude = res.longitude;
 							that.detailData.carrierInfo.unloadingAreaLatitude = res.latitude;
 							console.log("1234567890")
@@ -480,9 +480,12 @@
 									uni.switchTab({
 										url: '/pages/order/index'
 									})
-									that.$helper.fUN_AmapLocation.stop({}, result => {
-										console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
-									});
+									if(that.$helper.fUN_AmapLocation){
+										that.$helper.fUN_AmapLocation.stop({}, result => {
+											console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
+										});
+									}
+									
 									
 								}
 							})