| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273 |
- <template>
- <view class='page'>
- <view class="" style="padding-bottom: 70px;">
- <view class="selectedCoverage dis j-s a-c">
- <view class="productName dis a-c j-c">
- <image src="../../static/image/car-insure/duigou.png" mode=""></image>
- <text>{{productName}}</text>
- </view>
- <view class="productName dis a-c j-c" style="border-radius: 6px;">
- <text style="margin: 0;">已选险种</text>
- </view>
- </view>
- <view class="planDetails">
- <view class="Plancontent dis f-c ">
- <image src="../../static/image/car-insure/fanganxuanze.png" mode=""
- style="height: 22px;width: 88px;"></image>
- <view class="dis a-c f-wrap modelformcss">
- <view class="status-data" :class="item.id==SelectedPlanId? 'active':''" style="margin:4px 10px;"
- v-for="(item,index) in planDataExpansion.genericPlanList"
- @tap.stop.prevent="statusclick(item.id)" :key="index">
- {{item.schemeName}}
- </view>
- </view>
- </view>
- <view class="">
- <view class="Plancontent dis f-c " v-if="['单交','交三','交商'].includes(productName)">
- <image src="../../static/image/car-insure/jqrisk.png" mode="" style="height: 22px;width: 88px;"
- class="mb-1"></image>
- <view style="padding:5px 10px;color: #666;font-size: 28rpx;border: 1px solid #e3e9f8;"
- class="dis a-c mb-2 mt-1">
- <view class="circle dis a-c j-c"></view>
- <text style="margin-left: 10px;"> 交通事故强制责任险</text>
- </view>
- <text style="margin-left: 10px;">保险期限:{{jqstartDate}} - {{jqendDate}}</text>
- </view>
- <view class="Plancontent dis f-c ">
- <image src="../../static/image/car-insure/chechuanshui.png" mode=""
- style="height: 22px;width: 88px;" class="mb-1"></image>
- <view class="" style="margin:0 10px;">
- <u--form labelPosition="left" :model="vehicleAndVesselTaxForm" ref="uForm" labelWidth="130">
- <u-form-item label="纳税类型" borderBottom @click="taxRelifFlagShow=true">
- <u--input v-model="model.taxRelifFlag" disabled disabledColor="#ffffff"
- suffixIcon='arrow-down' suffixIconStyle="color:#333;font-size:30rpx"
- placeholder="请选择纳税类型" placeholderStyle="text-align:right;" clearable
- border="none" style="pointer-events: none"></u--input>
- </u-form-item>
- <u-form-item
- v-show="vehicleAndVesselTaxForm.taxRelifFlag == 2 || vehicleAndVesselTaxForm.taxRelifFlag == 3"
- label="减免税凭证号" borderBottom>
- <u--input v-model="vehicleAndVesselTaxForm.extendChar2" border="none" clearable
- placeholder="请输入减免税凭证号" placeholderStyle="text-align:right;"></u--input>
- </u-form-item>
- <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证号"
- borderBottom>
- <u--input v-model="vehicleAndVesselTaxForm.paidFreeCertificate" border="none"
- clearable placeholder="请输入完税凭证号"
- placeholderStyle="text-align:right;"></u--input>
- </u-form-item>
- <u-form-item
- v-show="vehicleAndVesselTaxForm.taxRelifFlag == 2 || vehicleAndVesselTaxForm.taxRelifFlag == 3"
- label="减免税原因" borderBottom @click="relifReasonShow=true">
- <u--input v-model="model.relifReason" disabled disabledColor="#ffffff"
- suffixIcon='arrow-down' suffixIconStyle="color:#333;font-size:30rpx"
- placeholder="请选择减免税原因" placeholderStyle="text-align:right;" clearable
- border="none" style="pointer-events: none"></u--input>
- </u-form-item>
- <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag != 1" label="税务机关代码"
- borderBottom>
- <u--input v-model="vehicleAndVesselTaxForm.taxComCode" border="none" clearable
- placeholder="请输入税务机关代码" placeholderStyle="text-align:right;"></u--input>
- </u-form-item>
- <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag != 1" label="税务机关名称"
- borderBottom>
- <u--input v-model="vehicleAndVesselTaxForm.taxComName" border="none" clearable
- placeholder="请输入税务机关名称" placeholderStyle="text-align:right;"></u--input>
- </u-form-item>
- <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证填发日期"
- borderBottom @click="taxDocumentDateShow=true">
- <u--input v-model="vehicleAndVesselTaxForm.taxDocumentDate" disabled
- disabledColor="#ffffff" clearable :holdKeyboard="true" suffixIcon='calendar'
- suffixIconStyle="color:#333;font-size:40rpx" placeholder="请选择 "
- placeholderStyle="text-align:right;" border="none"
- style="pointer-events: none"></u--input>
- </u-form-item>
- <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证地区"
- borderBottom @click="taxPaidAreaCodeShow=true">
- <u--input v-model="model.taxPaidAreaCode" disabled disabledColor="#ffffff" clearable
- :holdKeyboard="true" suffixIcon='calendar'
- suffixIconStyle="color:#333;font-size:40rpx" placeholder="请选择"
- placeholderStyle="text-align:right;" border="none"
- style="pointer-events: none"></u--input>
- </u-form-item>
- <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 3" label="减税比例"
- borderBottom>
- <u--input v-model="vehicleAndVesselTaxForm.taxRelief" border="none" clearable
- placeholder="请输入减税比例" placeholderStyle="text-align:right;"></u--input>
- </u-form-item>
- </u--form>
- </view>
- </view>
- <view class="Plancontent dis f-c " v-if="['单商','交三','交商','单三'].includes(productName)">
- <image src="../../static/image/car-insure/syrisk.png" mode="" style="height: 22px;width: 88px;"
- class="mb-1"></image>
- <text style="margin-left: 10px;">{{systartDate}} - {{syendDate}}</text>
- <view class="insuranceType" v-if="planDataExpansion.genericPlanInfo.schemeType !=='2'">
- <view class="table mb-3">
- <view class="header dis a-c j-s">
- <text class="th special">险种</text>
- <text class="th">保额</text>
- </view>
- <view class="tr dis a-c j-c"
- v-for="(item,index) in planDataExpansion.genericPlanInfo.kinds" :key="index">
- <view class="td special dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <text class="ml-2">{{item.kindName}}</text>
- </view>
- <text v-if="['A'].includes(item.kindCode)" class="td">投保</text>
- <text v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
- class="td">{{convertedValue(item.amount)}}</text>
- <text v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
- class="td">{{item.amount}}%</text>
- <text v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)"
- class="td">{{item.serviceTimes}}次</text>
- <text v-else class="td">{{convertedValue(item.amount)}}</text>
- </view>
- </view>
- </view>
- <template v-else>
- <view class="immediately">
- <view class="dis f-c" style="background: #F9F9F9;border-radius: 10px;">
- <view class="table mb-3">
- <view class="header dis a-c j-s">
- <text class="th special">险种</text>
- <text class="th">保额</text>
- </view>
- <view class="tr dis a-c j-c"
- v-for="(insureItem,index) in planDataExpansion.genericPlanInfo.kinds"
- :key="index">
- <template v-if="insureItem.amount != 0">
- <view class="td special dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <text class="ml-2">{{insureItem.kindName}}</text>
- </view>
- <view class="td">
- <view class="dis a-c j-c" @tap="adjustBIItem(index)">
- <text>{{insureItem.amountDesc}}</text>
- <u-icon name="arrow-right" color="#333" size="14"></u-icon>
- </view>
- </view>
- </template>
- </view>
- </view>
- </view>
- </view>
- <view class="compulsory-insurance">
- <block v-for="(insureItem,index) in planDataExpansion.genericPlanInfo.kinds"
- :key="index">
- <template v-if="insureItem.amount == 0">
- <view class="car-ins-cell d-flex j-sb common-ins-cell"
- @tap="adjustBIItem(index)">
- <view class="cell-title d-flex a-center j-center">
- {{insureItem.kindName}}
- </view>
- <view class="cell-desc d-flex a-center j-center">
- {{insureItem.amountDesc}}
- <view class="icon iconfont icon-youjiantou"
- style="font-size: 40rpx;margin-left: 20upx;color: #C7C6CA;">
- </view>
- </view>
- </view>
- </template>
- </block>
- </view>
- </template>
- </view>
- <template v-if="planDataExpansion.genericPlanInfo.schemeType !=='2'">
- <view class="Plancontent dis f-c policyInfo"
- v-if=" planDataExpansion.genericPlanInfo && planDataExpansion.genericPlanInfo.drivings && planDataExpansion.genericPlanInfo.drivings.length">
- <image src="../../static/image/car-insure/ywrisk.png" mode=""
- style="height: 22px;width: 88px;" class="mb-1"></image>
- <view class=" modelformcss"
- v-for="(drivingsitem,risksindex) in planDataExpansion.genericPlanInfo.drivings"
- :key="risksindex">
- <view class="dis f-c ">
- <view class="tagHeader dis a-c">
- <view>{{drivingsitem.alias}}
- <view class="tag"></view>
- </view>
- </view>
- </view>
- <view class="table " v-if="drivingsitem.blames && drivingsitem.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis" v-for="(Sonitem,Sonindex) in drivingsitem.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;" class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{drivingsitem.premium}}
- </view>
- </view>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>份数</text>
- <text>{{drivingsitem.quantity}}份</text>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{drivingsitem.premium?drivingsitem.premium:0}}</text>
- </view>
- </view>
- </view>
- </template>
- <view class="Plancontent dis f-c " v-else>
- <image src="../../static/image/car-insure/ywrisk.png" mode="" style="height: 22px;width:88px;"
- class="mb-1"></image>
- <view class="dis a-c f-wrap modelformcss">
- <view class="status-data" :class="item.checked? 'active':''" style="margin-right: 10px;"
- v-for="(item,index) in accidentInsuranceCategoryList"
- @tap.stop.prevent="accidentCategoryclick(item,planDataExpansion,index)" :key="index">
- {{item.typeName}}
- </view>
- </view>
- <template v-if=" planDataExpansion.nameSimple=='安盛天平' && anshengaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="anshengPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{anshengaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="anshengaccidentalDrivingVo.blames && anshengaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in anshengaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.name}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.amount}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{anshengaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="anshengaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabledInput="true" size="26" :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{anshengaccidentalDrivingVo.premium*anshengaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='国任财险' && guoRenaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="guoRenPopupshow=true">
- <text class="tagHeader dis a-c">
- <view>{{guoRenaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </text>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="guoRenaccidentalDrivingVo.blames && guoRenaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in guoRenaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.name}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.amount}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{guoRenaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="guoRenaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{guoRenaccidentalDrivingVo.premium*guoRenaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='大家财险' && dajiaaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="dajiaPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{dajiaaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="dajiaaccidentalDrivingVo.blames && dajiaaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in dajiaaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.name}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.amount}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{dajiaaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="dajiaaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{dajiaaccidentalDrivingVo.premium*dajiaaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='紫金财险' && zijinInsuranceData.length>0">
- <view class="p-1">
- <text @click="zijinPopupshow=true" style="color: #FF5600;font-size: 14px;">意外险选择</text>
- <view class="" v-for="(item,index) in zijinaccidentalDrivingVo" :key="index">
- <view class="policyInfo">
- <view class="tagHeader dis a-c">
- <view>{{item.alias}}
- <view class="tag"></view>
- </view>
- </view>
- </view>
- <view class=" dis j-s a-c">
- <view class="">
- <text>保费:</text>
- <text style="color: #ee7000;">¥{{item.premium*item.quantity}}.00</text>
- </view>
- <view class="">
- <text>份数:</text>
- <u-number-box v-model="item.quantity" :min="1" :max="10" :input-width="70"
- :input-height="44" size="26" :long-press="false"></u-number-box>
- </view>
- </view>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='众安财险' && zhonganaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="zhonganPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{zhonganaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="zhonganaccidentalDrivingVo.blames && zhonganaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in zhonganaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.name}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.amount}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{zhonganaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="zhonganaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{zhonganaccidentalDrivingVo.premium*zhonganaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='永诚财险' && yongchengaccidentalDrivingVo.alias">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="yongchengPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{yongchengaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="14"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="yongchengaccidentalDrivingVo.blames && yongchengaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in yongchengaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{yongchengaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="yongchengaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" size="26" :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{yongchengaccidentalDrivingVo.premium*yongchengaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='恒邦财险' && hengbangaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="hengbangPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{hengbangaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="hengbangaccidentalDrivingVo.blames && hengbangaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in hengbangaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{hengbangaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="hengbangaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{hengbangaccidentalDrivingVo.premium*hengbangaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='诚泰财险' && chengtaiaccidentalDrivingVo.alias">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="chengtaiPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{chengtaiaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="chengtaiaccidentalDrivingVo.blames && chengtaiaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in chengtaiaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{chengtaiaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="chengtaiaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{chengtaiaccidentalDrivingVo.premium*chengtaiaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='中煤财险' && zhongmeiaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="zhongmeiPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{zhongmeiaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="zhongmeiaccidentalDrivingVo.blames && zhongmeiaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in zhongmeiaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{zhongmeiaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="zhongmeiaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{zhongmeiaccidentalDrivingVo.premium*zhongmeiaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='泰康财险' && taikangaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="taikangPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{taikangaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="taikangaccidentalDrivingVo.blames && taikangaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in taikangaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{taikangaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="taikangaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{taikangaccidentalDrivingVo.premium*taikangaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='渤海财险' && bohaiaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="bohaiPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{bohaiaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="bohaiaccidentalDrivingVo.blames && bohaiaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in bohaiaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{bohaiaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="bohaiaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{bohaiaccidentalDrivingVo.premium*bohaiaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='太平财险' && taipingaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="taipingPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{taipingaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="taipingaccidentalDrivingVo.blames && taipingaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in taipingaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{taipingaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="taipingaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{taipingaccidentalDrivingVo.premium*taipingaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='华农财险' && huanongaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="huanongPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{huanongaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="huanongaccidentalDrivingVo.blames && huanongaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in huanongaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{huanongaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="huanongaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{huanongaccidentalDrivingVo.premium*huanongaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- <template v-if=" planDataExpansion.nameSimple=='中国人寿' && renshouaccidentalDrivingVo.alias ">
- <view class="drivingSelection policyInfo">
- <view class="dis a-c j-s " @click="renshouPopupshow=true">
- <view class="tagHeader dis a-c">
- <view>{{renshouaccidentalDrivingVo.alias}}
- <view class="tag"></view>
- </view>
- </view>
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
- </view>
- <view>
- <view class="table "
- v-if="renshouaccidentalDrivingVo.blames && renshouaccidentalDrivingVo.blames.length>0">
- <view class="header dis a-c j-s">
- <text class="th special">保险责任</text>
- <text class="th">保额</text>
- <text class="th">保费(元)</text>
- </view>
- <view class="dis">
- <view class="accident dis f-c">
- <view class="diss dis"
- v-for="(Sonitem,Sonindex) in renshouaccidentalDrivingVo.blames"
- :key="Sonindex">
- <view style="width: 67%;padding: 5px 10px " class="boss">
- <view class="dis a-c ">
- <view class="circle dis a-c j-c"></view>
- <view style="margin-left: 5px;width: 80%;"
- class="dis j-start">
- {{Sonitem.blame}}
- </view>
- </view>
- </view>
- <view class="boss dis a-c j-c" style="width: 33%;">
- {{Sonitem.blameCoverage}}
- </view>
- </view>
- </view>
- <view class="right dis j-c a-c">
- {{renshouaccidentalDrivingVo.premium}}
- </view>
- </view>
- </view>
- </view>
- <view class="dis a-c j-s">
- <text>份数</text>
- <u-number-box v-model="renshouaccidentalDrivingVo.quantity" :min="1" :max="10"
- :disabled-input="true" :input-width="70" :input-height="44" size="26"
- :long-press="false"></u-number-box>
- </view>
- <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
- <text>总保费</text>
- <text>¥{{renshouaccidentalDrivingVo.premium*renshouaccidentalDrivingVo.quantity}}</text>
- </view>
- </view>
- </template>
- </view>
- </view>
- <view class="footer-btn dis a-c j-c">
- <view class="btn" @click="back">取消</view>
- <view class="btn" @click="confirmPlan(planDataExpansion.cnName)">确认方案</view>
- </view>
- </view>
- </view>
- <!-- 商业选择方案 -->
- <wyb-popup ref="popupBI" type="bottom" mode="size-fixed" height="900" radius="6" :showCloseIcon="true">
- <view class="popup-content">
- <view class="popHeader d-flex a-center j-center">
- 选择方案
- </view>
- <scroll-view scroll-top="0" scroll-y="true" class="popContent">
- <view class="popContentTitle">{{insureItem.kindName}}</view>
- <view style="color: #999;font-size: 24upx;">{{insureItem.desc}}</view>
- <view class="dis a-c j-s p-3" v-if="['TY2','TY3','TY4'].includes(insureItem.kindCode)">
- <text>自定义次数</text>
- <u-number-box v-model="insureItem.amount" :input-width="100" :input-height="60" :min="0"
- color="#fff" size="30" @change="numberBoxChange"></u-number-box>
- </view>
- <view v-else style="margin-top: 10px;">
- <block v-for="(amt,index) in insureItem.amtList" :key="index">
- <view class="amtSingle" @tap="adjustBIItemLabel(index)"
- :class="(amt.label== insureItem.amountDesc)?'active':''">
- {{amt.label}}
- </view>
- </block>
- </view>
- </scroll-view>
- <view class="popBottom">
- <button type="primary" style="background-color: #0052FF;"
- @tap="adjustBIItemLabelSubmit()">完成</button>
- </view>
- </view>
- </wyb-popup>
- <!-- 人寿驾意险弹框 -->
- <u-modal :show="renshouPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="renshouPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0; align-items: flex-start;" labelSize="30" shape="square"
- @change="RSradioChange" v-for="(item, index) in renshouInsuranceData" :key="index"
- :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 中煤驾意险弹框 -->
- <u-modal :show="zhongmeiPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="zhongmeiPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;" labelSize="30" @change="ZMradioChange" shape="square"
- v-for="(item, index) in zhongmeiInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 恒邦驾意险弹框 -->
- <u-modal :show="hengbangPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="hengbangPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="HBradioChange" shape="square"
- v-for="(item, index) in hengbangInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 众安驾意险弹框 -->
- <u-modal :show="zhonganPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="zhonganPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="ZAradioChange" shape="square"
- v-for="(item, index) in zhonganInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 华农驾意险弹框 -->
- <u-modal :show="huanongPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="huanongPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="HNradioChange" shape="square"
- v-for="(item, index) in huanongInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 泰康驾意险弹框 -->
- <u-modal :show="taikangPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="taikangPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="TkradioChange" shape="square"
- v-for="(item, index) in taikangInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-modal :show="yongchengPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="yongchengPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="YCradioChange" shape="square"
- v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.id">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 太平驾意险弹框 -->
- <u-modal :show="taipingPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="taipingPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="TPradioChange" shape="square"
- v-for="(item, index) in taipingInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 渤海驾意险弹框 -->
- <u-modal :show="bohaiPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="bohaiPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" style="" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="BHradioChange" shape="square"
- v-for="(item, index) in bohaiInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <!-- 紫金驾意弹框 -->
- <u-popup :show="zijinPopupshow" mode="bottom" round="10" @close="zijinPopupshow=false">
- <view class="ZJcheckboxGroup dis f-c">
- <view class="title dis a-c j-c">
- <text>意外险选择</text>
- </view>
- <scroll-view scroll-y="true" class="scolcentent">
- <u-checkbox-group @change="ZJcheckboxGroupChange">
- <u-checkbox style="margin: 8px 0;flex: auto;" active-color="#FF4D4D" label-size="28"
- v-model="item.checked" v-for="(item, index) in zijinInsuranceData" :key="index"
- :name="item.projectCode">{{item.alias}}</u-checkbox>
- </u-checkbox-group>
- </scroll-view>
- <view class="operateBtn dis ">
- <view class="cancel dis a-c j-c" @click="zijinPopupshow=false">
- 取消
- </view>
- <view class="confirm dis a-c j-c" @click="zijinPopupshow=false">
- 确定
- </view>
- </view>
- </view>
- </u-popup>
- <u-modal :show="guoRenPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="guoRenPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="GRradioChange" shape="square"
- v-for="(item, index) in guoRenInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-modal :show="dajiaPopupshow" title="驾意险" :showConfirmButton="false" :closeOnClickOverlay="true"
- @close="dajiaPopupshow=false">
- <view class="slot-content p-2">
- <u-radio-group size="20" placement="column">
- <u-radio style="margin: 4px 0;flex: auto;" labelSize="30" @change="DJradioChange" shape="square"
- v-for="(item, index) in dajiaInsuranceData" :key="index" :name="item.projectCode">
- {{item.alias}}
- </u-radio>
- </u-radio-group>
- </view>
- </u-modal>
- <u-picker :show="taxRelifFlagShow" :columns="taxRelifFlagoptions" keyName="dictTag"
- @cancel="taxRelifFlagShow=false" @confirm="dictionaryConfirm($event, 'taxRelifFlag','taxRelifFlagShow')"
- @close="taxRelifFlagShow=false" :closeOnClickOverlay="true"></u-picker>
- <u-picker :show="relifReasonShow" :columns="relifReasonoptions" keyName="dictTag"
- @cancel="relifReasonShow=false" @confirm="dictionaryConfirm($event, 'relifReason','relifReasonShow')"
- @close="relifReasonShow=false" :closeOnClickOverlay="true"></u-picker>
- <u-datetime-picker :show="taxDocumentDateShow" v-model="taxDocumentDateValue" mode="date" :formatter="formatter"
- @cancel="taxDocumentDateShow=false" @close="taxDocumentDateShow=false" :closeOnClickOverlay="true"
- @confirm="taxDocumentDateconfirm" confirmText="确定"></u-datetime-picker>
- <u-picker :show="taxPaidAreaCodeShow" :columns="regionlist" @cancel="taxPaidAreaCodeShow=false" keyName="name"
- @confirm="taxPaidAreaCodeconfirm" @close="taxPaidAreaCodeShow=false" :closeOnClickOverlay="true"></u-picker>
- </view>
- </template>
- <script>
- import wybPopup from '@/components/wyb-popup/wyb-popup.vue'
- export default {
- components: {
- wybPopup,
- },
- data() {
- return {
- regionlist: [
- [{
- "name": "北京市",
- "value": "110000"
- },
- {
- "name": "天津市",
- "value": "120000"
- },
- {
- "name": "河北省",
- "value": "130000"
- },
- {
- "name": "山西省",
- "value": "140000"
- },
- {
- "name": "内蒙古自治区",
- "value": "150000"
- },
- {
- "name": "辽宁省",
- "value": "210000"
- },
- {
- "name": "吉林省",
- "value": "220000"
- },
- {
- "name": "黑龙江省",
- "value": "230000"
- },
- {
- "name": "上海市",
- "value": "310000"
- },
- {
- "name": "江苏省",
- "value": "320000"
- },
- {
- "name": "浙江省",
- "value": "330000"
- },
- {
- "name": "安徽省",
- "value": "340000"
- },
- {
- "name": "福建省",
- "value": "350000"
- },
- {
- "name": "江西省",
- "value": "360000"
- },
- {
- "name": "山东省",
- "value": "370000"
- },
- {
- "name": "河南省",
- "value": "410000"
- },
- {
- "name": "湖北省",
- "value": "420000"
- },
- {
- "name": "湖南省",
- "value": "430000"
- },
- {
- "name": "广东省",
- "value": "440000"
- },
- {
- "name": "广西壮族自治区",
- "value": "450000"
- },
- {
- "name": "海南省",
- "value": "460000"
- },
- {
- "name": "重庆市",
- "value": "500000"
- },
- {
- "name": "四川省",
- "value": "510000"
- },
- {
- "name": "贵州省",
- "value": "520000"
- },
- {
- "name": "云南省",
- "value": "530000"
- },
- {
- "name": "西藏自治区",
- "value": "540000"
- },
- {
- "name": "陕西省",
- "value": "610000"
- },
- {
- "name": "甘肃省",
- "value": "620000"
- },
- {
- "name": "青海省",
- "value": "630000"
- },
- {
- "name": "宁夏回族自治区",
- "value": "640000"
- },
- {
- "name": "新疆维吾尔自治区",
- "value": "650000"
- },
- {
- "name": "台湾省",
- "value": "710000"
- },
- {
- "name": "香港特别行政区",
- "value": "810000"
- },
- {
- "name": "澳门特别行政区",
- "value": "820000"
- }
- ]
- ],
- taxDocumentDateValue: Number(new Date()),
- planDataExpansion: { //方案综合数据
- id: "",
- nameSimple: "",
- cnName: "",
- genericPlanList: [], //方案通用列表
- genericPlanInfo: {}, //方案展示信息
- },
- SelectedPlanId: "", //已选方案id
- accidentInsuranceCategoryList: [], //驾意险分类
- productId: "", //险种id
- productName: "", //险种名称
- jqstartDate: "",
- jqendDate: "",
- systartDate: "",
- syendDate: "",
- seatCount: "",
- //车船税form
- vehicleAndVesselTaxForm: {
- taxRelifFlag: "1", //类型
- identifyNumber: "", //纳税人识别号
- taxpayerIdentifier: "01", //纳税人证件类型
- taxpayerName: "", //纳税人名称
- extendChar2: "", //减免税凭证号
- paidFreeCertificate: "", //完税凭证号
- relifReason: "", //减免税原因
- taxComCode: "", //税务机关代码
- taxComName: "", ///税务机关名称
- taxDocumentDate: "", //完税日期
- taxPaidAreaCode: "", //完税凭证地区代码
- taxRelief: "", //减税比例
- },
- model: {
- taxRelifFlag: "正常交税",
- taxpayerIdentifier: "身份证",
- relifReason: "",
- taxPaidAreaCode: "",
- },
- taxRelifFlagoptions: [
- [{
- "dictTag": "正常交税",
- "dictValue": "1",
- "sort": 0,
- "status": 0
- },
- {
- "dictTag": "免税",
- "dictValue": "2",
- "sort": 1,
- "status": 0
- },
- {
- "dictTag": "减税",
- "dictValue": "3",
- "sort": 2,
- "status": 0
- },
- {
- "dictTag": "完税",
- "dictValue": "4",
- "sort": 3,
- "status": 0
- }
- ]
- ],
- taxpayerIdentifieroptions: [],
- relifReasonoptions: [
- ],
- taxPaidAreaCodeShow: false, //完税凭证地区
- taxDocumentDateShow: false, //完税凭证填发日期
- taxRelifFlagShow: false, //车船税类型
- taxpayerIdentifierShow: false, //纳税人证件类型
- relifReasonShow: false, //减免税原因代码
- params1: {
- year: true, //年
- month: true, //月
- day: true, //日
- hour: false, //时
- minute: false, //分
- second: false, //秒
- },
- params2: {
- province: true,
- city: false,
- area: false
- },
- insureItem: {}, //商业险规格
- /* 安盛 */
- anshengPopupshow: false,
- anshengInsuranceData: [],
- anshengaccidentalDrivingVo: {},
- /* 国任 */
- guoRenPopupshow: false,
- guoRenInsuranceData: [],
- guoRenaccidentalDrivingVo: {},
- /* 大家 */
- dajiaPopupshow: false,
- dajiaInsuranceData: [],
- dajiaaccidentalDrivingVo: {},
- /* 永诚 */
- yongchengPopupshow: false,
- yongchengInsuranceData: [],
- yongchengaccidentalDrivingVo: {},
- /* 恒邦 */
- hengbangPopupshow: false,
- hengbangInsuranceData: [],
- hengbangaccidentalDrivingVo: {},
- /* 诚泰 */
- chengtaiPopupshow: false,
- chengtaiInsuranceData: [],
- chengtaiaccidentalDrivingVo: {},
- /* 中煤 */
- zhongmeiPopupshow: false,
- zhongmeiInsuranceData: [],
- zhongmeiaccidentalDrivingVo: {},
- /* 泰康 */
- taikangPopupshow: false,
- taikangInsuranceData: [],
- taikangaccidentalDrivingVo: {},
- /* 渤海 */
- bohaiPopupshow: false,
- bohaiInsuranceData: [],
- bohaiaccidentalDrivingVo: {},
- /* 众安 */
- zhonganPopupshow: false,
- zhonganInsuranceData: [],
- zhonganaccidentalDrivingVo: {},
- /* 太平 */
- taipingPopupshow: false,
- taipingInsuranceData: [],
- taipingaccidentalDrivingVo: {},
- /* 华农 */
- huanongPopupshow: false,
- huanongInsuranceData: [],
- huanongaccidentalDrivingVo: {},
- /* 人寿 */
- renshouPopupshow: false,
- renshouInsuranceData: [],
- renshouaccidentalDrivingVo: {},
- /* 紫金 */
- zijinPopupshow: false,
- zijinInsuranceData: [],
- zijinaccidentalDrivingVo: [],
- quotableCompanyList: [],
- }
- },
- onShow() {
- },
- async onLoad() {
- const eventChannel = this.getOpenerEventChannel()
- // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
- await eventChannel.on('acceptData', (data) => {
- this.jqstartDate = data.jqstartDate;
- this.jqendDate = data.jqendDate;
- this.systartDate = data.systartDate;
- this.syendDate = data.syendDate;
- this.productName = data.productName;
- this.productId = data.params.productId;
- this.seatCount = data.params.seatNum;
- this.planDataExpansion.id = data.params.companyId;
- this.planDataExpansion.nameSimple = data.nameSimple;
- this.planDataExpansion.cnName = data.cnName;
- this.quotableCompanyList = data.quotableCompanyList;
- this.vehicleAndVesselTaxForm.identifyNumber = data.identifyNumber;
- this.vehicleAndVesselTaxForm.taxpayerName = data.taxpayerName;
- this.queryPlan(data.params); //方案查询
- })
- this.getDicType("car_tax_code"); //车船税类型
- // this.getDicType("taxpayerIdentifier"); //纳税人证件类型
- this.getDicType("relifReason"); //减免税原因代码
- },
- methods: {
- formatter(type, value) {
- if (type === 'year') {
- return `${value}年`
- }
- if (type === 'month') {
- return `${value}月`
- }
- if (type === 'day') {
- return `${value}日`
- }
- return value
- },
- //字典信息回显处理
- dictionaryConfirm(value, name, showName) {
- this.vehicleAndVesselTaxForm[name] = value.value[0].dictValue;
- this.model[name] = value.value[0].dictTag;
- this[showName] = false;
- },
- back() {
- uni.navigateBack(1)
- },
- async queryPlan(params) {
- let res = await this.$http.get('/scheme/getSchemeResult', params);
- if (res.code == '200') {
- if (res.data.schemes) {
- this.planDataExpansion.genericPlanList = [...res.data.schemes];
- }
- if (res.data.optionalScheme) {
- this.planDataExpansion.genericPlanList = [...res.data.schemes, res.data.optionalScheme];
- }
- this.planDataExpansion.genericPlanInfo = res.data.schemes[0];
- this.SelectedPlanId = res.data.schemes[0].id;
- } else {
- this.planDataExpansion.genericPlanList = [];
- this.planDataExpansion.genericPlanInfo = {};
- this.SelectedPlanId = "";
- }
- },
- confirmPlan(name) {
- let pages = getCurrentPages(); //获取所有页面栈实例列表
- let nowPage = pages[pages.length - 1]; //当前页页面实例
- let prevPage = pages[pages.length - 2]; //上一页页面实例
- let prevPage1 = pages[pages.length - 3]; //上一页页面实例
- this.quotableCompanyList.map(val => {
- if (val.id == this.planDataExpansion.id) {
- val.insurancePlanInfo = this.planDataExpansion.genericPlanInfo;
- if (val.insurancePlanInfo.kinds.length > 0) {
- let objkindList = [];
- val.insurancePlanInfo.kinds.map((ele, index) => {
- if (ele.amount != "0" && ["A"].includes(ele.kindCode)) {
- objkindList.push({
- amount: val.insurancePlanInfo.kinds[index]
- .amount,
- kindCode: val.insurancePlanInfo.kinds[
- index].kindCode,
- kindName: val.insurancePlanInfo.kinds[
- index].kindName
- });
- } else if (ele.amount != "0" && ["SY_FJ_YBW2", "D4"]
- .includes(ele
- .kindCode)) {
- objkindList.push({
- amount: val.insurancePlanInfo.kinds[
- index].amount,
- kindCode: val.insurancePlanInfo.kinds[
- index].kindCode,
- kindName: val.insurancePlanInfo.kinds[
- index].kindName
- });
- } else if (ele.amount != "0" && ["MJ1", "MJ2", "MJ3",
- "MJ4"
- ].includes(ele
- .kindCode)) {
- objkindList.push({
- deductibleRate: val.insurancePlanInfo
- .kinds[index].amount,
- kindCode: val.insurancePlanInfo.kinds[
- index].kindCode,
- kindName: val.insurancePlanInfo.kinds[
- index].kindName
- });
- } else if (ele.amount != "0" && ["TY1", "TY2", "TY3",
- "TY4"
- ].includes(ele
- .kindCode)) {
- objkindList.push({
- serviceTimes: String(val.insurancePlanInfo
- .kinds[index]
- .amount),
- kindCode: val.insurancePlanInfo.kinds[
- index].kindCode,
- kindName: val.insurancePlanInfo.kinds[
- index].kindName
- });
- } else if (ele.amount != "0") {
- objkindList.push({
- amount: val.insurancePlanInfo.kinds[index]
- .amount,
- kindCode: val.insurancePlanInfo.kinds[
- index].kindCode,
- kindName: val.insurancePlanInfo.kinds[
- index].kindName
- });
- }
- return ele;
- })
- val.insurancePlanInfo.kinds = objkindList;
- }
- if (this.planDataExpansion.genericPlanInfo.schemeType == '2') {
- if (this[name + 'accidentalDrivingVo'] instanceof Array && this[name +
- 'accidentalDrivingVo'].length > 0) {
- val.insurancePlanInfo.drivings = this[name +
- 'accidentalDrivingVo'];
- } else if (this[this.planDataExpansion.cnName + 'accidentalDrivingVo']
- .productName) {
- val.insurancePlanInfo.drivings = [this[name +
- 'accidentalDrivingVo']];
- }
- }
- if (!val.insurancePlanInfo.schemeName) {
- return uni.showToast({
- icon: "none",
- title: '未选中方案',
- })
- }
- }
- return val;
- })
- if (prevPage.route == 'pages/quote/premiumCalc') {
- prevPage.$vm.quotableCompanyList = [...this.quotableCompanyList];
- prevPage.$vm.vehicleAndVesselTaxForm = {
- ...this.vehicleAndVesselTaxForm
- };
- uni.navigateBack({
- delta: 1
- });
- } else {
- prevPage1.$vm.quotableCompanyList = [...this.quotableCompanyList];
- prevPage1.$vm.vehicleAndVesselTaxForm = {
- ...this.vehicleAndVesselTaxForm
- };
- uni.navigateBack({
- delta: 2
- });
- }
- },
- async accidentCategoryclick(item, items, index) {
- this.accidentInsuranceCategoryList[index].checked = !this.accidentInsuranceCategoryList[index].checked;
- if (this.accidentInsuranceCategoryList[index].checked) {
- let res = await this.$http.get('/plt/scheme/optionalSchemeDriving?schemeId=' + this
- .SelectedPlanId + '&seatNum=' + this.seatCount)
- switch (items.nameSimple) {
- case '安盛天平':
- case '国任财险':
- case '大家财险':
- case '永诚财险':
- case '恒邦财险':
- case '诚泰财险':
- case '中煤财险':
- case '泰康财险':
- case '渤海财险':
- case '众安财险':
- case '太平财险':
- case '华农财险':
- case '中国人寿':
- if (res.data.length > 0) {
- this[items.cnName + 'InsuranceData'] = res.data; //意外险list
- this[items.cnName + 'accidentalDrivingVo'] = {
- typeName: item.typeName,
- ...res.data[0]
- };
- } else {
- uni.showToast({
- title: "驾意险为空",
- icon: 'none',
- });
- }
- break;
- case '紫金财险':
- this[items.cnName + 'InsuranceData'] = res.data; //意外险list
- this[items.cnName + 'accidentalDrivingVo'] = [];
- break;
- }
- } else {
- if (items.nameSimple == '紫金财险') {
- this[items.cnName + 'InsuranceData'] = [];
- this[items.cnName + 'accidentalDrivingVo'] = []
- } else {
- this[items.cnName + 'accidentalDrivingVo'] = {}
- }
- }
- },
- statusclick(value) {
- this.SelectedPlanId = value;
- let planObj = this.planDataExpansion.genericPlanList.find(item => item.id == value);
- if (planObj.schemeType == '2') {
- if (planObj.kinds && planObj.kinds.length > 0) {
- planObj.kinds.map(item => {
- const itemamtList = item.options.map(val => {
- return val.label
- })
- if (!itemamtList.includes('不投保')) {
- item.amount = item.options[0].value;
- item.amountDesc = item.options[0].label;
- }
- return item;
- })
- }
- switch (this.planDataExpansion.nameSimple) {
- case '安盛天平':
- case '国任财险':
- case '大家财险':
- case '永诚财险':
- case '恒邦财险':
- case '诚泰财险':
- case '中煤财险':
- case '泰康财险':
- case '渤海财险':
- case '众安财险':
- case '太平财险':
- case '华农财险':
- case '中国人寿':
- if (planObj.drivings.length > 0) {
- this[this.planDataExpansion.cnName + 'InsuranceData'] = planObj.drivings; //意外险list
- this[this.planDataExpansion.cnName + 'accidentalDrivingVo'] = planObj.drivings[0];
- } else {
- uni.showToast({
- title: "驾意险为空",
- icon: 'none',
- });
- }
- break;
- case '紫金财险':
- this[this.planDataExpansion.cnName + 'InsuranceData'] = planObj.drivings; //意外险list
- this[this.planDataExpansion.cnName + 'accidentalDrivingVo'] = [];
- break;
- }
- }
- this.planDataExpansion.genericPlanInfo = planObj;
- },
- //国任
- GRradioChange(id) {
- let obj = this.guoRenInsuranceData.find((val => val.id == id))
- Object.assign(this.guoRenaccidentalDrivingVo, obj);
- this.guoRenPopupshow = false;
- },
- //大家
- DJradioChange(id) {
- let obj = this.dajiaInsuranceData.find((val => val.id == id))
- Object.assign(this.dajiaaccidentalDrivingVo, obj);
- this.dajiaPopupshow = false;
- },
- //紫金意外险
- ZJcheckboxGroupChange(detail) {
- this.zijinaccidentalDrivingVo = [];
- detail.map(val => {
- let list = this.zijinInsuranceData.find(item => item.id == val)
- this.zijinaccidentalDrivingVo.push(list)
- })
- },
- //安盛
- ASradioChange(id) {
- let obj = this.anshengInsuranceData.find((val => val.id == id))
- Object.assign(this.anshengaccidentalDrivingVo, obj);
- this.anshengPopupshow = false;
- },
- //太平
- TPradioChange(id) {
- let obj = this.taipingInsuranceData.find(val => val.id == id)
- Object.assign(this.taipingaccidentalDrivingVo, obj);
- this.taipingPopupshow = false;
- },
- //泰康
- TkradioChange(id) {
- let obj = this.taikangInsuranceData.find(val => val.id == id)
- Object.assign(this.taikangaccidentalDrivingVo, obj);
- this.taikangPopupshow = false;
- },
- //永诚
- YCradioChange(id) {
- let obj = this.yongchengInsuranceData.find(val => val.id == id)
- Object.assign(this.yongchengaccidentalDrivingVo, obj);
- this.yongchengPopupshow = false;
- },
- //中煤
- ZMradioChange(id) {
- let obj = this.zhongmeiInsuranceData.find(val => val.id == id)
- Object.assign(this.zhongmeiaccidentalDrivingVo, obj);
- this.zhongmeiPopupshow = false;
- },
- //渤海意外险
- BHradioChange(id) {
- let info = this.bohaiInsuranceData.find(val => val.id == id)
- Object.assign(this.bohaiaccidentalDrivingVo, obj);
- this.bohaiPopupshow = false;
- },
- //人寿意外险
- RSradioChange(id) {
- let obj = this.renshouInsuranceData.find(val => val.id == id)
- Object.assign(this.renshouaccidentalDrivingVo, obj);
- this.renshouPopupshow = false;
- },
- //恒邦意外险
- HBradioChange(id) {
- let obj = this.hengbangInsuranceData.find(val => val.id ==
- id)
- Object.assign(this.hengbangaccidentalDrivingVo, obj);
- this.hengbangPopupshow = false;
- },
- //众安意外险
- ZAradioChange(id) {
- let obj = this.zhonganInsuranceData.find(val => val.id == id)
- Object.assign(this.zhonganaccidentalDrivingVo, obj);
- this.zhonganPopupshow = false;
- },
- //华农驾意险
- HNradioChange(id) {
- let obj = this.huanongInsuranceData.find(val => val.id == id);
- Object.assign(this.huanongaccidentalDrivingVo, obj);
- this.huanongaccidentalDrivingVo.accidentType = this.huanongaccidentalDrivingVo.planCode;
- this.huanongPopupshow = false;
- },
- //车船税类型选择
- taxRelifFlagConfirm(val, name) {
- this.vehicleAndVesselTaxForm[name] = val[0].value;
- this.model[name] = val[0].label;
- },
- //弹出popup框并显示基本信息
- adjustBIItem(index) {
- var a = {};
- Object.assign(a, this.planDataExpansion.genericPlanInfo.kinds[index])
- this.insureItem = a;
- this.$refs.popupBI.show() // 显示
- },
- numberBoxChange(val) {
- if (val.value > 0) {
- this.insureItem.amount = val.value;
- this.insureItem.amountDesc = val.value + '次';
- } else {
- this.insureItem.amount = 0;
- this.insureItem.amountDesc = '不投保';
- }
- },
- //popup内容的label改变
- adjustBIItemLabel(index) {
- this.insureItem.amount = this.insureItem.amtList[index].value;
- this.insureItem.amountDesc = this.insureItem.amtList[index].label;
- },
- //-------------驾意险处理结束
- adjustBIItemLabelSubmit() {
- for (let i = 0; i < this.planDataExpansion.genericPlanInfo.kinds.length; i++) {
- if (this.insureItem.kindCode == this.planDataExpansion.genericPlanInfo.kinds[i].kindCode) {
- this.planDataExpansion.genericPlanInfo.kinds[i].amount = this.insureItem.amount; /* 保额 */
- this.planDataExpansion.genericPlanInfo.kinds[i].amountDesc = this.insureItem.amountDesc; /* 保额名称 */
- }
- }
- this.$refs.popupBI.hide();
- },
- convertedValue(num) {
- if (num < 10000) {
- return num.toString();
- } else if (num < 100000000) {
- return (Math.floor(num / 10000 * 10) / 10) + '万';
- } else {
- return (Math.floor(num / 100000000 * 10) / 10) + '亿';
- }
- },
- taxDocumentDateconfirm(e) {
- this.vehicleAndVesselTaxForm.taxDocumentDate = uni.$u.timeFormat(e.value, 'yyyy-mm-dd');
- this.taxDocumentDateShow = false;
- },
- taxPaidAreaCodeconfirm(e) {
- this.vehicleAndVesselTaxForm.taxPaidAreaCode = e.value[0].value;
- this.model.taxPaidAreaCode = e.value[0].name;
- this.taxPaidAreaCodeShow = false;
- },
- //数据字典
- async getDicType(type) {
- let res = await this.$http.get('/sysDict/dictDetails/' + type);
- this[type + "options"] = res.data.ddList;
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .page {
- background: #F8FAFE;
- padding: 16px 16px 16px 16px;
- }
- .selectedCoverage {
- background: linear-gradient(90deg, #CCE5FE 0%, #D4EDFF 100%);
- border-radius: 6px 6px 0px 0px;
- padding: 8px 6px;
- .productName {
- padding: 10rpx 12rpx;
- background: linear-gradient(90deg, #64A4F0 0%, #0052FF 100%);
- border-radius: 6px 6px 6px 0px;
- image {
- width: 16px;
- height: 16px;
- }
- text {
- color: #fff;
- font-size: 16px;
- margin-left: 10px;
- }
- }
- }
- .planDetails {
- background-color: #fff;
- box-shadow: 0px 4px 10px 0px #DAE3F4;
- border-radius: 6px;
- padding: 8px;
- .footer-btn {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- background: #FFFFFF;
- border: 1px solid #EFEFEF;
- padding: 10px;
- .btn:nth-child(1) {
- background: #fff;
- color: #999999;
- font-size: 16px;
- padding: 5px 40px;
- border-radius: 4px;
- border: 1px solid #C9C9C9;
- }
- .btn:nth-child(2) {
- background: linear-gradient(90deg, #0052FF 0%, #0D8BFF 100%);
- border-radius: 4px;
- margin-left: 40px;
- font-size: 16px;
- color: #FFFFFF;
- padding: 6px 50px;
- }
- }
- }
- .Plancontent {
- .title {
- color: #232832;
- font-size: 15px;
- font-weight: bold;
- ::before {
- content: "丨";
- width: 10px;
- height: 10px;
- color: #0052FF;
- }
- }
- .title-before {}
- .Accident {
- width: 100%;
- border: 1px solid #0874FF;
- border-radius: 6px;
- overflow: hidden;
- .head {
- width: 20%;
- height: 40px;
- background-color: #0874FF;
- color: #FFFFFF;
- &:nth-child(1) {
- width: 60%;
- }
- }
- .tr {
- width: 20%;
- height: 60px;
- color: #232832;
- border: 1rpx solid #0874FF;
- font-size: 24rpx;
- color: #232832;
- &:nth-child(1) {
- width: 60%;
- background: rgba(8, 116, 255, 0.05);
- }
- &:nth-child(3) {
- background: rgba(8, 116, 255, 0.05);
- }
- }
- }
- .insuranceType {
- margin: 5px 10px;
- border-radius: 10px;
- }
- .terms {
- color: #FFFFFF;
- background: linear-gradient(90deg, #FF4D4D 0%, #FF784D 100%);
- border-radius: 4px 4px 4px 4px;
- }
- }
- .status-data {
- width: auto;
- padding: 2px 8px;
- margin-left: 10px;
- font-size: 12px;
- border: 1px solid #CDCDCD;
- cursor: pointer;
- text-align: center;
- line-height: 25px;
- border-radius: 2px;
- }
- .active {
- position: relative;
- background: rgba(0, 82, 255, 0.1);
- color: #0052FF;
- border: 1px solid #0052FF !important;
- font-weight: 700;
- }
- .active::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 10px;
- height: 10px;
- background-image: url("../../static/image/car-insure/before.png");
- background-size: cover;
- }
- //对勾
- .circle {
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
- border: 2px solid #0052FF;
- }
- .circle:after {
- content: "✔";
- /* 对勾符号 */
- font-size: 10px;
- font-weight: bold;
- /* 根据需要调整大小 */
- color: #0052FF;
- }
- .immediately {
- padding: 19rpx 15px;
- .common-ins-cell:last-child {
- border-bottom: none;
- }
- }
- .modelformcss {
- padding: 5px 0;
- }
- /* 交强险和商业险弹出框Start */
- .popup-content {
- position: relative;
- }
- .popHeader {
- box-sizing: border-box;
- font-size: 32upx;
- font-weight: bold;
- height: 120upx;
- border-bottom: 1px solid #eee;
- }
- .popup-content .popContent {
- padding: 0upx 30upx;
- height: 620upx;
- box-sizing: border-box;
- }
- .popup-content .popContent .popContentTitle {
- font-weight: bold;
- font-size: 32upx;
- margin: 20upx 0upx 5upx 0upx;
- }
- .popup-content .popContent .amtSingle {
- width: 22%;
- box-sizing: border-box;
- display: inline-block;
- text-align: center;
- vertical-align: middle;
- border: 1px solid #eee;
- margin: 0 15rpx 15rpx 0;
- }
- .popup-content .popBottom {
- margin: 30upx 30upx 0 30upx;
- padding-bottom: 30upx;
- }
- .drivingSelection {
- padding: 8px;
- >view {
- padding: 4px 8px;
- }
- .header {
- width: 100%;
- background: rgba(255, 86, 0, 0.05);
- border-radius: 2px;
- margin-bottom: 4px;
- text {
- font-size: 15px;
- color: #FF5600;
- font-weight: bold;
- }
- }
- }
- .policyInfo {
- .tagHeader {
- font-family: Source Han Sans SC, Source Han Sans SC;
- >view {
- position: relative;
- font-weight: bold;
- font-size: 13px;
- color: #333;
- }
- .tag {
- position: absolute;
- left: 0;
- bottom: -1px;
- width: 50%;
- height: 5px;
- background: linear-gradient(90deg, #0874FF 0%, rgba(8, 116, 255, 0) 100%);
- border-radius: 6px;
- }
- }
- .accident {
- width: 75%;
- font-size: 28rpx;
- .diss {
- border-bottom: 1px solid #E3E9F8;
- .boss {
- border-right: 1px solid #E3E9F8;
- text-align: center;
- padding: 5px 3px;
- }
- }
- .diss:last-child {
- border-bottom: none;
- }
- }
- .right {
- width: 25%;
- padding: 5px 3px;
- font-size: 28rpx;
- }
- }
- .common-ins-cell:last-child {
- border-bottom: none;
- }
- .common-ins-cell {
- font-size: 30upx;
- padding: 0upx 30upx;
- height: 90upx;
- border-bottom: 1px solid #eee;
- }
- ::v-deep {
- .u-form-item .uni-input-input {
- text-align: right !important;
- font-weight: bold;
- }
- }
- .table {
- width: 100%;
- border-radius: 4rpx;
- border: 1rpx solid #e3e9f8;
- background-color: #fff;
- .header {
- background-color: #f5f6f8;
- border-radius: 4rpx 4rpx 0 0;
- .th {
- padding: 14rpx 20rpx;
- box-sizing: border-box;
- text-align: center;
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- flex: 1;
- }
- .th.special {
- flex: 2;
- text-align: left;
- }
- }
- .tr {
- .td {
- padding: 14rpx 20rpx;
- box-sizing: border-box;
- text-align: center;
- font-size: 28rpx;
- flex: 1;
- }
- .td.special {
- flex: 2;
- }
- }
- .tr:nth-child(odd) {
- background-color: #FBFBFB;
- }
- }
- .slot-content {
- height: 600rpx;
- overflow-y: auto;
- }
- </style>
|