Kaynağa Gözat

报价单分享异常处理

@dongkboy 1 yıl önce
ebeveyn
işleme
83d2abb973
1 değiştirilmiş dosya ile 13 ekleme ve 3 silme
  1. 13 3
      pages/orders/quotation.vue

+ 13 - 3
pages/orders/quotation.vue

@@ -88,7 +88,7 @@
 						<view class="dis  a-c">
 							<view>车主身份证号:</view>
 							<view class="dis j-start">
-								{{ownerinfo.identifyNumber.slice(0,4)+'**** **** **'+ownerinfo.identifyNumber.slice(14,18)}}
+								{{ownerinfo.identifyNumber}}
 							</view>
 						</view>
 						<view class="dis  a-c">
@@ -98,7 +98,7 @@
 						<view class="dis  a-c">
 							<view>投保人身份证号:</view>
 							<view class="dis j-start">
-								{{applyinfo.identifyNumber.slice(0,4)+'**** **** **'+applyinfo.identifyNumber.slice(14,18)}}
+								{{applyinfo.identifyNumber}}
 							</view>
 						</view>
 						<view class="dis  a-c">
@@ -108,7 +108,7 @@
 						<view class="dis  a-c">
 							<view>被保人身份证号:</view>
 							<view class="dis j-start">
-								{{insureinfo.identifyNumber.slice(0,4)+'**** **** **'+insureinfo.identifyNumber.slice(14,18)}}
+								{{insureinfo.identifyNumber}}
 							</view>
 
 						</view>
@@ -167,6 +167,10 @@
 							</u-table>
 						</view>
 						<view class="dis f-c mt-3" v-if="dataInfo.jyName">
+							<view class="dis j-s a-c">
+								<text class="font-weight" style="color: #6B2709;font-size: 15px;">驾意险</text>
+
+							</view>
 							<text class="tagHeader dis a-c">
 								<text>{{dataInfo.jyName}}
 									<view class="tag"></view>
@@ -346,6 +350,12 @@
 				.vehicleUse) : this.dictionaryMatching(this.businessVehicleUseoptions,
 				data.carinfo
 				.vehicleUse)
+			data.ownerinfo.identifyNumber = data.ownerinfo.identifyNumber.slice(0, 4) + '*******' + data.ownerinfo
+				.identifyNumber.slice(14, 18);
+			data.applyinfo.identifyNumber = data.applyinfo.identifyNumber.slice(0, 4) + '*******' + data.applyinfo
+				.identifyNumber.slice(14, 18);
+			data.insureinfo.identifyNumber = data.insureinfo.identifyNumber.slice(0, 4) + '*******' + data.insureinfo
+				.identifyNumber.slice(14, 18);
 			this.carinfo = data.carinfo;
 			this.ownerinfo = data.ownerinfo;
 			this.applyinfo = data.applyinfo;