|
|
@@ -170,8 +170,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="planDetails mb-2 dis a-c j-c f-c">
|
|
|
- <view class="headers dis j-c a-c"
|
|
|
- @tap="totalitem.planDetailsshow = !totalitem.planDetailsshow">
|
|
|
+ <view class="headers dis j-c a-c" @tap="togglePlanDetails(totalindex)">
|
|
|
<image
|
|
|
:src="totalitem.planDetailsshow?'/static/image/car-insure/DoubleLeft1.png':'/static/image/car-insure/DoubleLeft.png'"
|
|
|
mode=""></image>
|
|
|
@@ -558,6 +557,8 @@
|
|
|
this.policyHolderInfoPositiveList = data.policyHolderInfoPositiveList; //投保
|
|
|
this.insuredPersonInfoPositiveList = data.insuredPersonInfoPositiveList; //被保人
|
|
|
this.quotableCompanyList = data.quotableCompanyList;
|
|
|
+
|
|
|
+ this.commpanyList();
|
|
|
})
|
|
|
this.getDicType("taxRelifFlag"); //车船税类型
|
|
|
this.getDicType("taxpayerIdentifier"); //纳税人证件类型
|
|
|
@@ -566,10 +567,14 @@
|
|
|
this.jqendDate = this.oneYearPast(this.jqstartDate);
|
|
|
this.systartDate = this.nextday();
|
|
|
this.syendDate = this.oneYearPast(this.jqstartDate);
|
|
|
- this.commpanyList();
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ togglePlanDetails(index) {
|
|
|
+ this.quotableCompanyList[index].planDetailsshow = !this.quotableCompanyList[index]
|
|
|
+ .planDetailsshow; // 切换对应项的显示状态
|
|
|
+ this.quotableCompanyList = [...this.quotableCompanyList]; // 强制 Vue 重新渲染
|
|
|
+ },
|
|
|
// 显示报错信息
|
|
|
ErrorMsg(msg, title) {
|
|
|
uni.showModal({
|
|
|
@@ -653,7 +658,7 @@
|
|
|
ele['planDetailsshow'] = false;
|
|
|
ele['isComparableshowHide'] = false;
|
|
|
ele['isComparableDisabled'] = false;
|
|
|
- return ele
|
|
|
+ return ele;
|
|
|
})
|
|
|
},
|
|
|
immediatelyClick(name) {
|