zhangyuewww 3 سال پیش
والد
کامیت
92ffed89d4

+ 5 - 3
pageD/identity/companyIdentity.vue

@@ -35,12 +35,14 @@
 				<view>
 					<!-- <image src="../../static/img/authentication/business.png" mode=""></image> -->
 					<!-- 个人身份证正面 -->
-					<upload class="upload" ref="upload1" delIcon="trash" :action="action" :max-size="maxSize" :max-count="1"
+					<upload class="upload" ref="upload1" :action="action" :max-size="maxSize" :max-count="1"
 						:size-type="['compressed']" @on-success="getImgUrl1" @on-remove="onRemove"
+						delIconSize='30' delBgColor='rgba(0,0,0,0.4)' delIcon="trash"
 						@on-uploaded="isAdd = true" :before-upload="filterFileType" :options="uploadOptions1"
 						:custom="uploadCustom1"></upload>
 					<!-- 个人身份证反面 -->
-					<upload class="upload" ref="upload2" delIcon="trash" :action="action" :max-size="maxSize" :max-count="1"
+					<upload class="upload" ref="upload2" :action="action" :max-size="maxSize" :max-count="1"
+					    delIconSize='30' delBgColor='rgba(0,0,0,0.4)' delIcon="trash"
 						:size-type="['compressed']" @on-success="getImgUrl2" @on-remove="onRemove"
 						@on-uploaded="isAdd = true" :before-upload="filterFileType" :options="uploadOptions2"
 						:custom="uploadCustom2"></upload>
@@ -58,7 +60,7 @@
 					<text class="tit_red">*</text>
 					<text class="tit">身份证号</text>
 					<view class="con-list">
-						<input placeholder="请填写身份证号" name="input"
+						<input placeholder="请填写身份证号" name="input" maxlength="18"
 							v-model="identityAuthenticationInfo.customerNumberCard"></input>
 					</view>
 				</view>

+ 2 - 2
pageD/identity/companyIdentityEdit.vue

@@ -44,7 +44,7 @@
 				<view class="c-row ">
 					<text class="tit">身份证号</text>
 					<view class="con-list">
-						<input placeholder="请填写身份证号" name="input" v-model="deptList.customerNumberCard"></input>
+						<input placeholder="请填写身份证号" maxlength="18" name="input" v-model="deptList.customerNumberCard"></input>
 					</view>
 				</view>
 			</view>
@@ -114,7 +114,7 @@
 				<view class="c-row b-b">
 					<text class="tit">身份证号</text>
 					<view class="con-list">
-						<input placeholder="请填写身份证号" name="input" v-model="deptList.customerNumberCard"></input>
+						<input placeholder="请填写身份证号" name="input" maxlength="18" v-model="deptList.customerNumberCard"></input>
 					</view>
 				</view>
 			</view>

+ 13 - 11
pageD/identity/companyIdentityThree.vue

@@ -4,11 +4,13 @@
 			<!-- 上传银行卡正面 -->
 			<upload class="upload" :file-list='payeeAddressUrlList[0]' ref="upload" :action="action" :max-size="maxSize"
 				:max-count="1" :size-type="['compressed']" @on-success="getImgUrl" @on-remove="onRemove"
+				 delIconSize='30' delBgColor='rgba(0,0,0,0.4)' delIcon="trash" 
 				@on-uploaded="isAdd = true" :before-upload="filterFileType" :options="uploadOptions"
 				:custom="uploadCustom"></upload>
 			<!-- 上传银行卡反面 -->
 			<upload class="upload" :file-list='payeeAddressUrlList[1]' ref="upload" :action="action" :max-size="maxSize"
 				:max-count="1" :size-type="['compressed']" @on-success="getImgUrl1" @on-remove="onRemove"
+				 delIconSize='30' delBgColor='rgba(0,0,0,0.4)' delIcon="trash" 
 				@on-uploaded="isAdd = true" :before-upload="filterFileType" :options="uploadOptions1"
 				:custom="uploadCustom"></upload>
 		</view>
@@ -55,7 +57,7 @@
 				<input style='text-align:right;' v-model='verifyCode' placeholder="请输入验证码" type="number" maxlength="6">
 			</view>
 		</view>
-		<view class="c-row b-b" v-if="identityAuthenticationInfo.customerTypeFlag == 2">
+		<!-- <view class="c-row b-b" v-if="identityAuthenticationInfo.customerTypeFlag == 2">
 			<text class="tit">公司地址</text>
 			<view class="con-list">
 				<input placeholder="请填写公司地址" name="input" v-model="identityAuthenticationInfo.compAddress"></input>
@@ -66,7 +68,7 @@
 			<view class="con-list">
 				<input placeholder="请填写联系地址" name="input" v-model="identityAuthenticationInfo.compAddress"></input>
 			</view>
-		</view>
+		</view> -->
 		<view class="c-row b-b" >
 			<text class="tit">供应商姓名</text>
 			<view class="con-list">
@@ -326,15 +328,15 @@
 						this.$api.msg('收款人身份证号输入错误')
 						return
 					}
-					if (!this.identityAuthenticationInfo.compAddress) {
-						this.$api.msg('联系地址不能为空')
-						return
-					}
-					if (this.identityAuthenticationInfo.compAddress.length < 2 || this.identityAuthenticationInfo
-						.compAddress.length > 40) {
-						this.$api.msg('联系地址输入错误')
-						return
-					}
+					// if (!this.identityAuthenticationInfo.compAddress) {
+					// 	this.$api.msg('联系地址不能为空')
+					// 	return
+					// }
+					// if (this.identityAuthenticationInfo.compAddress.length < 2 || this.identityAuthenticationInfo
+					// 	.compAddress.length > 40) {
+					// 	this.$api.msg('联系地址输入错误')
+					// 	return
+					// }
 				} else if (this.identityAuthenticationInfo.customerTypeFlag == 2) {
 					if (!this.identityAuthenticationInfo.compAddress) {
 						this.$api.msg('公司地址不能为空')

+ 3 - 1
pageD/identity/companyIdentityTwo.vue

@@ -4,11 +4,13 @@
 			<!-- 个人身份证正面 -->
 			<upload class="upload" :file-list='cardAddressUrlList[0]' ref="upload" :action="action" :max-size="maxSize" :max-count="1"
 				:size-type="['compressed']" @on-success="getImgUrl1"  @on-remove="onRemove"
+				delIconSize='30' delBgColor='rgba(0,0,0,0.4)' delIcon="trash" 
 				@on-uploaded="isAdd = true" :before-upload="filterFileType" :options="uploadOptions1"
 				:custom="uploadCustom1" ></upload>
 			<!-- 个人身份证反面 -->
 			<upload class="upload" :file-list='cardAddressUrlList[1]' ref="upload" :action="action" :max-size="maxSize" :max-count="1"
 				:size-type="['compressed']" @on-success="getImgUrl2"  @on-remove="onRemove"
+				delIconSize='30' delBgColor='rgba(0,0,0,0.4)' delIcon="trash" 
 				@on-uploaded="isAdd = true" :before-upload="filterFileType" :options="uploadOptions2"
 				:custom="uploadCustom1" ></upload>
 		</view>
@@ -24,7 +26,7 @@
 			<text class="tit_red">*</text>
 			<text class="tit">身份证号</text>
 			<view class="con-list">
-				<input  placeholder="请填写身份证号" name="input"
+				<input  placeholder="请填写身份证号" name="input" maxlength="18"
 					v-model="identityAuthenticationInfo.customerNumberCard"></input>
 			</view>
 		</view>

+ 1 - 1
pageD/identity/driverIdentity.vue

@@ -22,7 +22,7 @@
 			<view class="c-row b-b">
 				<text class="tit">身份证号</text>
 				<view class="con-list">
-					<input placeholder="请填写身份证号" name="input" v-model="DriverViewInfo.numberCard"></input>
+					<input placeholder="请填写身份证号" maxlength="18" name="input" v-model="DriverViewInfo.numberCard"></input>
 				</view>
 			</view>
 			<view class="c-row b-b">

+ 1 - 1
pageD/identity/driverIdentityEdit.vue

@@ -30,7 +30,7 @@
 				<view class="c-row ">
 					<text class="tit">身份证号</text>
 					<view class="con-list">
-						<input placeholder="请填写身份证号" name="input" v-model="DriverViewInfo.numberCard"></input>
+						<input placeholder="请填写身份证号" maxlength="18" name="input" v-model="DriverViewInfo.numberCard"></input>
 					</view>
 				</view>
 				<view class="c-row ">