gjy 2 anos atrás
pai
commit
3622855ce0

+ 2 - 2
App.vue

@@ -169,8 +169,8 @@
 									content='身份信息已过期!'
 									confirmtext='立即修改'
 								}else{
-									content='身份信息未认证,去认证?'
-									confirmtext='确认'
+									content='身份信息未认证'
+									confirmtext='去认证'
 								}
 								let options = {
 								    title: '提示', 

+ 18 - 15
pages/mine/cargoowner/editpersonalinformation.vue

@@ -30,7 +30,7 @@
 
 				<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit"></image>
 			</view>
-			<view style='padding:5px 0 10px;border-bottom:1px solid #eee;' class="flex flex-space-between width100">
+			<view style='border-bottom:1px solid #eee;' class="flex row flex-space-between width100">
 				<view class="left-text" style='font-size:14px;'>姓名</view>
 				<view style='padding-right:10px;' class="flex">
 					<u--input @input='nameinput' placeholder="输入姓名" inputAlign='right' border="none"
@@ -38,7 +38,7 @@
 					</u--input>
 				</view>
 			</view>
-			<view class="flex row flex-space-between" style='padding:10px 0 5px;border-bottom:1px solid #eee;'>
+			<view class="flex row flex-space-between" style='border-bottom:1px solid #eee;'>
 				<view class="left-text" style='font-size:14px;'>性别</view>
 				<view>
 					<u-radio-group v-model="dataDetails.sex" placement="row">
@@ -48,7 +48,7 @@
 					</u-radio-group>
 				</view>
 			</view>
-			<view class="flex row row-ch flex-space-between" style='padding:10px 0 5px;'>
+			<view style='margin-top:10px;padding-bottom:11px;' class="flex row flex-space-between" >
 				<view class="left-text" style='font-size:14px;'>称呼</view>
 				<view style='padding-right:10px;' class='flex flex-space-between'>
 					<view style="width: 160rpx;">
@@ -61,7 +61,7 @@
 				</view>
 			</view>
 
-			<view style='padding:10px 0 5px;border-bottom:1px solid #eee;' class="flex width100 flex-space-between">
+			<view style='border-bottom:1px solid #eee;margin-top:10px;padding-bottom:11px;' class="flex row width100 flex-space-between">
 				<view class="left-text" style='font-size:14px;'>联系电话</view>
 				<view style='padding-right:10px;' class="flex">
 					<u--input disabledColor='#fff' disabled placeholder="输入联系电话" inputAlign='right' border="none"
@@ -69,7 +69,7 @@
 					</u--input>
 				</view>
 			</view>
-			<view style='padding-right:10px;' class="flex row">
+			<view style='padding-right:10px;margin-top:10px;padding-bottom:11px;' class="flex row">
 				<view class="left-text">身份证号</view>
 				<u--input :disabled='dataDetails.id?true:false' placeholder="请输入身份证号" inputAlign='right' border="none"
 					v-model="dataDetails.cardNumber">
@@ -471,18 +471,21 @@
 													personImg: result,
 													flag: 1
 												}).then(res => {
-												if (res.data.recPersonNo) {
-													that.dataDetails.cardNumber = res.data.recPersonNo
-													if(that.dataDetails.cardNumber[16]%2==0){
-														that.dataDetails.sex='女'
-													}else{
-														that.dataDetails.sex='男'
+												if(!that.dataDetails.id){
+													if (res.data.recPersonNo) {
+														that.dataDetails.cardNumber = res.data.recPersonNo
+														if(that.dataDetails.cardNumber[16]%2==0){
+															that.dataDetails.sex='女'
+														}else{
+															that.dataDetails.sex='男'
+														}
+													}
+													if (res.data.recPerson) {
+														that.dataDetails.name = res.data.recPerson
+														that.dataDetails.call=that.dataDetails.name[0]
 													}
 												}
-												if (res.data.recPerson) {
-													that.dataDetails.name = res.data.recPerson
-													that.dataDetails.call=that.dataDetails.name[0]
-												}
+												
 												
 												that.$forceUpdate()
 											})

+ 3 - 2
pages/release/release.vue

@@ -799,10 +799,10 @@
 				} else {
 					this.dataObj.freightAdvance = 0
 				}
-				if(this.dataObj.receiverIdcard){
+				if(!this.dataObj.receiverIdcard){
 					this.dataObj.receiverIdcard=''
 				}
-				if(this.dataObj.receiverCreditCode){
+				if(!this.dataObj.receiverCreditCode){
 					this.dataObj.receiverCreditCode=''
 				}
 				let _list = []
@@ -971,6 +971,7 @@
 							}else{
 								this.dataObj.compId=this.qyList[i].id
 							}
+							console.log(this.qyList[i].compStatus,this.dataObj.compId)
 							uni.setStorageSync('releasecompId', this.dataObj.compId)
 						}
 						this.dataObj.freightAdvance = this.qyList[i].advanceFreightService == 1 ? true : false