chooseOption.vue 75 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073
  1. <template>
  2. <view class="page">
  3. <view class="" style="padding-bottom: 70px;">
  4. <view class="selectedCoverage dis j-s a-c">
  5. <view class="productName dis a-c j-c">
  6. <image src="../../static/image/car-insure/duigou.png" mode=""></image>
  7. <text>{{productName}}</text>
  8. </view>
  9. <view class="productName dis a-c j-c" style="border-radius: 6px;">
  10. <text style="margin: 0;">已选险种</text>
  11. </view>
  12. </view>
  13. <view class="planDetails">
  14. <view class="Plancontent dis f-c ">
  15. <image src="../../static/image/car-insure/fanganxuanze.png" mode=""
  16. style="height: 22px;width: 88px;"></image>
  17. <view class="dis a-c f-wrap modelformcss">
  18. <view class="status-data" :class="item.schemeId==SelectedPlanId? 'active':''"
  19. style="margin:4px 10px;" v-for="(item,index) in planDataExpansion.genericPlanList"
  20. @tap.stop.prevent="statusclick(item.schemeId)" :key="index">
  21. {{item.schemeName}}
  22. </view>
  23. </view>
  24. </view>
  25. <view class="">
  26. <view class="Plancontent dis f-c " v-if="planDataExpansion.genericPlanInfo.isJq=='1'">
  27. <image src="../../static/image/car-insure/jqrisk.png" mode="" style="height: 22px;width: 88px;"
  28. class="mb-1"></image>
  29. <view style="padding:4px 10px;">
  30. <u-table border-color="#E3E9F8" align="left">
  31. <u-tr class="jq">
  32. <u-td>
  33. <view class="dis a-c">
  34. <view class="circle dis a-c j-c"></view>
  35. <text style="margin-left: 10px;"> 交通事故强制责任险</text>
  36. </view>
  37. </u-td>
  38. </u-tr>
  39. </u-table>
  40. </view>
  41. <text style="margin-left: 10px;">保险期限:{{jqstartDate}} - {{jqendDate}}</text>
  42. </view>
  43. <view class="Plancontent dis f-c ">
  44. <image src="../../static/image/car-insure/chechuanshui.png" mode=""
  45. style="height: 22px;width: 88px;" class="mb-1"></image>
  46. <view class="" style="margin:0 10px;">
  47. <u-form ref="uForm" :model="vehicleAndVesselTaxForm" label-width="130px">
  48. <u-form-item label="纳税类型" prop="taxRelifFlag" class="modelformcss">
  49. <u-input type="select" :select-open="taxRelifFlagShow" v-model="model.taxRelifFlag"
  50. :custom-style="{textAlign:'right'}" placeholder="请选择纳税类型"
  51. @click="taxRelifFlagShow = true"></u-input>
  52. <u-select mode="single-column" :list="taxRelifFlagoptions"
  53. v-model="taxRelifFlagShow" label-name="dictTag" value-name="dictValue"
  54. @confirm="taxRelifFlagConfirm($event,'taxRelifFlag')"></u-select>
  55. </u-form-item>
  56. <u-form-item
  57. v-show="vehicleAndVesselTaxForm.taxRelifFlag == 2 || vehicleAndVesselTaxForm.taxRelifFlag == 3"
  58. label="减免税凭证号" prop="extendChar2" class="modelformcss">
  59. <u-input placeholder="请输入减免税凭证号" :custom-style="{textAlign:'right'}"
  60. v-model="vehicleAndVesselTaxForm.extendChar2" type="text"></u-input>
  61. </u-form-item>
  62. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证号"
  63. prop="paidFreeCertificate" class="modelformcss">
  64. <u-input placeholder="请输入完税凭证号" :custom-style="{textAlign:'right'}"
  65. v-model="vehicleAndVesselTaxForm.paidFreeCertificate" type="text"></u-input>
  66. </u-form-item>
  67. <u-form-item
  68. v-show="vehicleAndVesselTaxForm.taxRelifFlag == 2 || vehicleAndVesselTaxForm.taxRelifFlag == 3"
  69. label="减免税原因" prop="relifReason" class="modelformcss">
  70. <u-input type="select" :select-open="relifReasonShow" v-model="model.relifReason"
  71. :custom-style="{textAlign:'right'}" placeholder="请选择减免税原因"
  72. @click="relifReasonShow = true"></u-input>
  73. <u-select mode="single-column" :list="relifReasonoptions" v-model="relifReasonShow"
  74. label-name="dictTag" value-name="dictValue"
  75. @confirm="taxRelifFlagConfirm($event,'relifReason')"></u-select>
  76. </u-form-item>
  77. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag != 1" label="税务机关代码"
  78. prop="taxComCode" class="modelformcss">
  79. <u-input placeholder="请输入税务机关代码" :custom-style="{textAlign:'right'}"
  80. v-model="vehicleAndVesselTaxForm.taxComCode" type="text"></u-input>
  81. </u-form-item>
  82. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag != 1" label="税务机关名称"
  83. prop="taxComName" class="modelformcss">
  84. <u-input placeholder="请输入税务机关名称" :custom-style="{textAlign:'right'}"
  85. v-model="vehicleAndVesselTaxForm.taxComName" type="text"></u-input>
  86. </u-form-item>
  87. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证填发日期"
  88. prop="taxDocumentDate" class="modelformcss">
  89. <u-input type="select" :select-open="taxDocumentDateShow"
  90. :custom-style="{textAlign:'right'}"
  91. v-model="vehicleAndVesselTaxForm.taxDocumentDate" placeholder="请选择时间"
  92. @click="taxDocumentDateShow = true"></u-input>
  93. <u-picker v-model="taxDocumentDateShow" mode="time" :params="params1"
  94. @confirm="taxDocumentDateconfirm"></u-picker>
  95. </u-form-item>
  96. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 4" label="完税凭证地区"
  97. prop="taxPaidAreaCode" class="modelformcss">
  98. <u-input type="select" :select-open="taxPaidAreaCodeShow"
  99. :custom-style="{textAlign:'right'}" v-model="model.taxPaidAreaCode"
  100. placeholder="请选择地区" @click="taxPaidAreaCodeShow = true"></u-input>
  101. <u-picker mode="region" v-model="taxPaidAreaCodeShow" :params="params2"
  102. @confirm="taxPaidAreaCodeconfirm"></u-picker>
  103. </u-form-item>
  104. <u-form-item v-show="vehicleAndVesselTaxForm.taxRelifFlag == 3" label="减税比例"
  105. prop="taxRelief" class="modelformcss">
  106. <u-input placeholder="请输入0~1的小数" :custom-style="{textAlign:'right'}"
  107. v-model="vehicleAndVesselTaxForm.taxRelief" type="text"></u-input>
  108. </u-form-item>
  109. </u-form>
  110. </view>
  111. </view>
  112. <view class="Plancontent dis f-c " v-if="planDataExpansion.genericPlanInfo.isSy=='1'">
  113. <image src="../../static/image/car-insure/syrisk.png" mode="" style="height: 22px;width: 88px;"
  114. class="mb-1"></image>
  115. <text style="margin-left: 10px;">{{systartDate}} - {{syendDate}}</text>
  116. <view class="insuranceType" v-if="planDataExpansion.genericPlanInfo.schemeName !=='自选方案'">
  117. <u-table border-color="#E3E9F8">
  118. <u-tr class="sy">
  119. <u-th width="70%" style="text-align: left;padding: 5px 10px !important">险种
  120. </u-th>
  121. <u-th>保额 </u-th>
  122. </u-tr>
  123. <u-tr v-for="(item,index) in planDataExpansion.genericPlanInfo.kinds" :key="index">
  124. <u-td width="70%" style="text-align: left;padding: 5px 10px !important">
  125. <view class="dis a-c">
  126. <view class="circle dis a-c j-c"></view>
  127. <text style="margin-left: 10px;">{{item.kindName}}</text>
  128. </view>
  129. </u-td>
  130. <u-td v-if="['A'].includes(item.kindCode)">投保</u-td>
  131. <u-td
  132. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)">{{convertedValue(item.unitAmount)}}</u-td>
  133. <u-td
  134. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)">{{item.deductibleRate}}%</u-td>
  135. <u-td
  136. v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)">{{item.serviceTimes}}次</u-td>
  137. <u-td v-else>{{convertedValue(item.amount)}}</u-td>
  138. </u-tr>
  139. </u-table>
  140. </view>
  141. <template v-else>
  142. <view class="immediately">
  143. <view class="dis f-c" style="background: #F9F9F9;border-radius: 10px;">
  144. <u-table border-color="#E3E9F8">
  145. <u-tr class="sy">
  146. <u-th width="70%"
  147. style="text-align: left;padding: 5px 10px !important">险种</u-th>
  148. <u-th>保额</u-th>
  149. </u-tr>
  150. <u-tr v-for="(insureItem,index) in planDataExpansion.genericPlanInfo.kinds"
  151. :key="index">
  152. <template v-if="insureItem.amount != 0">
  153. <u-td width="70%" style="text-align: left;padding: 5px 10px !important">
  154. <view class="dis a-c">
  155. <view class="circle dis a-c j-c"></view>
  156. <text style="margin-left: 10px;">{{insureItem.kindName}}</text>
  157. </view>
  158. </u-td>
  159. <u-td>
  160. <view class="dis a-c j-c" @tap="adjustBIItem(index)">
  161. <text>{{insureItem.amountDesc}}</text>
  162. <u-icon name="arrow-right" color="#333" size="28"
  163. style="margin-left: 5px;"></u-icon>
  164. </view>
  165. </u-td>
  166. </template>
  167. </u-tr>
  168. </u-table>
  169. </view>
  170. </view>
  171. <view class="compulsory-insurance">
  172. <block v-for="(insureItem,index) in planDataExpansion.genericPlanInfo.kinds"
  173. :key="index">
  174. <template v-if="insureItem.amount == 0">
  175. <view class="car-ins-cell d-flex j-sb common-ins-cell"
  176. @tap="adjustBIItem(index)">
  177. <view class="cell-title d-flex a-center j-center">
  178. {{insureItem.kindName}}
  179. </view>
  180. <view class="cell-desc d-flex a-center j-center">
  181. {{insureItem.amountDesc}}
  182. <view class="icon iconfont icon-youjiantou"
  183. style="font-size: 40rpx;margin-left: 20upx;color: #C7C6CA;">
  184. </view>
  185. </view>
  186. </view>
  187. </template>
  188. </block>
  189. </view>
  190. </template>
  191. </view>
  192. <template v-if="planDataExpansion.genericPlanInfo.schemeName !=='自选方案'">
  193. <view class="Plancontent dis f-c policyInfo"
  194. v-if=" planDataExpansion.genericPlanInfo && planDataExpansion.genericPlanInfo.drivingList && planDataExpansion.genericPlanInfo.drivingList.length">
  195. <image src="../../static/image/car-insure/ywrisk.png" mode=""
  196. style="height: 22px;width: 88px;" class="mb-1"></image>
  197. <view class=" modelformcss"
  198. v-for="(drivingsitem,risksindex) in planDataExpansion.genericPlanInfo.drivingList"
  199. :key="risksindex">
  200. <view class="dis f-c ">
  201. <text class="tagHeader dis a-c">
  202. <text>{{drivingsitem.alias}}
  203. <view class="tag"></view>
  204. </text>
  205. </text>
  206. </view>
  207. <u-table border-color="#E3E9F8" class="mt-2"
  208. v-if="drivingsitem.insDrivingIntentionInsuranceSon && drivingsitem.insDrivingIntentionInsuranceSon.length>0">
  209. <u-tr class="sy">
  210. <u-th width="50%"
  211. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  212. <u-th>保额</u-th>
  213. <u-th>保费(元)</u-th>
  214. </u-tr>
  215. <view class="dis">
  216. <view class="accident dis f-c">
  217. <view class="diss dis"
  218. v-for="(Sonitem,Sonindex) in drivingsitem.insDrivingIntentionInsuranceSon"
  219. :key="Sonindex">
  220. <view style="width: 67%;padding: 5px 10px " class="boss">
  221. <view class="dis a-c ">
  222. <view class="circle dis a-c j-c"></view>
  223. <view style="margin-left: 5px;width: 80%;" class="dis j-start">
  224. {{Sonitem.name}}
  225. </view>
  226. </view>
  227. </view>
  228. <view class="boss dis a-c j-c" style="width: 33%;">
  229. {{Sonitem.amount}}
  230. </view>
  231. </view>
  232. </view>
  233. <view class="right dis j-c a-c">
  234. {{drivingsitem.sumPremium}}
  235. </view>
  236. </view>
  237. </u-table>
  238. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  239. <text>份数</text>
  240. <text>{{drivingsitem.quantity}}份</text>
  241. </view>
  242. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  243. <text>总保费</text>
  244. <text>¥{{drivingsitem.sumPremium?drivingsitem.sumPremium:0}}</text>
  245. </view>
  246. </view>
  247. </view>
  248. </template>
  249. <view class="Plancontent dis f-c " v-else>
  250. <image src="../../static/image/car-insure/ywrisk.png" mode="" style="height: 22px;width: 88px;"
  251. class="mb-1"></image>
  252. <view class="dis a-c f-wrap modelformcss">
  253. <view class="status-data" :class="item.checked? 'active':''" style="margin-right: 10px;"
  254. v-for="(item,index) in accidentInsuranceCategoryList"
  255. @tap.stop.prevent="accidentCategoryclick(item,planDataExpansion,index)" :key="index">
  256. {{item.typeName}}
  257. </view>
  258. </view>
  259. <template v-if=" planDataExpansion.namesimple=='安盛天平' && anshengaccidentalDrivingVo.typeName ">
  260. <view class="drivingSelection policyInfo">
  261. <view class="dis a-c j-s " @click="anshengPopupshow=true">
  262. <text class="tagHeader dis a-c">
  263. <text>{{anshengaccidentalDrivingVo.alias}}
  264. <view class="tag"></view>
  265. </text>
  266. </text>
  267. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  268. </view>
  269. <view>
  270. <u-table border-color="#E3E9F8"
  271. v-if="anshengaccidentalDrivingVo.insDrivingIntentionInsuranceSon && anshengaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  272. <u-tr class="sy">
  273. <u-th width="50%"
  274. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  275. <u-th>保额</u-th>
  276. <u-th>保费(元)</u-th>
  277. </u-tr>
  278. <view class="dis">
  279. <view class="accident dis f-c">
  280. <view class="diss dis"
  281. v-for="(Sonitem,Sonindex) in anshengaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  282. :key="Sonindex">
  283. <view style="width: 67%;padding: 5px 10px " class="boss">
  284. <view class="dis a-c ">
  285. <view class="circle dis a-c j-c"></view>
  286. <view style="margin-left: 5px;width: 80%;"
  287. class="dis j-start">
  288. {{Sonitem.name}}
  289. </view>
  290. </view>
  291. </view>
  292. <view class="boss dis a-c j-c" style="width: 33%;">
  293. {{Sonitem.amount}}
  294. </view>
  295. </view>
  296. </view>
  297. <view class="right dis j-c a-c">
  298. {{anshengaccidentalDrivingVo.sumPremium}}
  299. </view>
  300. </view>
  301. </u-table>
  302. </view>
  303. <view class="dis a-c j-s">
  304. <text>份数</text>
  305. <u-number-box v-model="anshengaccidentalDrivingVo.quantity" :min="1" :max="10"
  306. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  307. :long-press="false"></u-number-box>
  308. </view>
  309. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  310. <text>总保费</text>
  311. <text>¥{{anshengaccidentalDrivingVo.sumPremium*anshengaccidentalDrivingVo.quantity}}</text>
  312. </view>
  313. </view>
  314. </template>
  315. <template v-if=" planDataExpansion.namesimple=='国任财险' && guoRenaccidentalDrivingVo.typeName ">
  316. <view class="drivingSelection policyInfo">
  317. <view class="dis a-c j-s " @click="guoRenPopupshow=true">
  318. <text class="tagHeader dis a-c">
  319. <text>{{guoRenaccidentalDrivingVo.alias}}
  320. <view class="tag"></view>
  321. </text>
  322. </text>
  323. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  324. </view>
  325. <view>
  326. <u-table border-color="#E3E9F8"
  327. v-if="guoRenaccidentalDrivingVo.insDrivingIntentionInsuranceSon && guoRenaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  328. <u-tr class="sy">
  329. <u-th width="50%"
  330. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  331. <u-th>保额</u-th>
  332. <u-th>保费(元)</u-th>
  333. </u-tr>
  334. <view class="dis">
  335. <view class="accident dis f-c">
  336. <view class="diss dis"
  337. v-for="(Sonitem,Sonindex) in guoRenaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  338. :key="Sonindex">
  339. <view style="width: 67%;padding: 5px 10px " class="boss">
  340. <view class="dis a-c ">
  341. <view class="circle dis a-c j-c"></view>
  342. <view style="margin-left: 5px;width: 80%;"
  343. class="dis j-start">
  344. {{Sonitem.name}}
  345. </view>
  346. </view>
  347. </view>
  348. <view class="boss dis a-c j-c" style="width: 33%;">
  349. {{Sonitem.amount}}
  350. </view>
  351. </view>
  352. </view>
  353. <view class="right dis j-c a-c">
  354. {{guoRenaccidentalDrivingVo.sumPremium}}
  355. </view>
  356. </view>
  357. </u-table>
  358. </view>
  359. <view class="dis a-c j-s">
  360. <text>份数</text>
  361. <u-number-box v-model="guoRenaccidentalDrivingVo.quantity" :min="1" :max="10"
  362. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  363. :long-press="false"></u-number-box>
  364. </view>
  365. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  366. <text>总保费</text>
  367. <text>¥{{guoRenaccidentalDrivingVo.sumPremium*guoRenaccidentalDrivingVo.quantity}}</text>
  368. </view>
  369. </view>
  370. </template>
  371. <template v-if=" planDataExpansion.namesimple=='大家财险' && dajiaaccidentalDrivingVo.typeName ">
  372. <view class="drivingSelection policyInfo">
  373. <view class="dis a-c j-s " @click="dajiaPopupshow=true">
  374. <text class="tagHeader dis a-c">
  375. <text>{{dajiaaccidentalDrivingVo.alias}}
  376. <view class="tag"></view>
  377. </text>
  378. </text>
  379. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  380. </view>
  381. <view>
  382. <u-table border-color="#E3E9F8"
  383. v-if="dajiaaccidentalDrivingVo.insDrivingIntentionInsuranceSon && dajiaaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  384. <u-tr class="sy">
  385. <u-th width="50%"
  386. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  387. <u-th>保额</u-th>
  388. <u-th>保费(元)</u-th>
  389. </u-tr>
  390. <view class="dis">
  391. <view class="accident dis f-c">
  392. <view class="diss dis"
  393. v-for="(Sonitem,Sonindex) in dajiaaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  394. :key="Sonindex">
  395. <view style="width: 67%;padding: 5px 10px " class="boss">
  396. <view class="dis a-c ">
  397. <view class="circle dis a-c j-c"></view>
  398. <view style="margin-left: 5px;width: 80%;"
  399. class="dis j-start">
  400. {{Sonitem.name}}
  401. </view>
  402. </view>
  403. </view>
  404. <view class="boss dis a-c j-c" style="width: 33%;">
  405. {{Sonitem.amount}}
  406. </view>
  407. </view>
  408. </view>
  409. <view class="right dis j-c a-c">
  410. {{dajiaaccidentalDrivingVo.sumPremium}}
  411. </view>
  412. </view>
  413. </u-table>
  414. </view>
  415. <view class="dis a-c j-s">
  416. <text>份数</text>
  417. <u-number-box v-model="dajiaaccidentalDrivingVo.quantity" :min="1" :max="10"
  418. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  419. :long-press="false"></u-number-box>
  420. </view>
  421. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  422. <text>总保费</text>
  423. <text>¥{{dajiaaccidentalDrivingVo.sumPremium*dajiaaccidentalDrivingVo.quantity}}</text>
  424. </view>
  425. </view>
  426. </template>
  427. <template v-if=" planDataExpansion.namesimple=='紫金财险' && zijinInsuranceData.length>0">
  428. <view class="p-1">
  429. <text @click="zijinPopupshow=true" style="color: #FF5600;font-size: 14px;">意外险选择</text>
  430. <view class="" v-for="(item,index) in zijinaccidentalDrivingVo" :key="index">
  431. <view class="policyInfo">
  432. <text class="tagHeader dis a-c">
  433. <text>{{item.alias}}
  434. <view class="tag"></view>
  435. </text>
  436. </text>
  437. </view>
  438. <view class=" dis j-s a-c">
  439. <view class="">
  440. <text>保费:</text>
  441. <text style="color: #ee7000;">¥{{item.sumPremium*item.quantity}}.00</text>
  442. </view>
  443. <view class="">
  444. <text>份数:</text>
  445. <u-number-box v-model="item.quantity" :min="1" :max="10" :input-width="70"
  446. :input-height="44" size="26" :long-press="false"></u-number-box>
  447. </view>
  448. </view>
  449. <!-- <view class="Accident mt-2" v-if="item.insDrivingIntentionInsuranceSon">
  450. <view class="dis a-c j-s">
  451. <view class="head dis a-c j-c">保险责任</view>
  452. <view class="head dis a-c j-c">保险金额</view>
  453. <view class="head dis a-c j-c">保费(元)</view>
  454. </view>
  455. <view class="dis a-c j-s"
  456. v-for="(Sonitem,Sonindex) in item.insDrivingIntentionInsuranceSon"
  457. :key="Sonindex">
  458. <view class="tr dis a-c j-c"> {{Sonitem.name}}</view>
  459. <view class="tr dis a-c j-c"> {{Sonitem.amount}}/座</view>
  460. <view class="tr dis a-c j-c">¥{{Sonitem.premium}}</view>
  461. </view>
  462. </view> -->
  463. </view>
  464. </view>
  465. </template>
  466. <template v-if=" planDataExpansion.namesimple=='众安财险' && zhonganaccidentalDrivingVo.typeName ">
  467. <view class="drivingSelection policyInfo">
  468. <view class="dis a-c j-s " @click="zhonganPopupshow=true">
  469. <text class="tagHeader dis a-c">
  470. <text>{{zhonganaccidentalDrivingVo.alias}}
  471. <view class="tag"></view>
  472. </text>
  473. </text>
  474. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  475. </view>
  476. <view>
  477. <u-table border-color="#E3E9F8"
  478. v-if="zhonganaccidentalDrivingVo.insDrivingIntentionInsuranceSon && zhonganaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  479. <u-tr class="sy">
  480. <u-th width="50%"
  481. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  482. <u-th>保额</u-th>
  483. <u-th>保费(元)</u-th>
  484. </u-tr>
  485. <view class="dis">
  486. <view class="accident dis f-c">
  487. <view class="diss dis"
  488. v-for="(Sonitem,Sonindex) in zhonganaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  489. :key="Sonindex">
  490. <view style="width: 67%;padding: 5px 10px " class="boss">
  491. <view class="dis a-c ">
  492. <view class="circle dis a-c j-c"></view>
  493. <view style="margin-left: 5px;width: 80%;"
  494. class="dis j-start">
  495. {{Sonitem.name}}
  496. </view>
  497. </view>
  498. </view>
  499. <view class="boss dis a-c j-c" style="width: 33%;">
  500. {{Sonitem.amount}}
  501. </view>
  502. </view>
  503. </view>
  504. <view class="right dis j-c a-c">
  505. {{zhonganaccidentalDrivingVo.sumPremium}}
  506. </view>
  507. </view>
  508. </u-table>
  509. </view>
  510. <view class="dis a-c j-s">
  511. <text>份数</text>
  512. <u-number-box v-model="zhonganaccidentalDrivingVo.quantity" :min="1" :max="10"
  513. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  514. :long-press="false"></u-number-box>
  515. </view>
  516. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  517. <text>总保费</text>
  518. <text>¥{{zhonganaccidentalDrivingVo.sumPremium*zhonganaccidentalDrivingVo.quantity}}</text>
  519. </view>
  520. </view>
  521. </template>
  522. <template
  523. v-if=" planDataExpansion.namesimple=='永诚财险' && yongchengaccidentalDrivingVo.typeName ">
  524. <view class="drivingSelection policyInfo">
  525. <view class="dis a-c j-s " @click="yongchengPopupshow=true">
  526. <text class="tagHeader dis a-c">
  527. <text>{{yongchengaccidentalDrivingVo.alias}}
  528. <view class="tag"></view>
  529. </text>
  530. </text>
  531. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  532. </view>
  533. <view>
  534. <u-table border-color="#E3E9F8"
  535. v-if="yongchengaccidentalDrivingVo.insDrivingIntentionInsuranceSon && yongchengaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  536. <u-tr class="sy">
  537. <u-th width="50%"
  538. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  539. <u-th>保额</u-th>
  540. <u-th>保费(元)</u-th>
  541. </u-tr>
  542. <view class="dis">
  543. <view class="accident dis f-c">
  544. <view class="diss dis"
  545. v-for="(Sonitem,Sonindex) in yongchengaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  546. :key="Sonindex">
  547. <view style="width: 67%;padding: 5px 10px " class="boss">
  548. <view class="dis a-c ">
  549. <view class="circle dis a-c j-c"></view>
  550. <view style="margin-left: 5px;width: 80%;"
  551. class="dis j-start">
  552. {{Sonitem.name}}
  553. </view>
  554. </view>
  555. </view>
  556. <view class="boss dis a-c j-c" style="width: 33%;">
  557. {{Sonitem.amount}}
  558. </view>
  559. </view>
  560. </view>
  561. <view class="right dis j-c a-c">
  562. {{yongchengaccidentalDrivingVo.sumPremium}}
  563. </view>
  564. </view>
  565. </u-table>
  566. </view>
  567. <view class="dis a-c j-s">
  568. <text>份数</text>
  569. <u-number-box v-model="yongchengaccidentalDrivingVo.quantity" :min="1" :max="10"
  570. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  571. :long-press="false"></u-number-box>
  572. </view>
  573. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  574. <text>总保费</text>
  575. <text>¥{{yongchengaccidentalDrivingVo.sumPremium*yongchengaccidentalDrivingVo.quantity}}</text>
  576. </view>
  577. </view>
  578. </template>
  579. <template v-if=" planDataExpansion.namesimple=='恒邦财险' && hengbangaccidentalDrivingVo.typeName ">
  580. <view class="drivingSelection policyInfo">
  581. <view class="dis a-c j-s " @click="hengbangPopupshow=true">
  582. <text class="tagHeader dis a-c">
  583. <text>{{hengbangaccidentalDrivingVo.alias}}
  584. <view class="tag"></view>
  585. </text>
  586. </text>
  587. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  588. </view>
  589. <view>
  590. <u-table border-color="#E3E9F8"
  591. v-if="hengbangaccidentalDrivingVo.insDrivingIntentionInsuranceSon && hengbangaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  592. <u-tr class="sy">
  593. <u-th width="50%"
  594. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  595. <u-th>保额</u-th>
  596. <u-th>保费(元)</u-th>
  597. </u-tr>
  598. <view class="dis">
  599. <view class="accident dis f-c">
  600. <view class="diss dis"
  601. v-for="(Sonitem,Sonindex) in hengbangaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  602. :key="Sonindex">
  603. <view style="width: 67%;padding: 5px 10px " class="boss">
  604. <view class="dis a-c ">
  605. <view class="circle dis a-c j-c"></view>
  606. <view style="margin-left: 5px;width: 80%;"
  607. class="dis j-start">
  608. {{Sonitem.name}}
  609. </view>
  610. </view>
  611. </view>
  612. <view class="boss dis a-c j-c" style="width: 33%;">
  613. {{Sonitem.amount}}
  614. </view>
  615. </view>
  616. </view>
  617. <view class="right dis j-c a-c">
  618. {{hengbangaccidentalDrivingVo.sumPremium}}
  619. </view>
  620. </view>
  621. </u-table>
  622. </view>
  623. <view class="dis a-c j-s">
  624. <text>份数</text>
  625. <u-number-box v-model="hengbangaccidentalDrivingVo.quantity" :min="1" :max="10"
  626. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  627. :long-press="false"></u-number-box>
  628. </view>
  629. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  630. <text>总保费</text>
  631. <text>¥{{hengbangaccidentalDrivingVo.sumPremium*hengbangaccidentalDrivingVo.quantity}}</text>
  632. </view>
  633. </view>
  634. </template>
  635. <template v-if=" planDataExpansion.namesimple=='诚泰财险' && chengtaiaccidentalDrivingVo.typeName">
  636. <view class="drivingSelection policyInfo">
  637. <view class="dis a-c j-s " @click="chengtaiPopupshow=true">
  638. <text class="tagHeader dis a-c">
  639. <text>{{chengtaiaccidentalDrivingVo.alias}}
  640. <view class="tag"></view>
  641. </text>
  642. </text>
  643. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  644. </view>
  645. <view>
  646. <u-table border-color="#E3E9F8"
  647. v-if="chengtaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon && chengtaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  648. <u-tr class="sy">
  649. <u-th width="50%"
  650. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  651. <u-th>保额</u-th>
  652. <u-th>保费(元)</u-th>
  653. </u-tr>
  654. <view class="dis">
  655. <view class="accident dis f-c">
  656. <view class="diss dis"
  657. v-for="(Sonitem,Sonindex) in chengtaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  658. :key="Sonindex">
  659. <view style="width: 67%;padding: 5px 10px " class="boss">
  660. <view class="dis a-c ">
  661. <view class="circle dis a-c j-c"></view>
  662. <view style="margin-left: 5px;width: 80%;"
  663. class="dis j-start">
  664. {{Sonitem.name}}
  665. </view>
  666. </view>
  667. </view>
  668. <view class="boss dis a-c j-c" style="width: 33%;">
  669. {{Sonitem.amount}}
  670. </view>
  671. </view>
  672. </view>
  673. <view class="right dis j-c a-c">
  674. {{chengtaiaccidentalDrivingVo.sumPremium}}
  675. </view>
  676. </view>
  677. </u-table>
  678. </view>
  679. <view class="dis a-c j-s">
  680. <text>份数</text>
  681. <u-number-box v-model="chengtaiaccidentalDrivingVo.quantity" :min="1" :max="10"
  682. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  683. :long-press="false"></u-number-box>
  684. </view>
  685. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  686. <text>总保费</text>
  687. <text>¥{{chengtaiaccidentalDrivingVo.sumPremium*chengtaiaccidentalDrivingVo.quantity}}</text>
  688. </view>
  689. </view>
  690. </template>
  691. <template v-if=" planDataExpansion.namesimple=='中煤财险' && zhongmeiaccidentalDrivingVo.typeName ">
  692. <view class="drivingSelection policyInfo">
  693. <view class="dis a-c j-s " @click="zhongmeiPopupshow=true">
  694. <text class="tagHeader dis a-c">
  695. <text>{{zhongmeiaccidentalDrivingVo.alias}}
  696. <view class="tag"></view>
  697. </text>
  698. </text>
  699. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  700. </view>
  701. <view>
  702. <u-table border-color="#E3E9F8"
  703. v-if="zhongmeiaccidentalDrivingVo.insDrivingIntentionInsuranceSon && zhongmeiaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  704. <u-tr class="sy">
  705. <u-th width="50%"
  706. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  707. <u-th>保额</u-th>
  708. <u-th>保费(元)</u-th>
  709. </u-tr>
  710. <view class="dis">
  711. <view class="accident dis f-c">
  712. <view class="diss dis"
  713. v-for="(Sonitem,Sonindex) in zhongmeiaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  714. :key="Sonindex">
  715. <view style="width: 67%;padding: 5px 10px " class="boss">
  716. <view class="dis a-c ">
  717. <view class="circle dis a-c j-c"></view>
  718. <view style="margin-left: 5px;width: 80%;"
  719. class="dis j-start">
  720. {{Sonitem.name}}
  721. </view>
  722. </view>
  723. </view>
  724. <view class="boss dis a-c j-c" style="width: 33%;">
  725. {{Sonitem.amount}}
  726. </view>
  727. </view>
  728. </view>
  729. <view class="right dis j-c a-c">
  730. {{zhongmeiaccidentalDrivingVo.sumPremium}}
  731. </view>
  732. </view>
  733. </u-table>
  734. </view>
  735. <view class="dis a-c j-s">
  736. <text>份数</text>
  737. <u-number-box v-model="zhongmeiaccidentalDrivingVo.quantity" :min="1" :max="10"
  738. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  739. :long-press="false"></u-number-box>
  740. </view>
  741. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  742. <text>总保费</text>
  743. <text>¥{{zhongmeiaccidentalDrivingVo.sumPremium*zhongmeiaccidentalDrivingVo.quantity}}</text>
  744. </view>
  745. </view>
  746. </template>
  747. <template v-if=" planDataExpansion.namesimple=='泰康财险' && taikangaccidentalDrivingVo.typeName ">
  748. <view class="drivingSelection policyInfo">
  749. <view class="dis a-c j-s " @click="taikangPopupshow=true">
  750. <text class="tagHeader dis a-c">
  751. <text>{{taikangaccidentalDrivingVo.alias}}
  752. <view class="tag"></view>
  753. </text>
  754. </text>
  755. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  756. </view>
  757. <view>
  758. <u-table border-color="#E3E9F8"
  759. v-if="taikangaccidentalDrivingVo.insDrivingIntentionInsuranceSon && taikangaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  760. <u-tr class="sy">
  761. <u-th width="50%"
  762. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  763. <u-th>保额</u-th>
  764. <u-th>保费(元)</u-th>
  765. </u-tr>
  766. <view class="dis">
  767. <view class="accident dis f-c">
  768. <view class="diss dis"
  769. v-for="(Sonitem,Sonindex) in taikangaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  770. :key="Sonindex">
  771. <view style="width: 67%;padding: 5px 10px " class="boss">
  772. <view class="dis a-c ">
  773. <view class="circle dis a-c j-c"></view>
  774. <view style="margin-left: 5px;width: 80%;"
  775. class="dis j-start">
  776. {{Sonitem.name}}
  777. </view>
  778. </view>
  779. </view>
  780. <view class="boss dis a-c j-c" style="width: 33%;">
  781. {{Sonitem.amount}}
  782. </view>
  783. </view>
  784. </view>
  785. <view class="right dis j-c a-c">
  786. {{taikangaccidentalDrivingVo.sumPremium}}
  787. </view>
  788. </view>
  789. </u-table>
  790. </view>
  791. <view class="dis a-c j-s">
  792. <text>份数</text>
  793. <u-number-box v-model="taikangaccidentalDrivingVo.quantity" :min="1" :max="10"
  794. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  795. :long-press="false"></u-number-box>
  796. </view>
  797. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  798. <text>总保费</text>
  799. <text>¥{{taikangaccidentalDrivingVo.sumPremium*taikangaccidentalDrivingVo.quantity}}</text>
  800. </view>
  801. </view>
  802. </template>
  803. <template v-if=" planDataExpansion.namesimple=='渤海财险' && bohaiaccidentalDrivingVo.typeName ">
  804. <view class="drivingSelection policyInfo">
  805. <view class="dis a-c j-s " @click="bohaiPopupshow=true">
  806. <text class="tagHeader dis a-c">
  807. <text>{{bohaiaccidentalDrivingVo.alias}}
  808. <view class="tag"></view>
  809. </text>
  810. </text>
  811. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  812. </view>
  813. <view>
  814. <u-table border-color="#E3E9F8"
  815. v-if="bohaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon && bohaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  816. <u-tr class="sy">
  817. <u-th width="50%"
  818. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  819. <u-th>保额</u-th>
  820. <u-th>保费(元)</u-th>
  821. </u-tr>
  822. <view class="dis">
  823. <view class="accident dis f-c">
  824. <view class="diss dis"
  825. v-for="(Sonitem,Sonindex) in bohaiaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  826. :key="Sonindex">
  827. <view style="width: 67%;padding: 5px 10px " class="boss">
  828. <view class="dis a-c ">
  829. <view class="circle dis a-c j-c"></view>
  830. <view style="margin-left: 5px;width: 80%;"
  831. class="dis j-start">
  832. {{Sonitem.name}}
  833. </view>
  834. </view>
  835. </view>
  836. <view class="boss dis a-c j-c" style="width: 33%;">
  837. {{Sonitem.amount}}
  838. </view>
  839. </view>
  840. </view>
  841. <view class="right dis j-c a-c">
  842. {{bohaiaccidentalDrivingVo.sumPremium}}
  843. </view>
  844. </view>
  845. </u-table>
  846. </view>
  847. <view class="dis a-c j-s">
  848. <text>份数</text>
  849. <u-number-box v-model="bohaiaccidentalDrivingVo.quantity" :min="1" :max="10"
  850. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  851. :long-press="false"></u-number-box>
  852. </view>
  853. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  854. <text>总保费</text>
  855. <text>¥{{bohaiaccidentalDrivingVo.sumPremium*bohaiaccidentalDrivingVo.quantity}}</text>
  856. </view>
  857. </view>
  858. </template>
  859. <template v-if=" planDataExpansion.namesimple=='太平财险' && taipingaccidentalDrivingVo.typeName ">
  860. <view class="drivingSelection policyInfo">
  861. <view class="dis a-c j-s " @click="taipingPopupshow=true">
  862. <text class="tagHeader dis a-c">
  863. <text>{{taipingaccidentalDrivingVo.alias}}
  864. <view class="tag"></view>
  865. </text>
  866. </text>
  867. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  868. </view>
  869. <view>
  870. <u-table border-color="#E3E9F8"
  871. v-if="taipingaccidentalDrivingVo.insDrivingIntentionInsuranceSon && taipingaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  872. <u-tr class="sy">
  873. <u-th width="50%"
  874. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  875. <u-th>保额</u-th>
  876. <u-th>保费(元)</u-th>
  877. </u-tr>
  878. <view class="dis">
  879. <view class="accident dis f-c">
  880. <view class="diss dis"
  881. v-for="(Sonitem,Sonindex) in taipingaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  882. :key="Sonindex">
  883. <view style="width: 67%;padding: 5px 10px " class="boss">
  884. <view class="dis a-c ">
  885. <view class="circle dis a-c j-c"></view>
  886. <view style="margin-left: 5px;width: 80%;"
  887. class="dis j-start">
  888. {{Sonitem.name}}
  889. </view>
  890. </view>
  891. </view>
  892. <view class="boss dis a-c j-c" style="width: 33%;">
  893. {{Sonitem.amount}}
  894. </view>
  895. </view>
  896. </view>
  897. <view class="right dis j-c a-c">
  898. {{taipingaccidentalDrivingVo.sumPremium}}
  899. </view>
  900. </view>
  901. </u-table>
  902. </view>
  903. <view class="dis a-c j-s">
  904. <text>份数</text>
  905. <u-number-box v-model="taipingaccidentalDrivingVo.quantity" :min="1" :max="10"
  906. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  907. :long-press="false"></u-number-box>
  908. </view>
  909. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  910. <text>总保费</text>
  911. <text>¥{{taipingaccidentalDrivingVo.sumPremium*taipingaccidentalDrivingVo.quantity}}</text>
  912. </view>
  913. </view>
  914. </template>
  915. <template v-if=" planDataExpansion.namesimple=='华农财险' && huanongaccidentalDrivingVo.typeName ">
  916. <view class="drivingSelection policyInfo">
  917. <view class="dis a-c j-s " @click="huanongPopupshow=true">
  918. <text class="tagHeader dis a-c">
  919. <text>{{huanongaccidentalDrivingVo.alias}}
  920. <view class="tag"></view>
  921. </text>
  922. </text>
  923. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  924. </view>
  925. <view>
  926. <u-table border-color="#E3E9F8"
  927. v-if="huanongaccidentalDrivingVo.insDrivingIntentionInsuranceSon && huanongaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  928. <u-tr class="sy">
  929. <u-th width="50%"
  930. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  931. <u-th>保额</u-th>
  932. <u-th>保费(元)</u-th>
  933. </u-tr>
  934. <view class="dis">
  935. <view class="accident dis f-c">
  936. <view class="diss dis"
  937. v-for="(Sonitem,Sonindex) in huanongaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  938. :key="Sonindex">
  939. <view style="width: 67%;padding: 5px 10px " class="boss">
  940. <view class="dis a-c ">
  941. <view class="circle dis a-c j-c"></view>
  942. <view style="margin-left: 5px;width: 80%;"
  943. class="dis j-start">
  944. {{Sonitem.name}}
  945. </view>
  946. </view>
  947. </view>
  948. <view class="boss dis a-c j-c" style="width: 33%;">
  949. {{Sonitem.amount}}
  950. </view>
  951. </view>
  952. </view>
  953. <view class="right dis j-c a-c">
  954. {{huanongaccidentalDrivingVo.sumPremium}}
  955. </view>
  956. </view>
  957. </u-table>
  958. </view>
  959. <view class="dis a-c j-s">
  960. <text>份数</text>
  961. <u-number-box v-model="huanongaccidentalDrivingVo.quantity" :min="1" :max="10"
  962. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  963. :long-press="false"></u-number-box>
  964. </view>
  965. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  966. <text>总保费</text>
  967. <text>¥{{huanongaccidentalDrivingVo.sumPremium*huanongaccidentalDrivingVo.quantity}}</text>
  968. </view>
  969. </view>
  970. </template>
  971. <template v-if=" planDataExpansion.namesimple=='中国人寿' && renshouaccidentalDrivingVo.typeName ">
  972. <view class="drivingSelection policyInfo">
  973. <view class="dis a-c j-s " @click="renshouPopupshow=true">
  974. <text class="tagHeader dis a-c">
  975. <text>{{renshouaccidentalDrivingVo.alias}}
  976. <view class="tag"></view>
  977. </text>
  978. </text>
  979. <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
  980. </view>
  981. <view>
  982. <u-table border-color="#E3E9F8"
  983. v-if="renshouaccidentalDrivingVo.insDrivingIntentionInsuranceSon && renshouaccidentalDrivingVo.insDrivingIntentionInsuranceSon.length>0">
  984. <u-tr class="sy">
  985. <u-th width="50%"
  986. style="text-align: left;padding: 5px 10px !important">保险责任</u-th>
  987. <u-th>保额</u-th>
  988. <u-th>保费(元)</u-th>
  989. </u-tr>
  990. <view class="dis">
  991. <view class="accident dis f-c">
  992. <view class="diss dis"
  993. v-for="(Sonitem,Sonindex) in renshouaccidentalDrivingVo.insDrivingIntentionInsuranceSon"
  994. :key="Sonindex">
  995. <view style="width: 67%;padding: 5px 10px " class="boss">
  996. <view class="dis a-c ">
  997. <view class="circle dis a-c j-c"></view>
  998. <view style="margin-left: 5px;width: 80%;"
  999. class="dis j-start">
  1000. {{Sonitem.name}}
  1001. </view>
  1002. </view>
  1003. </view>
  1004. <view class="boss dis a-c j-c" style="width: 33%;">
  1005. {{Sonitem.amount}}
  1006. </view>
  1007. </view>
  1008. </view>
  1009. <view class="right dis j-c a-c">
  1010. {{renshouaccidentalDrivingVo.sumPremium}}
  1011. </view>
  1012. </view>
  1013. </u-table>
  1014. </view>
  1015. <view class="dis a-c j-s">
  1016. <text>份数</text>
  1017. <u-number-box v-model="renshouaccidentalDrivingVo.quantity" :min="1" :max="10"
  1018. :disabled-input="true" :input-width="70" :input-height="44" size="26"
  1019. :long-press="false"></u-number-box>
  1020. </view>
  1021. <view class="dis a-c j-s mt-2" style="font-size: 14px;color: #232832;">
  1022. <text>总保费</text>
  1023. <text>¥{{renshouaccidentalDrivingVo.sumPremium*renshouaccidentalDrivingVo.quantity}}</text>
  1024. </view>
  1025. </view>
  1026. </template>
  1027. </view>
  1028. </view>
  1029. <view class="footer-btn dis a-c j-c">
  1030. <view class="btn" @click="back">取消</view>
  1031. <view class="btn" @click="confirmPlan(planDataExpansion.cnName)">确认方案</view>
  1032. </view>
  1033. </view>
  1034. </view>
  1035. <!-- 商业选择方案 -->
  1036. <wyb-popup ref="popupBI" type="bottom" mode="size-fixed" height="900" radius="6" :showCloseIcon="true">
  1037. <view class="popup-content">
  1038. <view class="popHeader d-flex a-center j-center">
  1039. 选择方案
  1040. </view>
  1041. <scroll-view scroll-top="0" scroll-y="true" class="popContent">
  1042. <view class="popContentTitle">{{insureItem.kindName}}</view>
  1043. <view style="color: #999;font-size: 24upx;">{{insureItem.desc}}</view>
  1044. <view class="dis a-c j-s p-3" v-if="['TY2','TY3','TY4'].includes(insureItem.kindCode)">
  1045. <text>自定义次数</text>
  1046. <u-number-box v-model="insureItem.amount" :input-width="100" :input-height="60" :min="0"
  1047. color="#fff" size="30" @change="numberBoxChange"></u-number-box>
  1048. </view>
  1049. <view v-else style="margin-top: 10px;">
  1050. <block v-for="(amt,index) in insureItem.amtList" :key="index">
  1051. <view class="amtSingle" @tap="adjustBIItemLabel(index)"
  1052. :class="(amt.label== insureItem.amountDesc)?'active':''">
  1053. {{amt.label}}
  1054. </view>
  1055. </block>
  1056. </view>
  1057. </scroll-view>
  1058. <view class="popBottom">
  1059. <button type="primary" style="background-color: #0052FF;"
  1060. @tap="adjustBIItemLabelSubmit()">完成</button>
  1061. </view>
  1062. </view>
  1063. </wyb-popup>
  1064. <!-- 人寿驾意险弹框 -->
  1065. <u-modal v-model="renshouPopupshow" title="驾意险"
  1066. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1067. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1068. <view class="slot-content p-2">
  1069. <u-radio-group size="30" wrap>
  1070. <u-radio style="margin: 4px 0; align-items: flex-start;" label-size="30" shape="square"
  1071. @change="RSradioChange" v-for="(item, index) in renshouInsuranceData" :key="index"
  1072. :name="item.projectCode">
  1073. {{item.alias}}
  1074. </u-radio>
  1075. </u-radio-group>
  1076. </view>
  1077. </u-modal>
  1078. <!-- 中煤驾意险弹框 -->
  1079. <u-modal v-model="zhongmeiPopupshow" title="驾意险"
  1080. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1081. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1082. <view class="slot-content p-2">
  1083. <u-radio-group size="30" wrap>
  1084. <u-radio style="margin: 4px 0;" label-size="30" @change="ZMradioChange" shape="square"
  1085. v-for="(item, index) in zhongmeiInsuranceData" :key="index" :name="item.projectCode">
  1086. {{item.alias}}
  1087. </u-radio>
  1088. </u-radio-group>
  1089. </view>
  1090. </u-modal>
  1091. <!-- 恒邦驾意险弹框 -->
  1092. <u-modal v-model="hengbangPopupshow" title="驾意险"
  1093. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1094. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1095. <view class="slot-content p-2">
  1096. <u-radio-group size="30" wrap>
  1097. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HBradioChange" shape="square"
  1098. v-for="(item, index) in hengbangInsuranceData" :key="index" :name="item.projectCode">
  1099. {{item.alias}}
  1100. </u-radio>
  1101. </u-radio-group>
  1102. </view>
  1103. </u-modal>
  1104. <!-- 众安驾意险弹框 -->
  1105. <u-modal v-model="zhonganPopupshow" title="驾意险"
  1106. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1107. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1108. <view class="slot-content p-2">
  1109. <u-radio-group size="30" wrap>
  1110. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ZAradioChange" shape="square"
  1111. v-for="(item, index) in zhonganInsuranceData" :key="index" :name="item.projectCode">
  1112. {{item.alias}}
  1113. </u-radio>
  1114. </u-radio-group>
  1115. </view>
  1116. </u-modal>
  1117. <!-- 华农驾意险弹框 -->
  1118. <u-modal v-model="huanongPopupshow" title="驾意险"
  1119. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1120. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1121. <view class="slot-content p-2">
  1122. <u-radio-group size="30" wrap>
  1123. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HNradioChange" shape="square"
  1124. v-for="(item, index) in huanongInsuranceData" :key="index" :name="item.projectCode">
  1125. {{item.alias}}
  1126. </u-radio>
  1127. </u-radio-group>
  1128. </view>
  1129. </u-modal>
  1130. <!-- 泰康驾意险弹框 -->
  1131. <u-modal v-model="taikangPopupshow" title="驾意险"
  1132. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1133. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1134. <view class="slot-content p-2">
  1135. <u-radio-group size="30" wrap>
  1136. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TkradioChange" shape="square"
  1137. v-for="(item, index) in taikangInsuranceData" :key="index" :name="item.projectCode">
  1138. {{item.alias}}
  1139. </u-radio>
  1140. </u-radio-group>
  1141. </view>
  1142. </u-modal>
  1143. <u-modal v-model="yongchengPopupshow" title="驾意险"
  1144. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1145. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1146. <view class="slot-content p-2">
  1147. <u-radio-group size="30" wrap>
  1148. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="YCradioChange" shape="square"
  1149. v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.projectCode">
  1150. {{item.alias}}
  1151. </u-radio>
  1152. </u-radio-group>
  1153. </view>
  1154. </u-modal>
  1155. <!-- 太平驾意险弹框 -->
  1156. <u-modal v-model="taipingPopupshow" title="驾意险"
  1157. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1158. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1159. <view class="slot-content p-2">
  1160. <u-radio-group size="30" wrap>
  1161. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TPradioChange" shape="square"
  1162. v-for="(item, index) in taipingInsuranceData" :key="index" :name="item.projectCode">
  1163. {{item.alias}}
  1164. </u-radio>
  1165. </u-radio-group>
  1166. </view>
  1167. </u-modal>
  1168. <!-- 渤海驾意险弹框 -->
  1169. <u-modal v-model="bohaiPopupshow" title="驾意险"
  1170. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1171. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1172. <view class="slot-content p-2">
  1173. <u-radio-group size="30" style="" wrap>
  1174. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="BHradioChange" shape="square"
  1175. v-for="(item, index) in bohaiInsuranceData" :key="index" :name="item.projectCode">
  1176. {{item.alias}}
  1177. </u-radio>
  1178. </u-radio-group>
  1179. </view>
  1180. </u-modal>
  1181. <!-- 紫金驾意弹框 -->
  1182. <u-popup v-model="zijinPopupshow" mode="bottom" border-radius="10" height="1000">
  1183. <view class="ZJcheckboxGroup dis f-c">
  1184. <view class="title dis a-c j-c">
  1185. <text>意外险选择</text>
  1186. </view>
  1187. <scroll-view scroll-y="true" class="scolcentent">
  1188. <u-checkbox-group @change="ZJcheckboxGroupChange">
  1189. <u-checkbox style="margin: 8px 0;flex: auto;" active-color="#FF4D4D" label-size="28"
  1190. v-model="item.checked" v-for="(item, index) in zijinInsuranceData" :key="index"
  1191. :name="item.projectCode">{{item.alias}}</u-checkbox>
  1192. </u-checkbox-group>
  1193. </scroll-view>
  1194. <view class="operateBtn dis ">
  1195. <view class="cancel dis a-c j-c" @click="zijinPopupshow=false">
  1196. 取消
  1197. </view>
  1198. <view class="confirm dis a-c j-c" @click="zijinPopupshow=false">
  1199. 确定
  1200. </view>
  1201. </view>
  1202. </view>
  1203. </u-popup>
  1204. <u-modal v-model="guoRenPopupshow" title="驾意险"
  1205. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1206. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1207. <view class="slot-content p-2">
  1208. <u-radio-group size="30" wrap>
  1209. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="GRradioChange" shape="square"
  1210. v-for="(item, index) in guoRenInsuranceData" :key="index" :name="item.projectCode">
  1211. {{item.alias}}
  1212. </u-radio>
  1213. </u-radio-group>
  1214. </view>
  1215. </u-modal>
  1216. <u-modal v-model="dajiaPopupshow" title="驾意险"
  1217. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  1218. :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
  1219. <view class="slot-content p-2">
  1220. <u-radio-group size="30" wrap>
  1221. <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="DJradioChange" shape="square"
  1222. v-for="(item, index) in dajiaInsuranceData" :key="index" :name="item.projectCode">
  1223. {{item.alias}}
  1224. </u-radio>
  1225. </u-radio-group>
  1226. </view>
  1227. </u-modal>
  1228. </view>
  1229. </template>
  1230. <script>
  1231. import wybPopup from '@/components/modules/carInsure/wyb-popup/wyb-popup.vue'
  1232. export default {
  1233. components: {
  1234. wybPopup,
  1235. },
  1236. data() {
  1237. return {
  1238. planDataExpansion: { //方案综合数据
  1239. id: "",
  1240. namesimple: "",
  1241. cnName: "",
  1242. genericPlanList: [], //方案通用列表
  1243. genericPlanInfo: {}, //方案展示信息
  1244. },
  1245. SelectedPlanId: "2", //已选方案id
  1246. accidentInsuranceCategoryList: [], //驾意险分类
  1247. productId: "", //险种id
  1248. productName: "", //险种名称
  1249. jqstartDate: "",
  1250. jqendDate: "",
  1251. systartDate: "",
  1252. syendDate: "",
  1253. seatCount: "",
  1254. //车船税form
  1255. vehicleAndVesselTaxForm: {
  1256. taxRelifFlag: "1", //类型
  1257. identifyNumber: "", //纳税人识别号
  1258. taxpayerIdentifier: "01", //纳税人证件类型
  1259. taxpayerName: "", //纳税人名称
  1260. extendChar2: "", //减免税凭证号
  1261. paidFreeCertificate: "", //完税凭证号
  1262. relifReason: "", //减免税原因
  1263. taxComCode: "", //税务机关代码
  1264. taxComName: "", ///税务机关名称
  1265. taxDocumentDate: "", //完税日期
  1266. taxPaidAreaCode: "", //完税凭证地区代码
  1267. taxRelief: "", //减税比例
  1268. },
  1269. model: {
  1270. taxRelifFlag: "正常交税",
  1271. taxpayerIdentifier: "身份证",
  1272. relifReason: "",
  1273. taxPaidAreaCode: "",
  1274. },
  1275. taxRelifFlagoptions: [],
  1276. taxpayerIdentifieroptions: [],
  1277. relifReasonoptions: [],
  1278. taxPaidAreaCodeShow: false, //完税凭证地区
  1279. taxDocumentDateShow: false, //完税凭证填发日期
  1280. taxRelifFlagShow: false, //车船税类型
  1281. taxpayerIdentifierShow: false, //纳税人证件类型
  1282. relifReasonShow: false, //减免税原因代码
  1283. params1: {
  1284. year: true, //年
  1285. month: true, //月
  1286. day: true, //日
  1287. hour: false, //时
  1288. minute: false, //分
  1289. second: false, //秒
  1290. },
  1291. params2: {
  1292. province: true,
  1293. city: false,
  1294. area: false
  1295. },
  1296. insureItem: {}, //商业险规格
  1297. /* 安盛 */
  1298. anshengPopupshow: false,
  1299. anshengInsuranceData: [],
  1300. anshengaccidentalDrivingVo: {},
  1301. /* 国任 */
  1302. guoRenPopupshow: false,
  1303. guoRenInsuranceData: [],
  1304. guoRenaccidentalDrivingVo: {},
  1305. /* 大家 */
  1306. dajiaPopupshow: false,
  1307. dajiaInsuranceData: [],
  1308. dajiaaccidentalDrivingVo: {},
  1309. /* 永诚 */
  1310. yongchengPopupshow: false,
  1311. yongchengInsuranceData: [],
  1312. yongchengaccidentalDrivingVo: {},
  1313. /* 恒邦 */
  1314. hengbangPopupshow: false,
  1315. hengbangInsuranceData: [],
  1316. hengbangaccidentalDrivingVo: {},
  1317. /* 诚泰 */
  1318. chengtaiPopupshow: false,
  1319. chengtaiInsuranceData: [],
  1320. chengtaiaccidentalDrivingVo: {},
  1321. /* 中煤 */
  1322. zhongmeiPopupshow: false,
  1323. zhongmeiInsuranceData: [],
  1324. zhongmeiaccidentalDrivingVo: {},
  1325. /* 泰康 */
  1326. taikangPopupshow: false,
  1327. taikangInsuranceData: [],
  1328. taikangaccidentalDrivingVo: {},
  1329. /* 渤海 */
  1330. bohaiPopupshow: false,
  1331. bohaiInsuranceData: [],
  1332. bohaiaccidentalDrivingVo: {},
  1333. /* 众安 */
  1334. zhonganPopupshow: false,
  1335. zhonganInsuranceData: [],
  1336. zhonganaccidentalDrivingVo: {},
  1337. /* 太平 */
  1338. taipingPopupshow: false,
  1339. taipingInsuranceData: [],
  1340. taipingaccidentalDrivingVo: {},
  1341. /* 华农 */
  1342. huanongPopupshow: false,
  1343. huanongInsuranceData: [],
  1344. huanongaccidentalDrivingVo: {},
  1345. /* 人寿 */
  1346. renshouPopupshow: false,
  1347. renshouInsuranceData: [],
  1348. renshouaccidentalDrivingVo: {},
  1349. /* 紫金 */
  1350. zijinPopupshow: false,
  1351. zijinInsuranceData: [],
  1352. zijinaccidentalDrivingVo: [],
  1353. quotableCompanyList: [],
  1354. }
  1355. },
  1356. onShow() {
  1357. },
  1358. async onLoad() {
  1359. const eventChannel = this.getOpenerEventChannel()
  1360. // 监听acceptData事件,获取上一页面通过eventChannel传送到当前页面的数据
  1361. await eventChannel.on('acceptData', (data) => {
  1362. this.jqstartDate = data.jqstartDate;
  1363. this.jqendDate = data.jqendDate;
  1364. this.systartDate = data.systartDate;
  1365. this.syendDate = data.syendDate;
  1366. this.productName = data.productName;
  1367. this.productId = data.params.productId;
  1368. this.seatCount = data.params.seatNum;
  1369. this.planDataExpansion.id = data.params.companyId;
  1370. this.planDataExpansion.namesimple = data.namesimple;
  1371. this.planDataExpansion.cnName = data.cnName;
  1372. this.quotableCompanyList = data.quotableCompanyList;
  1373. this.vehicleAndVesselTaxForm.identifyNumber = data.identifyNumber;
  1374. this.vehicleAndVesselTaxForm.taxpayerName = data.taxpayerName;
  1375. this.queryPlan(data.params); //方案查询
  1376. })
  1377. this.getDicType("taxRelifFlag"); //车船税类型
  1378. this.getDicType("taxpayerIdentifier"); //纳税人证件类型
  1379. this.getDicType("relifReason"); //减免税原因代码
  1380. },
  1381. methods: {
  1382. back() {
  1383. uni.navigateBack(1)
  1384. },
  1385. async queryPlan(params) {
  1386. let res = await this.$http.post('/plt/scheme/getCompanySchemeInfo', params);
  1387. let res1 = await this.$http.post('/plt/scheme/getCompanyOptionalSchemeInfo', params);
  1388. let typelist = [];
  1389. if (res.code == '200' && res.data.length > 0) {
  1390. this.planDataExpansion.genericPlanList = [...res.data];
  1391. this.planDataExpansion.genericPlanInfo = res.data[0];
  1392. this.SelectedPlanId = res.data[0].schemeId;
  1393. } else {
  1394. this.planDataExpansion.genericPlanList = [];
  1395. this.planDataExpansion.genericPlanInfo = {};
  1396. this.SelectedPlanId = "";
  1397. }
  1398. if (res1.code == '200') {
  1399. this.planDataExpansion.genericPlanList = [...res.data, res1.data];
  1400. res1.data.drivingTypeList.map(val => {
  1401. if (val.children) {
  1402. val.children.map(ele => {
  1403. typelist.push(ele)
  1404. return ele
  1405. })
  1406. }
  1407. })
  1408. } else {
  1409. this.planDataExpansion.genericPlanList = [...res.data];
  1410. }
  1411. this.accidentInsuranceCategoryList = typelist;
  1412. },
  1413. confirmPlan(name) {
  1414. let pages = getCurrentPages(); //获取所有页面栈实例列表
  1415. let nowPage = pages[pages.length - 1]; //当前页页面实例
  1416. let prevPage = pages[pages.length - 2]; //上一页页面实例
  1417. let prevPage1 = pages[pages.length - 3]; //上一页页面实例
  1418. this.quotableCompanyList.map(val => {
  1419. if (val.id == this.planDataExpansion.id) {
  1420. if (this.planDataExpansion.genericPlanInfo.schemeName !== '自选方案') {
  1421. val.insurancePlanInfo = this.planDataExpansion.genericPlanInfo;
  1422. } else {
  1423. let objkindList = [];
  1424. val.insurancePlanInfo = this.planDataExpansion.genericPlanInfo;
  1425. val.insurancePlanInfo.kinds.map((ele, index) => {
  1426. if (ele.amount != "0" && ["A"].includes(ele.kindCode)) {
  1427. objkindList.push({
  1428. amount: val.insurancePlanInfo.kinds[index]
  1429. .amount,
  1430. kindCode: val.insurancePlanInfo.kinds[
  1431. index].kindCode,
  1432. kindName: val.insurancePlanInfo.kinds[
  1433. index].kindName
  1434. });
  1435. } else if (ele.amount != "0" && ["SY_FJ_YBW2", "D4"]
  1436. .includes(ele
  1437. .kindCode)) {
  1438. objkindList.push({
  1439. unitAmount: val.insurancePlanInfo.kinds[
  1440. index].amount,
  1441. kindCode: val.insurancePlanInfo.kinds[
  1442. index].kindCode,
  1443. kindName: val.insurancePlanInfo.kinds[
  1444. index].kindName
  1445. });
  1446. } else if (ele.amount != "0" && ["MJ1", "MJ2", "MJ3",
  1447. "MJ4"
  1448. ].includes(ele
  1449. .kindCode)) {
  1450. objkindList.push({
  1451. deductibleRate: val.insurancePlanInfo
  1452. .kinds[index].amount,
  1453. kindCode: val.insurancePlanInfo.kinds[
  1454. index].kindCode,
  1455. kindName: val.insurancePlanInfo.kinds[
  1456. index].kindName
  1457. });
  1458. } else if (ele.amount != "0" && ["TY1", "TY2", "TY3",
  1459. "TY4"
  1460. ].includes(ele
  1461. .kindCode)) {
  1462. objkindList.push({
  1463. serviceTimes: String(val.insurancePlanInfo
  1464. .kinds[index]
  1465. .amount),
  1466. kindCode: val.insurancePlanInfo.kinds[
  1467. index].kindCode,
  1468. kindName: val.insurancePlanInfo.kinds[
  1469. index].kindName
  1470. });
  1471. } else if (ele.amount != "0") {
  1472. objkindList.push({
  1473. amount: val.insurancePlanInfo.kinds[index]
  1474. .amount,
  1475. kindCode: val.insurancePlanInfo.kinds[
  1476. index].kindCode,
  1477. kindName: val.insurancePlanInfo.kinds[
  1478. index].kindName
  1479. });
  1480. }
  1481. return ele;
  1482. })
  1483. val.insurancePlanInfo.kinds = objkindList;
  1484. if (this[name + 'accidentalDrivingVo'] instanceof Array && this[name +
  1485. 'accidentalDrivingVo'].length > 0) {
  1486. val.insurancePlanInfo.drivingList = this[name +
  1487. 'accidentalDrivingVo'];
  1488. } else if (this[this.planDataExpansion.cnName + 'accidentalDrivingVo']
  1489. .projectName) {
  1490. val.insurancePlanInfo.drivingList = [this[name +
  1491. 'accidentalDrivingVo']];
  1492. }
  1493. }
  1494. if (!val.insurancePlanInfo.schemeName) {
  1495. return uni.showToast({
  1496. icon: "none",
  1497. title: '未选中方案',
  1498. })
  1499. }
  1500. }
  1501. return val;
  1502. })
  1503. if (prevPage.route == 'pages/carInsure/premiumCalc') {
  1504. prevPage.$vm.quotableCompanyList = [...this.quotableCompanyList];
  1505. prevPage.$vm.vehicleAndVesselTaxForm = {
  1506. ...this.vehicleAndVesselTaxForm
  1507. };
  1508. uni.navigateBack({
  1509. delta: 1
  1510. });
  1511. } else {
  1512. prevPage1.$vm.quotableCompanyList = [...this.quotableCompanyList];
  1513. prevPage1.$vm.vehicleAndVesselTaxForm = {
  1514. ...this.vehicleAndVesselTaxForm
  1515. };
  1516. uni.navigateBack({
  1517. delta: 2
  1518. });
  1519. }
  1520. },
  1521. async accidentCategoryclick(item, items, index) {
  1522. this.accidentInsuranceCategoryList[index].checked = !this.accidentInsuranceCategoryList[index].checked;
  1523. if (this.accidentInsuranceCategoryList[index].checked) {
  1524. let res = await this.$http.get('/plt/scheme/optionalSchemeDriving?schemeId=' + this
  1525. .SelectedPlanId + '&seatNum=' + this.seatCount)
  1526. switch (items.namesimple) {
  1527. case '安盛天平':
  1528. case '国任财险':
  1529. case '大家财险':
  1530. case '永诚财险':
  1531. case '恒邦财险':
  1532. case '诚泰财险':
  1533. case '中煤财险':
  1534. case '泰康财险':
  1535. case '渤海财险':
  1536. case '众安财险':
  1537. case '太平财险':
  1538. case '华农财险':
  1539. case '中国人寿':
  1540. if (res.data.length > 0) {
  1541. this[items.cnName + 'InsuranceData'] = res.data; //意外险list
  1542. this[items.cnName + 'accidentalDrivingVo'] = {
  1543. typeName: item.typeName,
  1544. ...res.data[0]
  1545. };
  1546. } else {
  1547. uni.showToast({
  1548. title: "驾意险为空",
  1549. icon: 'none',
  1550. });
  1551. }
  1552. break;
  1553. case '紫金财险':
  1554. this[items.cnName + 'InsuranceData'] = res.data; //意外险list
  1555. this[items.cnName + 'accidentalDrivingVo'] = [];
  1556. break;
  1557. }
  1558. } else {
  1559. if (items.namesimple == '紫金财险') {
  1560. this[items.cnName + 'InsuranceData'] = [];
  1561. this[items.cnName + 'accidentalDrivingVo'] = []
  1562. } else {
  1563. this[items.cnName + 'accidentalDrivingVo'] = {}
  1564. }
  1565. }
  1566. },
  1567. statusclick(value) {
  1568. this.SelectedPlanId = value;
  1569. let planObj = this.planDataExpansion.genericPlanList.find(item => item.schemeId == value);
  1570. console.log(planObj);
  1571. if (planObj.kinds && planObj.schemeName == '自选方案') {
  1572. planObj.kinds.map(item => {
  1573. const itemamtList = item.amtList.map(val => {
  1574. return val.label
  1575. })
  1576. if (!itemamtList.includes('不投保')) {
  1577. item.amount = item.amtList[0].value;
  1578. item.amountDesc = item.amtList[0].label;
  1579. }
  1580. return item;
  1581. })
  1582. }
  1583. this.planDataExpansion.genericPlanInfo = planObj;
  1584. },
  1585. //国任
  1586. GRradioChange(id) {
  1587. let obj = this.guoRenInsuranceData.find((val => val.projectCode == id))
  1588. Object.assign(this.guoRenaccidentalDrivingVo, obj);
  1589. this.guoRenPopupshow = false;
  1590. },
  1591. //大家
  1592. DJradioChange(id) {
  1593. let obj = this.dajiaInsuranceData.find((val => val.projectCode == id))
  1594. Object.assign(this.dajiaaccidentalDrivingVo, obj);
  1595. this.dajiaPopupshow = false;
  1596. },
  1597. //紫金意外险
  1598. ZJcheckboxGroupChange(detail) {
  1599. this.zijinaccidentalDrivingVo = [];
  1600. detail.map(val => {
  1601. let list = this.zijinInsuranceData.find(item => item.projectCode == val)
  1602. this.zijinaccidentalDrivingVo.push(list)
  1603. })
  1604. },
  1605. //安盛
  1606. ASradioChange(id) {
  1607. let obj = this.anshengInsuranceData.find((val => val.projectCode == id))
  1608. Object.assign(this.anshengaccidentalDrivingVo, obj);
  1609. this.anshengPopupshow = false;
  1610. },
  1611. //太平
  1612. TPradioChange(id) {
  1613. let obj = this.taipingInsuranceData.find(val => val.projectCode == id)
  1614. Object.assign(this.taipingaccidentalDrivingVo, obj);
  1615. this.taipingPopupshow = false;
  1616. },
  1617. //泰康
  1618. TkradioChange(id) {
  1619. let obj = this.taikangInsuranceData.find(val => val.projectCode == id)
  1620. Object.assign(this.taikangaccidentalDrivingVo, obj);
  1621. this.taikangPopupshow = false;
  1622. },
  1623. //永诚
  1624. YCradioChange(id) {
  1625. let obj = this.yongchengInsuranceData.find(val => val.projectCode == id)
  1626. Object.assign(this.yongchengaccidentalDrivingVo, obj);
  1627. this.yongchengPopupshow = false;
  1628. },
  1629. //中煤
  1630. ZMradioChange(id) {
  1631. let obj = this.zhongmeiInsuranceData.find(val => val.projectCode == id)
  1632. Object.assign(this.zhongmeiaccidentalDrivingVo, obj);
  1633. this.zhongmeiPopupshow = false;
  1634. },
  1635. //渤海意外险
  1636. BHradioChange(id) {
  1637. let info = this.bohaiInsuranceData.find(val => val.projectCode == id)
  1638. Object.assign(this.bohaiaccidentalDrivingVo, obj);
  1639. this.bohaiPopupshow = false;
  1640. },
  1641. //人寿意外险
  1642. RSradioChange(id) {
  1643. let obj = this.renshouInsuranceData.find(val => val.projectCode == id)
  1644. Object.assign(this.renshouaccidentalDrivingVo, obj);
  1645. this.renshouPopupshow = false;
  1646. },
  1647. //恒邦意外险
  1648. HBradioChange(id) {
  1649. let obj = this.hengbangInsuranceData.find(val => val.projectCode ==
  1650. id)
  1651. Object.assign(this.hengbangaccidentalDrivingVo, obj);
  1652. this.hengbangPopupshow = false;
  1653. },
  1654. //众安意外险
  1655. ZAradioChange(id) {
  1656. let obj = this.zhonganInsuranceData.find(val => val.projectCode == id)
  1657. Object.assign(this.zhonganaccidentalDrivingVo, obj);
  1658. this.zhonganPopupshow = false;
  1659. },
  1660. //华农驾意险
  1661. HNradioChange(id) {
  1662. let obj = this.huanongInsuranceData.find(val => val.projectCode == id);
  1663. Object.assign(this.huanongaccidentalDrivingVo, obj);
  1664. this.huanongaccidentalDrivingVo.accidentType = this.huanongaccidentalDrivingVo.planCode;
  1665. this.huanongPopupshow = false;
  1666. },
  1667. //车船税类型选择
  1668. taxRelifFlagConfirm(val, name) {
  1669. this.vehicleAndVesselTaxForm[name] = val[0].value;
  1670. this.model[name] = val[0].label;
  1671. },
  1672. //弹出popup框并显示基本信息
  1673. adjustBIItem(index) {
  1674. var a = {};
  1675. Object.assign(a, this.planDataExpansion.genericPlanInfo.kinds[index])
  1676. this.insureItem = a;
  1677. this.$refs.popupBI.show() // 显示
  1678. },
  1679. numberBoxChange(val) {
  1680. if (val.value > 0) {
  1681. this.insureItem.amount = val.value;
  1682. this.insureItem.amountDesc = val.value + '次';
  1683. } else {
  1684. this.insureItem.amount = 0;
  1685. this.insureItem.amountDesc = '不投保';
  1686. }
  1687. },
  1688. //popup内容的label改变
  1689. adjustBIItemLabel(index) {
  1690. this.insureItem.amount = this.insureItem.amtList[index].value;
  1691. this.insureItem.amountDesc = this.insureItem.amtList[index].label;
  1692. },
  1693. //-------------驾意险处理结束
  1694. adjustBIItemLabelSubmit() {
  1695. for (let i = 0; i < this.planDataExpansion.genericPlanInfo.kinds.length; i++) {
  1696. if (this.insureItem.kindCode == this.planDataExpansion.genericPlanInfo.kinds[i].kindCode) {
  1697. this.planDataExpansion.genericPlanInfo.kinds[i].amount = this.insureItem.amount; /* 保额 */
  1698. this.planDataExpansion.genericPlanInfo.kinds[i].amountDesc = this.insureItem.amountDesc; /* 保额名称 */
  1699. }
  1700. }
  1701. this.$refs.popupBI.hide();
  1702. },
  1703. convertedValue(num) {
  1704. if (num < 10000) {
  1705. return num.toString();
  1706. } else if (num < 100000000) {
  1707. return (Math.floor(num / 10000 * 10) / 10) + '万';
  1708. } else {
  1709. return (Math.floor(num / 100000000 * 10) / 10) + '亿';
  1710. }
  1711. },
  1712. taxDocumentDateconfirm(e) {
  1713. this.vehicleAndVesselTaxForm.taxDocumentDate = e.year + '-' + e.month + '-' + e.day;
  1714. },
  1715. taxPaidAreaCodeconfirm(e) {
  1716. this.vehicleAndVesselTaxForm.taxPaidAreaCode = e.province.value;
  1717. this.model.taxPaidAreaCode = e.province.label;
  1718. },
  1719. //数据字典
  1720. async getDicType(type) {
  1721. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  1722. this[type + "options"] = res.data.ddList;
  1723. },
  1724. }
  1725. }
  1726. </script>
  1727. <style lang="scss" scoped>
  1728. .page {
  1729. background: #F8FAFE;
  1730. padding: 16px 16px 16px 16px;
  1731. }
  1732. .selectedCoverage {
  1733. width: 100%;
  1734. background: linear-gradient(90deg, #CCE5FE 0%, #D4EDFF 100%);
  1735. border-radius: 6px 6px 0px 0px;
  1736. padding: 8px 6px;
  1737. .productName {
  1738. padding: 1px 6px;
  1739. background: linear-gradient(90deg, #64A4F0 0%, #0052FF 100%);
  1740. border-radius: 6px 6px 6px 0px;
  1741. image {
  1742. width: 16px;
  1743. height: 16px;
  1744. }
  1745. text {
  1746. color: #fff;
  1747. font-size: 16px;
  1748. margin-left: 10px;
  1749. }
  1750. }
  1751. }
  1752. .planDetails {
  1753. background-color: #fff;
  1754. box-shadow: 0px 4px 10px 0px #DAE3F4;
  1755. border-radius: 6px;
  1756. padding: 8px;
  1757. .footer-btn {
  1758. position: fixed;
  1759. bottom: 0;
  1760. left: 0;
  1761. width: 100%;
  1762. background: #FFFFFF;
  1763. border: 1px solid #EFEFEF;
  1764. padding: 10px;
  1765. .btn:nth-child(1) {
  1766. background: #fff;
  1767. color: #999999;
  1768. font-size: 16px;
  1769. padding: 5px 40px;
  1770. border-radius: 4px;
  1771. border: 1px solid #C9C9C9;
  1772. }
  1773. .btn:nth-child(2) {
  1774. background: linear-gradient(90deg, #0052FF 0%, #0D8BFF 100%);
  1775. border-radius: 4px;
  1776. margin-left: 40px;
  1777. font-size: 16px;
  1778. color: #FFFFFF;
  1779. padding: 6px 50px;
  1780. }
  1781. }
  1782. }
  1783. .Plancontent {
  1784. .title {
  1785. color: #232832;
  1786. font-size: 15px;
  1787. font-weight: bold;
  1788. ::before {
  1789. content: "丨";
  1790. width: 10px;
  1791. height: 10px;
  1792. color: #0052FF;
  1793. }
  1794. }
  1795. .title-before {}
  1796. .Accident {
  1797. width: 100%;
  1798. border: 1px solid #0874FF;
  1799. border-radius: 6px;
  1800. overflow: hidden;
  1801. .head {
  1802. width: 20%;
  1803. height: 40px;
  1804. background-color: #0874FF;
  1805. color: #FFFFFF;
  1806. &:nth-child(1) {
  1807. width: 60%;
  1808. }
  1809. }
  1810. .tr {
  1811. width: 20%;
  1812. height: 60px;
  1813. color: #232832;
  1814. border: 1rpx solid #0874FF;
  1815. font-size: 24rpx;
  1816. color: #232832;
  1817. &:nth-child(1) {
  1818. width: 60%;
  1819. background: rgba(8, 116, 255, 0.05);
  1820. }
  1821. &:nth-child(3) {
  1822. background: rgba(8, 116, 255, 0.05);
  1823. }
  1824. }
  1825. }
  1826. .insuranceType {
  1827. margin: 5px 10px;
  1828. background: #F2F6FF;
  1829. border-radius: 10px;
  1830. }
  1831. .terms {
  1832. color: #FFFFFF;
  1833. background: linear-gradient(90deg, #FF4D4D 0%, #FF784D 100%);
  1834. border-radius: 4px 4px 4px 4px;
  1835. }
  1836. }
  1837. .status-data {
  1838. width: auto;
  1839. padding: 2px 8px;
  1840. margin-left: 10px;
  1841. font-size: 12px;
  1842. border: 1px solid #CDCDCD;
  1843. cursor: pointer;
  1844. text-align: center;
  1845. line-height: 25px;
  1846. border-radius: 2px;
  1847. }
  1848. .active {
  1849. position: relative;
  1850. background: rgba(0, 82, 255, 0.1);
  1851. color: #0052FF;
  1852. border: 1px solid #0052FF !important;
  1853. font-weight: 700;
  1854. }
  1855. .active::before {
  1856. content: "";
  1857. position: absolute;
  1858. top: 0;
  1859. left: 0;
  1860. width: 10px;
  1861. height: 10px;
  1862. background-image: url("/static/image/car-insure/before.png");
  1863. background-size: cover;
  1864. }
  1865. //对勾
  1866. .circle {
  1867. width: 16px;
  1868. height: 16px;
  1869. border-radius: 50%;
  1870. border: 2px solid #0052FF;
  1871. }
  1872. .circle:after {
  1873. content: "✔";
  1874. /* 对勾符号 */
  1875. font-size: 10px;
  1876. font-weight: bold;
  1877. /* 根据需要调整大小 */
  1878. color: #0052FF;
  1879. }
  1880. .immediately {
  1881. padding: 19rpx 15px;
  1882. .common-ins-cell:last-child {
  1883. border-bottom: none;
  1884. }
  1885. }
  1886. .modelformcss {
  1887. padding: 5px 0;
  1888. }
  1889. /* 交强险和商业险弹出框Start */
  1890. .popup-content {
  1891. position: relative;
  1892. }
  1893. .popHeader {
  1894. box-sizing: border-box;
  1895. font-size: 32upx;
  1896. font-weight: bold;
  1897. height: 120upx;
  1898. border-bottom: 1px solid #eee;
  1899. }
  1900. .popup-content .popContent {
  1901. padding: 0upx 30upx;
  1902. height: 620upx;
  1903. box-sizing: border-box;
  1904. }
  1905. .popup-content .popContent .popContentTitle {
  1906. font-weight: bold;
  1907. font-size: 32upx;
  1908. margin: 20upx 0upx 5upx 0upx;
  1909. }
  1910. .popup-content .popContent .amtSingle {
  1911. width: 22%;
  1912. box-sizing: border-box;
  1913. display: inline-block;
  1914. text-align: center;
  1915. vertical-align: middle;
  1916. border: 1px solid #eee;
  1917. margin: 0 15rpx 15rpx 0;
  1918. }
  1919. .popup-content .popBottom {
  1920. margin: 30upx 30upx 0 30upx;
  1921. padding-bottom: 30upx;
  1922. }
  1923. .drivingSelection {
  1924. padding: 8px;
  1925. >view {
  1926. padding: 4px 8px;
  1927. }
  1928. .header {
  1929. width: 100%;
  1930. background: rgba(255, 86, 0, 0.05);
  1931. border-radius: 2px;
  1932. margin-bottom: 4px;
  1933. text {
  1934. font-size: 15px;
  1935. color: #FF5600;
  1936. font-weight: bold;
  1937. }
  1938. }
  1939. }
  1940. .policyInfo {
  1941. .tagHeader {
  1942. font-family: Source Han Sans SC, Source Han Sans SC;
  1943. text {
  1944. position: relative;
  1945. font-weight: bold;
  1946. font-size: 13px;
  1947. color: #333;
  1948. }
  1949. .tag {
  1950. position: absolute;
  1951. left: 0;
  1952. bottom: -1px;
  1953. width: 50%;
  1954. height: 5px;
  1955. background: linear-gradient(90deg, #0874FF 0%, rgba(8, 116, 255, 0) 100%);
  1956. border-radius: 6px;
  1957. }
  1958. }
  1959. .accident {
  1960. width: 75%;
  1961. .diss {
  1962. border-bottom: 1px solid #E3E9F8;
  1963. .boss {
  1964. border-right: 1px solid #E3E9F8;
  1965. text-align: center;
  1966. padding: 5px 3px;
  1967. }
  1968. }
  1969. }
  1970. .right {
  1971. width: 25%;
  1972. border-right: 1px solid #E3E9F8;
  1973. border-bottom: 1px solid #E3E9F8;
  1974. padding: 5px 3px;
  1975. }
  1976. }
  1977. .common-ins-cell:last-child {
  1978. border-bottom: none;
  1979. }
  1980. .common-ins-cell {
  1981. font-size: 30upx;
  1982. padding: 0upx 30upx;
  1983. height: 90upx;
  1984. border-bottom: 1px solid #eee;
  1985. }
  1986. /* 交强险和商业险弹出框End */
  1987. /deep/ {
  1988. .jq {
  1989. .u-th {
  1990. background: #EBF7FF;
  1991. padding: 5px 10px !important;
  1992. }
  1993. .u-td {
  1994. padding: 5px 10px !important;
  1995. }
  1996. }
  1997. .sy {
  1998. .u-th {
  1999. background: #EBF7FF;
  2000. }
  2001. }
  2002. }
  2003. </style>