achao 3 年之前
父节点
当前提交
b5e7b82ec0

+ 18 - 18
App.vue

@@ -60,24 +60,24 @@
 			
 			var that = this
 			//判断该用户是否需要开启持续定位
-			this.$helper.fUN_AmapLocation.stop({}, result => {
-				console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
-				this.$helper.fUN_AmapLocation.start(
-					{
-						intervalTime: 1000*60,
-						isReport: true,
-						reportInterval: 5,
-						url: 'http://192.168.0.66/fun/open/test_json.do',
-						params: { a: 1, B: '测试', c: true },
-						headers: { a: '123', B: 'abcd' }
-					},
-					res => {
-						//见下方定位返回示例
-						console.log('====确认装车开启连续定位====', JSON.stringify(res));
-						//判断缓存数据条数,超过reportInterval时清空缓存,重新存入缓存
-					}
-				); 
-			});
+			// this.$helper.fUN_AmapLocation.stop({}, result => {
+			// 	console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
+			// 	this.$helper.fUN_AmapLocation.start(
+			// 		{
+			// 			intervalTime: 1000*60,
+			// 			isReport: true,
+			// 			reportInterval: 5,
+			// 			url: 'http://192.168.0.66/fun/open/test_json.do',
+			// 			params: { a: 1, B: '测试', c: true },
+			// 			headers: { a: '123', B: 'abcd' }
+			// 		},
+			// 		res => {
+			// 			//见下方定位返回示例
+			// 			console.log('====确认装车开启连续定位====', JSON.stringify(res));
+			// 			//判断缓存数据条数,超过reportInterval时清空缓存,重新存入缓存
+			// 		}
+			// 	); 
+			// });
 			
 			// fUN_AmapLocation.permission({}, result => {
 			//     console.log('====fUN_AmapLocation定位====');

+ 1 - 1
pages/goodSource/index.vue

@@ -220,7 +220,7 @@
 					});
 					if (value != 0 && value) {
 						uni.setTabBarBadge({
-							index: 2,
+							index: 3,
 							text: value + ""
 						})
 					}

+ 50 - 51
pages/mine/driverCertification.vue

@@ -2,6 +2,56 @@
 	<view class="content">
 		<view class="top-head"></view>
 		<view class="container">
+			<view class="content2 content-other">
+				<view class="title">上传身份证人像面</view>
+				<view @click.stop="uploadImg(1,index)" class="picture picture1" v-if="!dataDetails.cardAddressUrl">
+					<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
+					<view class="text">上传身份证人像面</view>
+				</view>
+				<view v-if="dataDetails.cardAddressUrl" @click.stop="uploadImg(1,index)"
+					class="preview-card-img picture">
+					<!-- <image class="card-img" :src="dataDetails.cardAddressUrl"></image> -->
+					<view @click.stop="delCard(1)">
+						<image class='del-card' src="@/static/images/common/quxiao@2x.png">
+						</image>
+					</view>
+			
+					<image class="" :src="dataDetails.cardAddressUrl" mode="aspectFit" style=""></image>
+				</view>
+			
+				<view class="title">上传身份证国徽面</view>
+				<view @click="uploadImg(2,index)" class="picture picture2" v-if="!dataDetails.cardBackAddressUrl">
+					<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
+					<view class="text">上传身份证国徽面</view>
+				</view>
+			
+				<view v-if="dataDetails.cardBackAddressUrl" @click.stop="uploadImg(2,index)"
+					class="preview-card-img picture">
+					<!-- <image class="card-img" :src="dataDetails.cardAddressUrl"></image> -->
+					<view @click.stop="delCard(2)">
+						<image class='del-card' src="@/static/images/common/quxiao@2x.png">
+						</image>
+					</view>
+			
+					<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit"></image>
+				</view>
+			
+				<view class="flex row">
+					<view class="left-text">身份证号</view>
+					<u--input placeholder="请输入身份证号" inputAlign='left' border="none" v-model="dataDetails.numberCard">
+					</u--input>
+				</view>
+			
+				<view class="flex row noborder">
+					<view class="left-text">身份证截止日期</view>
+					<view class="" @click="selectValidityPeriod">
+						{{dataDetails.cardValidityDate?dataDetails.cardValidityDate:'选择身份证截止日期>'}}
+					</view>
+				</view>
+				<u-picker :show="isShowcardValidity" ref="uPicker" :columns="validityPeriod"
+					@confirm="confirmValidityPeriod" @change="changeHandler">
+				</u-picker>
+			</view>
 			<view class="content1 content-other">
 				<view class="flex row">
 					<view class="left-text">姓名</view>
@@ -132,57 +182,6 @@
 					添加车辆
 				</view>
 			</view> -->
-
-			<view class="content2 content-other">
-				<view class="title">上传身份证人像面</view>
-				<view @click.stop="uploadImg(1,index)" class="picture picture1" v-if="!dataDetails.cardAddressUrl">
-					<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
-					<view class="text">上传身份证人像面</view>
-				</view>
-				<view v-if="dataDetails.cardAddressUrl" @click.stop="uploadImg(1,index)"
-					class="preview-card-img picture">
-					<!-- <image class="card-img" :src="dataDetails.cardAddressUrl"></image> -->
-					<view @click.stop="delCard(1)">
-						<image class='del-card' src="@/static/images/common/quxiao@2x.png">
-						</image>
-					</view>
-
-					<image class="" :src="dataDetails.cardAddressUrl" mode="aspectFit" style=""></image>
-				</view>
-
-				<view class="title">上传身份证国徽面</view>
-				<view @click="uploadImg(2,index)" class="picture picture2" v-if="!dataDetails.cardBackAddressUrl">
-					<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
-					<view class="text">上传身份证国徽面</view>
-				</view>
-
-				<view v-if="dataDetails.cardBackAddressUrl" @click.stop="uploadImg(2,index)"
-					class="preview-card-img picture">
-					<!-- <image class="card-img" :src="dataDetails.cardAddressUrl"></image> -->
-					<view @click.stop="delCard(2)">
-						<image class='del-card' src="@/static/images/common/quxiao@2x.png">
-						</image>
-					</view>
-
-					<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit"></image>
-				</view>
-
-				<view class="flex row">
-					<view class="left-text">身份证号</view>
-					<u--input placeholder="请输入身份证号" inputAlign='left' border="none" v-model="dataDetails.numberCard">
-					</u--input>
-				</view>
-
-				<view class="flex row noborder">
-					<view class="left-text">身份证截止日期</view>
-					<view class="" @click="selectValidityPeriod">
-						{{dataDetails.cardValidityDate?dataDetails.cardValidityDate:'选择身份证截止日期>'}}
-					</view>
-				</view>
-				<u-picker :show="isShowcardValidity" ref="uPicker" :columns="validityPeriod"
-					@confirm="confirmValidityPeriod" @change="changeHandler">
-				</u-picker>
-			</view>
 			<view class="" style="color: red;font-size: 26rpx;margin-top: 20rpx;">*收款人须为司机本人</view>
 			<view class="content3 flex s-row" v-for="(item,index) in dataDetails.hyDriverPayeeInfoList" :key='index'>
 				<view class="flex">

+ 2 - 2
pages/mine/manageVehicles/addVehicle.vue

@@ -342,9 +342,9 @@
 					<u-upload class="uview-upload" :fileList="fileList2" @afterRead="afterRead1($event,'2')"
 						@delete="deletePic" name="2" multiple :maxCount="1"></u-upload>
 				</view>
-				<view class="" @click="asd">
+				<!-- <view class="" @click="asd">
 					测试
-				</view>
+				</view> -->
 			</view>
 			<!-- <view class="level1-title">证件信息</view> -->
 		</view>

+ 1 - 1
pages/mine/manageVehicles/index.vue

@@ -29,7 +29,7 @@
 				</view>
 				<view class="row3">
 					<view class="text">车辆状态:</view>
-					<u-tag v-if="item.status=='已认证'" :text="item.status" type="success" plain plainFill size="mini">
+					<u-tag v-if="item.status=='已通过'" :text="item.status" type="success" plain plainFill size="mini">
 					</u-tag>
 					<u-tag v-if="item.status=='未通过'" :text="item.status" type="error" plain plainFill size="mini">
 					</u-tag>

+ 6 - 1
pages/order/bankCard.vue

@@ -17,7 +17,9 @@
 				<view class="flex flex-end number carNumber">{{item.bankCard}}</view>
 				<view class="flex align-center">
 					<!-- @/static/images/mine/bank/gflogo.png -->
-					<image class="img left" :src="item.imgLogo" mode='widthFix'>
+					<!-- <image class="img left" :src="item.imgLogo" mode='widthFix'> -->
+					<image class="img left" src="@/static/images/mine/bank/zhaoshang.png" mode='widthFix'>
+						
 					</image>
 					<view class="right">
 						<view class="text1">{{item.bankDeposit}}</view>
@@ -142,10 +144,13 @@
 					}).then(res => {
 						if (res.code == '200') {
 							this.bankList = res.data
+							console.log("````````````````")
+							console.log(res)
 							for (let i = 0; i < this.bankList.length; i++) {
 								let _obj = this.bankList[i]
 								_obj.bankNo = this.bankList[i].bankCard
 								_obj.bankCard = this.number(_obj.bankCard)
+								debugger
 								switch (_obj.bankDeposit) {
 									case "建设银行":
 										this.bankList[i].imgLogo = "../../../static/images/mine/bank/jiansheogo.png"

+ 124 - 110
pages/order/confirmLoading.vue

@@ -64,12 +64,13 @@
 			<view class='row-between'>
 				<view class="">预计运费(元)</view>
 				{{detailData.freight ? detailData.freight:"来自合同"}}
-			<!-- 	<view class=""><input class="input" type="text" value="" v-model="detailData.carrierInfo.freight"
+				<!-- 	<view class=""><input class="input" type="text" value="" v-model="detailData.carrierInfo.freight"
 						placeholder="请输入运费"></view> -->
 			</view>
 			<view class='row-between'>
 				<view class="">定位</view>
-				<view class="flex align-center">{{detailData.carrierInfo?detailData.carrierInfo.sendCity:""}} {{detailData.carrierInfo?detailData.carrierInfo.sendArea:""}}
+				<view class="flex align-center">{{localtion.city}}
+					{{localtion.sendArea}}
 					<view class="sx-style" @click.stop="getLngLat()">刷新</view>
 				</view>
 			</view>
@@ -106,6 +107,11 @@
 	export default {
 		data() {
 			return {
+				cyId:'',
+				localtion:{
+					city:'',
+					sendArea:''
+				},
 				imgList: [],
 				fileList1: [],
 				showDate: false,
@@ -113,8 +119,8 @@
 				id: '',
 				sourceType: ['camera'],
 				detailData: {
-					carrierInfo: {},
-					loadingDate:{}
+					hyCarrierInfo: {},
+					loadingDate: {}
 				},
 				action: this.$helper.ossUploadUrl,
 				maxSize: 50 * 1024 * 1024, //限制文件大小 50M
@@ -127,13 +133,14 @@
 				gjList: [],
 			}
 		},
-		onLoad(options) {
+		onLoad(options) {debugger
 			that = this
 			// #ifdef APP-PLUS
 			this.getLngLat();
 			// #endif
 			console.log(options)
 			this.id = JSON.parse(decodeURIComponent(options.obj)).id
+			this.cyId = JSON.parse(decodeURIComponent(options.obj)).carrierId
 			this.getInfo()
 			// this.detailData = JSON.parse(options.obj) ;
 			// console.log(this.detailData)
@@ -160,7 +167,7 @@
 			// 	{latitude: 39.999861, longitude: 116.484648}
 			// ]
 			// a(){},
-			toSignContract(){
+			toSignContract() {
 				uni.$u.route('/pages/order/signContract', {
 					obj: JSON.stringify(this.detailData),
 				});
@@ -169,7 +176,7 @@
 				this.showDate = true
 			},
 			confirmDate(e) {
-				this.detailData.carrierInfo.loadingDate = e[0]
+				this.detailData.hyCarrierInfo.loadingDate = e[0]
 				this.showDate = false
 			},
 			getInfo() {
@@ -181,14 +188,14 @@
 						this.$request.baseRequest('get', '/carrierInfo/getHyCarrierInfo', {
 							orderId: this.detailData.id,
 						}).then(res => {
-							if(res.data){
-								this.detailData.carNo =  res.data.carNo
-								this.detailData.loadingDate =res.data.loadingDate
-								this.detailData.weight =res.data. loadingWeight
+							if (res.data) {
+								this.detailData.carNo = res.data.carNo
+								this.detailData.loadingDate = res.data.loadingDate
+								this.detailData.weight = res.data.loadingWeight
 								this.detailData.freight = res.data.estimatedFreight
 							}
 						})
-						
+
 						// this.detailData.contractNo = ''
 						// this.detailData.id = this.detailData.carrierId
 						// this.detailData.carrierInfo.loadingDate = ''
@@ -210,14 +217,14 @@
 					}
 
 				})
-				
+
 			},
 			//车牌号弹出键盘
 			handleShowKeyboard() {
-				if (this.detailData.carrierInfo.carNo == '') {
+				if (this.detailData.hyCarrierInfo.carNo == '') {
 					this.carNumber = ''
 				} else {
-					this.carNumber = this.detailData.carrierInfo.carNo
+					this.carNumber = this.detailData.hyCarrierInfo.carNo
 				}
 				if (this.$refs.keyboard.open) {
 					this.$refs.keyboard.open(false) //true 键盘显示 false 键盘隐藏
@@ -233,93 +240,98 @@
 			//车牌号弹出键盘
 			handleClick(e) {
 				this.carNumber = e.value
-				this.detailData.carrierInfo.carNo = e.value //键盘输入值
+				this.detailData.hyCarrierInfo.carNo = e.value //键盘输入值
 			},
 			getLngLat() {
 				uni.showLoading({
 					title: '获取定位中',
 					mask: true
 				})
-				this.$helper.fUN_AmapLocation.start({
-						intervalTime: 1000 * 3,
-						isReport: false,
-					},
-					res => {
-						//见下方定位返回示例
-						console.log('====fUN_AmapLocation定位====', JSON.stringify(res));
-						if (res.latitude) {
-							this.detailData.carrierInfo.loadingAreaLongitude = res.longitude;
-							this.detailData.carrierInfo.loadingAreaLatitude = res.latitude;
-							this.detailData.carrierInfo.sendCity = this.$helper.filterUrban(res.city)
-							this.detailData.carrierInfo.sendArea = this.$helper.filterArea(res.district);
-							console.log(this.detailData.carrierInfo.sendCity)
-							console.log(this.detailData.carrierInfo.sendArea)
-							this.$forceUpdate()
+				// this.$helper.fUN_AmapLocation.start({
+				// 		intervalTime: 1000 * 3,
+				// 		isReport: false,
+				// 	},
+				// 	res => {
+				// 		//见下方定位返回示例
+				// 		console.log('====fUN_AmapLocation定位====', JSON.stringify(res));
+				// 		if (res.latitude) {
+				// 			this.detailData.carrierInfo.loadingAreaLongitude = res.longitude;
+				// 			this.detailData.carrierInfo.loadingAreaLatitude = res.latitude;
+				// 			this.detailData.carrierInfo.sendCity = this.$helper.filterUrban(res.city)
+				// 			this.detailData.carrierInfo.sendArea = this.$helper.filterArea(res.district);
+				// 			console.log(this.detailData.carrierInfo.sendCity)
+				// 			console.log(this.detailData.carrierInfo.sendArea)
+				// 			this.$forceUpdate()
 
+				// 		}
+
+
+				// 		this.$helper.fUN_AmapLocation.stop({}, result => {
+				// 				uni.hideLoading()
+				// 			console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
+				// 		});
+				// 	}
+				// );
+				uni.getLocation({
+					type: 'gcj02',
+					geocode: true,
+					success: res => {
+						console.log('定位地址')
+						console.log(res)
+						if (res.latitude) {
+							console.log('11111111111111111111111111111')
+							console.log(that.detailData)
+							that.detailData.hyCarrierInfo.loadingAreaLongitude = res.longitude;
+							that.detailData.hyCarrierInfo.loadingAreaLatitude = res.latitude;
+							that.detailData.hyCarrierInfo.sendCity = that.$helper.filterUrban(res.address.city)
+							that.localtion.city = that.$helper.filterUrban(res.address.city)
+							that.localtion.sendArea = that.$helper.filterUrban(res.address.district)
+							console.log(that.detailData.hyCarrierInfo.sendCity)
+							console.log(that.detailData.hyCarrierInfo.sendArea)
+							that.$forceUpdate()
+							uni.hideLoading()
+						} else {
+							if (uni.getSystemInfoSync().platform == 'android') {
+								var context = plus.android.importClass("android.content.Context");
+								var locationManager = plus.android.importClass(
+									"android.location.LocationManager");
+								var main = plus.android.runtimeMainActivity();
+								var mainSvr = main.getSystemService(context.LOCATION_SERVICE);
+								that.bool = mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER)
+							}
+							if (that.bool === false) {
+								uni.showModal({
+									title: '提示',
+									content: '请打开定位服务',
+									success: ({
+										confirm,
+										cancel
+									}) => {
+										if (confirm) {
+											if (uni.getSystemInfoSync().platform == 'android') {
+												var Intent = plus.android.importClass(
+													'android.content.Intent');
+												var Settings = plus.android.importClass(
+													'android.provider.Settings');
+												var intent = new Intent(Settings
+													.ACTION_LOCATION_SOURCE_SETTINGS);
+												var main = plus.android.runtimeMainActivity();
+												main.startActivity(intent); // 打开系统设置GPS服务页面
+											}
+										}
+									}
+								});
+								uni.hideLoading()
+							}
 						}
+					},
+					fail: res => {
+						console.log('定位失败')
+						console.log(res)
 						uni.hideLoading()
 
-						this.$helper.fUN_AmapLocation.stop({}, result => {
-							console.log('====fUN_AmapLocation定位stop====', JSON.stringify(result));
-						});
 					}
-				);
-				// 	uni.getLocation({
-				// 		type: 'gcj02',
-				// 		geocode: true,
-				// 		success: res => {
-				// 			console.log('定位地址')
-				// 			console.log(res)
-				// 			if (res.latitude) {
-				// 				this.detailData.carrierInfo.loadingAreaLongitude = res.longitude;
-				// 				this.detailData.carrierInfo.loadingAreaLatitude = res.latitude;
-				// 				this.detailData.carrierInfo.sendCity = this.$helper.filterUrban(res.address.city)
-				// 				this.detailData.carrierInfo.sendArea = this.$helper.filterArea(res.address
-				// 					.district);
-				// 				console.log(this.detailData.carrierInfo.sendCity)
-				// 				console.log(this.detailData.carrierInfo.sendArea)
-				// 				this.$forceUpdate()
-				// 				uni.hideLoading()
-				// 			} else {
-				// 				if (uni.getSystemInfoSync().platform == 'android') {
-				// 					var context = plus.android.importClass("android.content.Context");
-				// 					var locationManager = plus.android.importClass(
-				// 						"android.location.LocationManager");
-				// 					var main = plus.android.runtimeMainActivity();
-				// 					var mainSvr = main.getSystemService(context.LOCATION_SERVICE);
-				// 					this.bool = mainSvr.isProviderEnabled(locationManager.GPS_PROVIDER)
-				// 				}
-				// 				if (this.bool === false) {
-				// 					uni.showModal({
-				// 						title: '提示',
-				// 						content: '请打开定位服务',
-				// 						success: ({
-				// 							confirm,
-				// 							cancel
-				// 						}) => {
-				// 							if (confirm) {
-				// 								if (uni.getSystemInfoSync().platform == 'android') {
-				// 									var Intent = plus.android.importClass(
-				// 										'android.content.Intent');
-				// 									var Settings = plus.android.importClass(
-				// 										'android.provider.Settings');
-				// 									var intent = new Intent(Settings
-				// 										.ACTION_LOCATION_SOURCE_SETTINGS);
-				// 									var main = plus.android.runtimeMainActivity();
-				// 									main.startActivity(intent); // 打开系统设置GPS服务页面
-				// 								}
-				// 							}
-				// 						}
-				// 					});
-				// 				}
-				// 			}
-				// 		},
-				// 		fail: res => {
-				// 			console.log('定位失败')
-				// 			console.log(res)
-
-				// 		}
-				// 	});
+				});
 
 			},
 			alertBtn() {
@@ -448,24 +460,24 @@
 				// 	return true
 				// }
 			},
-			confirmClick() {
+			confirmClick() {debugger
 				this.isShowAlert = false
-				 if(this.validate()) return 
+				if (this.validate()) return
 				//1暂存
 				if (this.detailData.statusFlag == 1) {
-					delete this.detailData.carrierInfo.loadingAreaLongitude;
-					delete this.detailData.carrierInfo.loadingAreaLatitude;
-					delete this.detailData.carrierInfo.sendCity;
-					delete this.detailData.carrierInfo.sendArea;
+					delete this.detailData.hyCarrierInfo.loadingAreaLongitude;
+					delete this.detailData.hyCarrierInfo.loadingAreaLatitude;
+					delete this.detailData.hyCarrierInfo.sendCity;
+					delete this.detailData.hyCarrierInfo.sendArea;
 				}
-				this.detailData.carrierInfo = {}
+				this.detailData.hyCarrierInfo = {}
 				uni.showLoading({
-				    title: '加载中'
-				   })
-				this.detailData.carrierInfo.statusFlag = this.detailData.statusFlag
-				this.detailData.carrierInfo.id = this.id
-				this.detailData.carrierInfo.loadingImg = this.imgList.toString()
-				this.$request.baseRequest('post', '/carrierInfo/loadingAdd', this.detailData.carrierInfo).then(res => {
+					title: '加载中'
+				})
+				this.detailData.hyCarrierInfo.statusFlag = this.detailData.statusFlag
+				this.detailData.hyCarrierInfo.id = this.cyId
+				this.detailData.hyCarrierInfo.loadingImg = this.imgList.toString()
+				this.$request.baseRequest('post', '/carrierInfo/loadingAdd', this.detailData.hyCarrierInfo).then(res => {
 						if (res.code == 200) {
 							uni.hideLoading()
 							let _title = ''
@@ -474,11 +486,12 @@
 							} else {
 								_title = '提交成功!'
 							}
-							this.$helper.fUN_AmapLocation.start({
+							console.log(111111111111111111111111111111111111111111111)
+							that.$helper.fUN_AmapLocation.start({
 									// intervalTime: 1000 * 60,
 									intervalTime: 5000,
-									// isReport: true,
-									reportInterval: 5,
+									// locationCacheEnable:true,
+									isReport: false
 									// url: 'http://192.168.0.66/fun/open/test_json.do',
 									// params: {
 									// 	a: 1,
@@ -505,13 +518,14 @@
 									uni.setStorageSync('mapGJ', this.$helper.gjList);
 									console.log('this.$helper.gjList')
 									console.log(this.$helper.gjList)
+									console.log("条数",uni.getStorageSync('mapGJ').length)
 									if (uni.getStorageSync('mapGJ').length > 100) {
 										console.log(uni.getStorageSync('mapGJ'))
-										this.$request.baseRequest('post', '/vehicleTrajectoryInfo/api/addInfo', {
-												vehicleTrajectoryInfos: uni.getStorageSync('mapGJ')
+										this.$request.baseRequest('post', '/hyOrderTravelPath/api/addInfo', {
+												hyOrderTravelPaths: uni.getStorageSync('mapGJ')
 											}).then(res => {
+												uni.removeStorageSync('mapGJ');
 												this.$helper.gjList = []
-												uni.setStorageSync('mapGJ', []);
 											})
 											.catch(res => {
 												uni.$u.toast(res.message);

+ 1 - 1
pages/order/orderDetails.vue

@@ -322,7 +322,7 @@
 			},
 			confirmLoading() {
 				uni.$u.route('/pages/order/confirmLoading', {
-					obj: JSON.stringify({id:this.id}),
+					obj: JSON.stringify({id:this.id,carrierId:this.dataObj.hyCarrierInfo.id}),
 				});
 				// uni.$u.route('/pages/order/confirmLoading', {id:this.id});
 			},

+ 7 - 4
pages/order/signContract.vue

@@ -234,10 +234,13 @@
 				this.$request.baseRequest('get', '/driverPayeeInfo/getDriverPayee', {
 					commonId: that.firstAuthentication.commonId
 				}).then(res => {
-					this.dataDetails.bankCard = res.data.bankCard
-					this.dataDetails.bankDeposit = res.data.bankDeposit
-					this.dataDetails.bankDepositBranch = res.data.bankDepositBranch
-					this.dataDetails.payeeName = res.data.payeeName
+					if(res.data){
+						this.dataDetails.bankCard = res.data.bankCard
+						this.dataDetails.bankDeposit = res.data.bankDeposit
+						this.dataDetails.bankDepositBranch = res.data.bankDepositBranch
+						this.dataDetails.payeeName = res.data.payeeName
+					}
+				
 				})
 			}
 		},