wuguojie 1 год назад
Родитель
Сommit
7173dcace6

+ 27 - 5
pages/carInsure/customerInterest.vue

@@ -5,7 +5,7 @@
 				<view class="dis a-c ">
 					<text>优惠金额</text>
 				</view>
-				<view>{{ `¥${ discounts }` }}</view>
+				<view>{{ `¥${ discounts.toFixed(2) }` }}</view>
 			</view>
 			<view class="item dis a-c j-s" @click="handleSelectPeople()">
 				<view class="dis a-c">
@@ -32,7 +32,7 @@
 			<view class="interestItem" v-for="(item, index) in interestItem.localEquityPackageAssociationList">
 				<view class="dis a-c j-s">
 					<view class="name">{{ item.rightsName }}</view>
-					<view class="count">xx张</view>
+					<view class="count">{{ item.number }}张</view>
 				</view>
 				<view class="canUse">使用1家门店</view>
 				<view class="dis a-c j-f" style="flex-direction: row;">
@@ -76,7 +76,7 @@
 		data() {
 			return {
 				paramsObj: null,
-				acceptCustomer: '',
+				acceptCustomer: null,
 				acceptIndex: '',
 				discounts: 0,
 				interestItem: {
@@ -100,6 +100,22 @@
 					} else {
 						this.interestItem = res.data.pageResult.content.reduce((max, obj) => Math.max(max, obj.totalPackagePrice), -Infinity)
 					}
+					if(res.data.equity) {
+						if(res.data.equity.receiveName && res.data.equity.receivePhone) {
+							this.acceptCustomer = {
+								name: res.data.equity.receiveName,
+								mobile: res.data.equity.receivePhone
+							}
+						} else {
+							this.acceptCustomer = null
+						}
+					}
+				} else {
+					uni.showToast({
+						title: res.msg,
+						icon: "error",
+						duration: 3000
+					});
 				}
 			}
 		},
@@ -110,7 +126,7 @@
 						...this.paramsObj,
 						accept: { ...this.acceptCustomer }
 					})
-					uni.redirectTo({
+					uni.navigateTo({
 						url: `/pages/carInsure/interest?params=${params}`
 					})
 				} else {
@@ -131,6 +147,12 @@
 						} else {
 							this.interestItem = res.data.pageResult.content.reduce((max, obj) => Math.max(max, obj.totalPackagePrice), -Infinity)
 						}
+					} else {
+						uni.showToast({
+							title: res.msg,
+							icon: "none",
+							duration: 3000
+						});
 					}
 				})
 				this.interestItem.localEquityPackageAssociationList = []
@@ -260,4 +282,4 @@
 			}
 		}
 	}
-</style>
+</style>

+ 49 - 12
pages/carInsure/interest.vue

@@ -14,7 +14,7 @@
 		<view class="dis a-c j-s tips">
 			<view>
 				<view>掌柜生活积分</view>
-				<view>积分可兑换金豆</view>
+				<view>积分可兑换金豆,金豆可做下单时抵现消费。</view>
 			</view>
 			<view>{{ integral.toFixed(2) }}</view>
 		</view>
@@ -22,7 +22,7 @@
 			<view class="interestItem" v-for="(item, index) in localEquityPackageAssociationList">
 				<view class="dis a-c j-s">
 					<view class="name">{{ item.rightsName }}</view>
-					<view class="count">xx张</view>
+					<view class="count">{{ item.number }}张</view>
 				</view>
 				<view class="canUse">使用1家门店</view>
 				<view class="dis a-c j-f" style="flex-direction: row;">
@@ -35,7 +35,7 @@
 				</view>
 			</view>
 		</view>
-		<view class="footer dis a-c j-s">
+		<view class="footer dis a-c j-s" v-if="showBtn">
 			<view>已选{{ giftList.length>0?giftList[giftIndex].totalPackagePrice:0 }}元权益包</view>
 			<view class="submit" @click="handleConfirm()">确认选择</view>
 		</view>
@@ -51,33 +51,64 @@
 				paramsObj: null,
 				integral: 0,
 				interestObj: null,
-				localEquityPackageAssociationList: []
+				localEquityPackageAssociationList: [],
+				showBtn: true
 			}
 		},
 		async onLoad(params) {
-			this.paramsObj = JSON.parse(params.params)
 			if(params.params) {
+				this.paramsObj = JSON.parse(params.params)
 				let res = await this.$http.post('/equity/equityInfo', {
 					pageNum: 1,
-					pageSize: 10,
+					pageSize: 99999,
 					companyId: this.paramsObj.companyId
 				})
 				if(res.code == 200) {
-					console.log(44444, res.data)
 					this.interestObj = res.data
 					this.giftList = res.data.pageResult.content
 					let obj = res.data.feeOrderNewVo.exportFee.find(a => a.insuranceType === '合计')
 					this.integral = (obj.totalAmount - this.giftList[this.giftIndex].threeSettlementPrice) * 100
 					this.localEquityPackageAssociationList = this.giftList[this.giftIndex].localEquityPackageAssociationList
+				} else {
+					uni.showToast({
+						title: res.msg,
+						icon: "none",
+						duration: 3000
+					});
 				}
 			}
+			if(params.id) {
+				this.showBtn = false
+				let res = await this.$http.post('/equity/equityInfo', {
+					pageNum: 1,
+					pageSize: 99999,
+					companyId: params.id
+				})
+				if(res.code == 200) {
+					this.interestObj = res.data
+					this.giftList = res.data.pageResult.content
+					let obj = res.data.feeOrderNewVo.exportFee.find(a => a.insuranceType === '合计')
+					this.integral = (obj.totalAmount - this.giftList[this.giftIndex].threeSettlementPrice) * 100
+					this.localEquityPackageAssociationList = this.giftList[this.giftIndex].localEquityPackageAssociationList
+				} else {
+					uni.showToast({
+						title: res.msg,
+						icon: "none",
+						duration: 3000
+					});
+				}
+			} else {
+				this.showBtn = true
+			}
 		},
 		methods: {
 			handleSelectGift(item, index) {
-				this.giftIndex = index
-				let obj = this.interestObj.feeOrderNewVo.exportFee.find(a => a.insuranceType === '合计')
-				this.integral = (obj.totalAmount - this.giftList[this.giftIndex].threeSettlementPrice) * 100
-				this.localEquityPackageAssociationList = this.giftList[this.giftIndex].localEquityPackageAssociationList
+				if(this.showBtn) {
+					this.giftIndex = index
+					let obj = this.interestObj.feeOrderNewVo.exportFee.find(a => a.insuranceType === '合计')
+					this.integral = (obj.totalAmount - this.giftList[this.giftIndex].threeSettlementPrice) * 100
+					this.localEquityPackageAssociationList = this.giftList[this.giftIndex].localEquityPackageAssociationList
+				}
 			},
 			handleConfirm() {
 				let params = JSON.stringify(this.paramsObj)
@@ -97,6 +128,12 @@
 						uni.navigateTo({
 							url: `/pages/carInsure/customerInterest?params=${params}&&item=${item}`
 						})
+					} else {
+						uni.showToast({
+							title: res.msg,
+							icon: "none",
+							duration: 3000
+						});
 					}
 				})
 			}
@@ -241,4 +278,4 @@
 			}
 		}
 	}
-</style>
+</style>

+ 274 - 25
pages/carInsure/premiumCalc.vue

@@ -153,7 +153,7 @@
 										@tap.stop.prevent="ErrorMsg(totalitem.msg,totalitem.namesimple)">报价失败,查看原因</text>
 								</view>
 								<view class=" dis j-end a-c mt-2 f-wrap">
-									<view class="ml-2 mb-1" v-if="totalitem.result.companyId" @click="handleCustomerInterest(totalitem)" style="border: 1px solid #303133;border-radius: 2px;padding:1px 6px;font-size: 24rpx;">客户权益</view>
+									<view class="ml-2 mb-1" v-if="totalitem.result.companyId" @click="handleCustomerInterest(totalitem)" style="border: 1px solid rgb(255 153 0);border-radius: 2px;padding:1px 6px;font-size: 24rpx; color: rgb(255 153 0);">客户权益</view>
 									<view class="ml-2 mb-1 "
 										v-if="totalitem.namesimple=='诚泰财险' && totalitem.result.companyId"
 										style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
@@ -1372,11 +1372,11 @@
 				<view class="list">
 					<view class="radio" @click='handleAcceptCustomer(1)'>
 						<view>客户权益</view>
-						<view>当前客户出单后,可赠送客户价值688的权益礼包</view>
+						<view>当前客户出单后,可赠送客户价值{{ acceptCustomerObj.maxPackagePrice }}的权益礼包</view>
 					</view>
 					<view class="radio" @click='handleAcceptCustomer(0)'>
 						<view>现金优惠</view>
-						<view>选择为当前客户最多优惠365.25元</view>
+						<view>选择为当前客户最多优惠{{ acceptCustomerObj.amount }}元</view>
 					</view>
 				</view>
 			</view>
@@ -1709,13 +1709,88 @@
 				zijinInsuranceData: [],
 				zijinaccidentalDrivingVo: [],
 				isInspectchange: false,
+				
+				// 优惠方式
+				acceptCustomerObj: {}
 			}
 		},
 		onShow() {
-
+			if(localStorage.getItem('orderno')) {
+					this.$http.post('/insurance/order/reviseApp', {
+						orderNo: localStorage.getItem('orderno')
+					}).then(res => {
+						this.productId = res.data.productid; //险种id
+						this.productName = res.data.product; //险种name
+						this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.companyDtos));
+						this.commpanyList();
+						this.carInfo = res.data.carinfo; //车辆信息
+						this.ownerInfo = res.data.ownerinfo; //车主信息
+						this.policyHolderInfo = res.data.applyinfo; //投保人信息
+						this.insuredPersonInfo = res.data.insureinfo; //被保人信息
+						this.riskList = res.data.risk; //险种大类
+						this.vehicleAndVesselTaxForm = res.data.vehicleAndVesselTax; //车船税信息
+						this.orderno = res.data.orderno;
+						this.quoteno = res.data.quoteno;
+						this.imageEcho(res.data.quoteno) // 影像获取完毕
+						if (this.riskList.length > 0) {
+							for (let i = 0; i < this.riskList.length; i++) {
+								if (this.riskList[i].riskCode == '0507') {
+									if (this.isDateBeforeToday(this.riskList[i].startDate)) {
+										this.jqstartDate = this.nextday();
+										this.jqendDate = this.oneYearPast(this.jqstartDate)
+										this.riskList[i].startDate = this.nextday()
+										this.riskList[i].endDate = this.oneYearPast(this.jqstartDate)
+									} else {
+										this.jqstartDate = this.riskList[i].startDate;
+										this.jqendDate = this.riskList[i].endDate;
+									}
+								}
+								if (this.riskList[i].riskCode == '0510') {
+									if (this.isDateBeforeToday(this.riskList[i].startDate)) {
+										this.systartDate = this.nextday();
+										this.syendDate = this.oneYearPast(this.systartDate)
+										this.riskList[i].startDate = this.nextday()
+										this.riskList[i].endDate = this.oneYearPast(this.systartDate)
+									} else {
+										this.systartDate = this.riskList[i].startDate;
+										this.syendDate = this.riskList[i].endDate;
+									}
+										
+								}
+							}
+						}
+					})
+				} else {
+					this.jqstartDate = this.nextday();
+					this.jqendDate = this.oneYearPast(this.jqstartDate);
+					this.systartDate = this.nextday();
+					this.syendDate = this.oneYearPast(this.jqstartDate);
+					const eventChannel = this.getOpenerEventChannel()
+					// 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
+						eventChannel.on('acceptData', (data) => {
+						this.quoteno = data.quoteno;
+						this.orderno = data.orderno;
+						this.carInfo = data.carInfo; //车辆信息
+						this.ownerInfo = data.ownerInfo; //车主信息
+						this.policyHolderInfo = data.policyHolderInfo; //投保人信息
+						this.vehicleAndVesselTaxForm.identifyNumber = this.policyHolderInfo.identifyNumber;
+						this.vehicleAndVesselTaxForm.taxpayerName = this.policyHolderInfo.name;
+						this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
+						this.carInfoPositiveList = data.carInfoPositiveList; //车辆
+						this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
+						this.policyHolderInfoPositiveList = data.policyHolderInfoPositiveList; //投保
+						this.insuredPersonInfoPositiveList = data.insuredPersonInfoPositiveList; //被保人
+						this.productId = data.productId; //险种id
+						this.productName = data.productName; //险种name
+						this.riskTypeEchoProcessing(this.productId)
+						this.quotableCompanyList = JSON.parse(JSON.stringify(data.quotableCompanyList)); //可报价公司
+						this.commpanyList();
+					})
+				}
 		},
 		async onLoad(params) {
 			if (params.orderno) {
+				localStorage.setItem('orderno', params.orderno)
 				let res = await this.$http.post('/insurance/order/reviseApp', {
 					orderNo: params.orderno
 				});
@@ -1793,7 +1868,6 @@
 
 		},
 		methods: {
-
 			CTcoefficientSubmit() {
 				this.quotableCompanyList[this.CTcoefficientIndex].coefficient = this.CTcoefficientForm.pricingCoefficient;
 				this.quotableCompanyList[this.CTcoefficientIndex].discount = this.CTcoefficientForm.expectedDiscount;
@@ -2550,7 +2624,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2606,7 +2679,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2662,7 +2734,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2718,7 +2789,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2780,7 +2850,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2837,7 +2906,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2895,7 +2963,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -2957,7 +3024,6 @@
 						};
 						this.quotableCompanyList.splice(num, 1, updatedItem);
 						this.quotableCompanyList[num].msg = res.msg;
-
 						return;
 					}
 				} catch (error) {
@@ -3098,7 +3164,6 @@
 								this.quotableCompanyList.splice(num, 1, updatedItem);
 								this.quotableCompanyList[num].msg =
 									res.msg;
-
 							}
 							break;
 						case '众安财险':
@@ -3137,7 +3202,6 @@
 								this.quotableCompanyList.splice(num, 1, updatedItem);
 								this.quotableCompanyList[num].msg =
 									res.msg;
-
 							}
 							break;
 						default:
@@ -3806,6 +3870,17 @@
 										syappoint: ""
 									});
 								if (yaaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -3842,6 +3917,17 @@
 										syappoint: ""
 									});
 								if (zmaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -3872,6 +3958,17 @@
 										companyId: this.companyId,
 									});
 								if (ycaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -3902,6 +3999,17 @@
 										companyId: this.companyId,
 									});
 								if (graudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -3936,6 +4044,17 @@
 										[this.apiType == 2 ? "subOrderNo" : "companyId"]: this.companyId,
 									});
 								if (djaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -3967,6 +4086,17 @@
 										engageList: this.ziJinengageList,
 									});
 								if (zjaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -4002,6 +4132,17 @@
 										engageList: this.huaTaiengageList,
 									});
 								if (htaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -4034,6 +4175,17 @@
 										syappoint: ""
 									});
 								if (bhaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -4054,12 +4206,96 @@
 							}
 							break;
 						case "恒邦财险":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "诚泰财险":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "安盛天平":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "众安财险":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "中国人寿":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "太平财险":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "华农财险":
+							this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+								if(res.code === 200) {
+
+								} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+							})
+							break;
 						case "华安财险":
 						case "泰山财险":
 						case "泰康财险":
@@ -4073,6 +4309,17 @@
 										subOrderNo: this.companyId,
 									});
 								if (pythonaudit.code == '200') {
+									this.$http.post(`/equity/createEquityOrder?companyId=${this.companyId}`).then(res => {
+										if(res.code === 200) {
+
+										} else {
+											uni.showToast({
+												title: res.msg,
+												icon: "none",
+												duration: 3000
+											});
+										}
+									})
 									this.underwriteTitle = '订单自核成功';
 									this.cancelText = '暂不缴费';
 									this.confirmText = '立即缴费';
@@ -4099,19 +4346,21 @@
 			},
 			// 上传影像并提交核保
 			async submitUnderwriting(id, apiType, name, item) {
-				console.log(1111, item)
 				this.companyId = id;
 				this.apiType = apiType;
 				this.insuranceCompanyName = name;
-				this.$http.post(`/equity/createEquityOrder?companyId=${id}`).then(res => {
-					if(res.code === 200) {
-						if(item.editingDto.equityType === 1 || item.editingDto.equityType === 0) {
-							this.auditNextShow = true;
-						} else {
-							this.$refs.popup.open()
+				if(item.editingDto.equityType === 1 || item.editingDto.equityType === 0) {
+					this.auditNextShow = true;
+				} else {
+					this.$http.post(`/equity/equityList`, {
+						companyId: id
+					}).then(res => {
+						if(res.code === 200) {
+							this.acceptCustomerObj = res.data
 						}
-					}
-				})
+					})
+					this.$refs.popup.open()
+				}
 			},
 			closePopup() {
 				this.$refs.popup.close()
@@ -5025,4 +5274,4 @@
 		border-width: 4rpx;
 		font-weight: bold;
 	}
-</style>
+</style>

+ 10 - 5
pages/carInsure/quoteDetail.vue

@@ -775,11 +775,11 @@
 					</view>
 				</view>
 			</view>
-			<view class="car">
+			<view class="car" v-if="orderInfo.equityPackageVo">
 				<view class="header d-flex a-center j-sb"
-					style="background: linear-gradient( 180deg, #DBFFBF 0%, rgba(219,255,191,0) 100%);">
+					style="background: linear-gradient( 180deg, #DBFFBF 0%, rgba(219,255,191,0) 100%);" @click="toInterest">
 					<view class="title">客户权益</view>
-					<text style="color: #0055FF;font-size: 12px;"></text>
+					<text class="title">{{ orderInfo.equityPackageVo.packageName }}</text>
 				</view>
 			</view>
 		</view>
@@ -1620,7 +1620,7 @@
 				if (res.code == 200) {
 					this[type + 'options'] = res.data.ddList;
 					// if (type == "trafficManagementVehicleType") {
-					// 
+					//
 					// 	this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
 					// 		this
 					// 		.carInfo
@@ -2903,6 +2903,11 @@
 				let result = overWan + "万";
 				return result;
 			},
+			toInterest() {
+				uni.navigateTo({
+					url: `/pages/carInsure/interest?id=${this.orderInfo.id}`
+				})
+			}
 		}
 	}
 </script>
@@ -3496,4 +3501,4 @@
 			}
 		}
 	}
-</style>
+</style>

+ 3 - 0
pages/orders/orders.vue

@@ -759,6 +759,9 @@
 
 			//编辑
 			CloseEdit(val) {
+				if(localStorage.getItem('orderno')) {
+					localStorage.removeItem('orderno')
+				}
 				uni.navigateTo({
 					url: "/pages/carInsure/premiumCalc?orderno=" + val
 				})