billInfo1.vue 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715
  1. <template>
  2. <view :style="getHeight">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <!-- 头部 -->
  6. <view class="" style="width: 100%;
  7. height: 210px;
  8. background: linear-gradient( 180deg, #0052FF 0%, #F8FAFE 100%);position: absolute;top: 0;">
  9. </view>
  10. <view class="headers dis f-c j-end">
  11. <view class="price dis a-c j-c">
  12. <image :src="logoimg" mode="" style="width: 20px;height: 20px;">
  13. </image>
  14. <text style="font-weight: bold;margin-left: 6px;font-size: 15px;">{{orderInfo.inscompany}}</text>
  15. </view>
  16. <view
  17. style="background-color: #fff;box-shadow: inset rgb(218, 227, 244) 0px 1px 4px 0px;border-radius: 0 0 6px 6px;"
  18. class="dis j-c a-c p-2 ">
  19. <text style="color: #232832;font-weight: bold;">订单编号:{{orderInfo.orderno}}</text>
  20. </view>
  21. </view>
  22. <view class="page">
  23. <view class="car">
  24. <view class="header d-flex a-center j-sb" @tap="showCarInfo = !showCarInfo">
  25. <view class="title">车辆信息</view>
  26. <view class="adjustPlan d-flex">
  27. <view class="icon iconfont"
  28. :class="{ 'icon-up-yixuanzhong': showCarInfo, 'icon-down-weixuanzhong': !showCarInfo }"
  29. style="font-weight: bold;color: #B3B3B3;">
  30. </view>
  31. </view>
  32. </view>
  33. <view class="body" v-if="showCarInfo">
  34. <view class="row d-flex a-center j-sb">
  35. <view>车牌号</view>
  36. <view>{{carInfo.licenseNo}}</view>
  37. </view>
  38. <view class="row d-flex a-center j-sb">
  39. <view>品牌型号</view>
  40. <view>{{carInfo.modelcname}}</view>
  41. </view>
  42. <view class="row d-flex a-center j-sb">
  43. <view>车辆识别代码</view>
  44. <view>{{carInfo.vinNo}}</view>
  45. </view>
  46. <view class="row d-flex a-center j-sb">
  47. <view>发动机号</view>
  48. <view>{{carInfo.engineNo}}</view>
  49. </view>
  50. <view class="row d-flex a-center j-sb">
  51. <view>年款</view>
  52. <view>{{carInfo.caryear}}</view>
  53. </view>
  54. <view class="row d-flex a-center j-sb">
  55. <view>座位数</view>
  56. <view>{{carInfo.seatCount}}</view>
  57. </view>
  58. <view class="row d-flex a-center j-sb">
  59. <view>整备质量</view>
  60. <view>{{carInfo.completeKerbMass}}</view>
  61. </view>
  62. <view class="row d-flex a-center j-sb" v-if="carInfo.limitLoad">
  63. <view>核定载质量</view>
  64. <view>{{carInfo.limitLoad}}</view>
  65. </view>
  66. <view class="row d-flex a-center j-sb">
  67. <view>排量</view>
  68. <view>{{carInfo.enginedesc}}</view>
  69. </view>
  70. <view class="row d-flex a-center j-sb">
  71. <view>功率</view>
  72. <view>{{carInfo.powerScale}}</view>
  73. </view>
  74. <view class="row d-flex a-center j-sb">
  75. <view>新车购置价</view>
  76. <view>{{carInfo.purchasePrice}}</view>
  77. </view>
  78. <view class="row d-flex a-center j-sb">
  79. <view>使用性质</view>
  80. <view>{{carInfo.carnature}}</view>
  81. </view>
  82. <view class="row d-flex a-center j-sb">
  83. <view>车辆用途</view>
  84. <view>{{carInfo.vehicleUse}}</view>
  85. </view>
  86. <view class="row d-flex a-center j-sb">
  87. <view>车辆类型</view>
  88. <view>{{carInfo.cartype}}</view>
  89. </view>
  90. <view class="row d-flex a-center j-sb">
  91. <view>车辆种类</view>
  92. <view>{{carInfo.cimodelclass}}</view>
  93. </view>
  94. <view class="row d-flex a-center j-sb">
  95. <view>能源种类</view>
  96. <view>{{carInfo.energyType}}</view>
  97. </view>
  98. <view class="row d-flex a-center j-sb">
  99. <view>注册日期</view>
  100. <view>{{carInfo.registerDate }}</view>
  101. </view>
  102. <view class="row d-flex a-center j-sb">
  103. <view>发证日期</view>
  104. <view>{{carInfo.issueDate }}</view>
  105. </view>
  106. <view class="row d-flex a-center j-sb">
  107. <view>是否过户</view>
  108. <view>{{carInfo.transferFlag?'是':'否' }}</view>
  109. </view>
  110. <view class="row d-flex a-center j-sb" v-if="carInfo.transferFlag">
  111. <view>转移登记日期</view>
  112. <view>{{carInfo.transferDate }}</view>
  113. </view>
  114. <view class="row d-flex a-center j-sb">
  115. <view>商业是否过户</view>
  116. <view>{{carInfo.transferFlagBi?'是':'否' }}</view>
  117. </view>
  118. <view class="row d-flex a-center j-sb">
  119. <view>是否脱保</view>
  120. <view>{{carInfo.outOfInsurance?'是':'否' }}</view>
  121. </view>
  122. <view class="row d-flex a-center j-sb">
  123. <view>是否二手车</view>
  124. <view>{{carInfo.usedCar?'是':'否' }}</view>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="car" style="padding: 0;">
  129. <view class="header d-flex a-center j-sb " @tap="showOwerInfo = !showOwerInfo" style="padding: 0 10px;">
  130. <view class="title">人员信息</view>
  131. <view class="adjustPlan d-flex">
  132. <view class="icon iconfont "
  133. :class="{ 'icon-up-yixuanzhong': showOwerInfo, 'icon-down-weixuanzhong': !showOwerInfo }"
  134. style="font-weight: bold;color: #B3B3B3;">
  135. </view>
  136. </view>
  137. </view>
  138. <view class="body" v-if="showOwerInfo">
  139. <view class="row d-flex a-center j-sb font-weight "
  140. style="background-color: #E5ECFA;padding:5px 10px;">
  141. <view>车主姓名:</view>
  142. <view>{{ownerInfo.name}}</view>
  143. </view>
  144. <view class="" style="padding: 0 5px;">
  145. <view class="row d-flex a-center j-sb">
  146. <view>车主身份证号:</view>
  147. <view>
  148. {{ownerInfo.identifyNumber}}
  149. </view>
  150. </view>
  151. <view class="row d-flex a-center j-sb">
  152. <view>手机号:</view>
  153. <view>{{ownerInfo.mobile}}</view>
  154. </view>
  155. <view class="row d-flex a-center j-sb">
  156. <view>地址:</view>
  157. <view>{{ownerInfo.addr}}</view>
  158. </view>
  159. </view>
  160. <view class="row d-flex a-center j-sb font-weight "
  161. style="background-color: #E5ECFA;padding:5px 10px;">
  162. <view>投保人姓名:</view>
  163. <view>{{policyHolderInfo.name}}</view>
  164. </view>
  165. <view class="" style="padding: 0 5px;">
  166. <view class="row d-flex a-center j-sb">
  167. <view>车主身份证号:</view>
  168. <view>
  169. {{policyHolderInfo.identifyNumber}}
  170. </view>
  171. </view>
  172. <view class="row d-flex a-center j-sb">
  173. <view>手机号:</view>
  174. <view>{{policyHolderInfo.mobile}}</view>
  175. </view>
  176. <view class="row d-flex a-center j-sb">
  177. <view>地址:</view>
  178. <view>{{policyHolderInfo.addr}}</view>
  179. </view>
  180. </view>
  181. <view class="row d-flex a-center j-sb font-weight "
  182. style="background-color: #E5ECFA;padding:5px 10px;">
  183. <view>被保人姓名:</view>
  184. <view>{{insuredPersonInfo.name}}</view>
  185. </view>
  186. <view class="" style="padding: 0 5px;">
  187. <view class="row d-flex a-center j-sb">
  188. <view>车主身份证号:</view>
  189. <view>
  190. {{insuredPersonInfo.identifyNumber}}
  191. </view>
  192. </view>
  193. <view class="row d-flex a-center j-sb">
  194. <view>手机号:</view>
  195. <view>{{insuredPersonInfo.mobile}}</view>
  196. </view>
  197. <view class="row d-flex a-center j-sb">
  198. <view>地址:</view>
  199. <view>{{insuredPersonInfo.addr}}</view>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="car">
  205. <view class="header d-flex a-center j-sb" @tap="showPolicyHolderInfo = !showPolicyHolderInfo">
  206. <view class="title">保费信息</view>
  207. <view class="adjustPlan d-flex">
  208. <view class="icon iconfont "
  209. :class="{ 'icon-up-yixuanzhong': showPolicyHolderInfo, 'icon-down-weixuanzhong': !showPolicyHolderInfo }"
  210. style="font-weight: bold;color: #B3B3B3;">
  211. </view>
  212. </view>
  213. </view>
  214. <view class="body" v-if="showPolicyHolderInfo">
  215. <view class=" dis f-c">
  216. <template v-if="orderInfo.jqpremium">
  217. <view class="dis a-c j-s " style="color: #232832;font-weight: bold;">
  218. <text>交强险:</text>
  219. <text>¥{{orderInfo.jqpremium}}</text>
  220. </view>
  221. <view class="dis f-c ">
  222. <text style="color: rgba(35,40,50,0.9);">起保日期:{{orderInfo.jqstartdate}}</text>
  223. <text style="color: rgba(35,40,50,0.9);">终保日期:{{orderInfo.jqenddate}}</text>
  224. </view>
  225. <view v-if="orderInfo.jqpremium && orderInfo.feeOrderNewVo" class=" d-flex a-center j-c"
  226. style="margin-bottom: 5px;">
  227. <view class="costDetails">
  228. <view class="dis j-s a-c " style="padding: 4px 6px;">
  229. <text class="text1">手续费比例:<text
  230. class="text2">{{orderInfo.feeOrderNewVo.exportFee[0].superviseCosts}}%</text>
  231. </text>
  232. <text class="text1">跟单比例:<text
  233. class="text2">{{orderInfo.feeOrderNewVo.exportFee[0].otherCostsProportion}}%</text>
  234. </text>
  235. <text class="text1">总比例:<text
  236. class="text2">{{orderInfo.feeOrderNewVo.exportFee[0].totalProportion}}%</text>
  237. </text>
  238. </view>
  239. <view class="dis j-s a-c" style="padding: 4px 6px;">
  240. <text class="text1">手续费用:
  241. <text class="text2 text2-color"
  242. v-if="orderInfo.feeOrderNewVo.exportFee[0].superviseCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[0].superviseCostsPremiums}}</text>
  243. <text v-else>0</text>
  244. </text>
  245. <text class="text1">跟单费用:
  246. <text class="text2 text2-color"
  247. v-if="orderInfo.feeOrderNewVo.exportFee[0].otherCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[0].otherCostsPremiums}}</text>
  248. <text v-else>0</text>
  249. </text>
  250. <text class="text1">总费用:
  251. <text class="text2 text2-color"
  252. v-if="orderInfo.feeOrderNewVo.exportFee[0].totalAmount">¥{{orderInfo.feeOrderNewVo.exportFee[0].totalAmount}}</text>
  253. <text v-else>0</text>
  254. </text>
  255. </view>
  256. </view>
  257. </view>
  258. <view class="dis f-c"
  259. style="background-color: #F9F9F9;border-radius: 10px;padding: 6px;margin-bottom: 5px;">
  260. <view class="dis j-s a-c">
  261. <text style="color: rgba(35,40,50,0.8)">险别/名称</text>
  262. <text style="color: rgba(35,40,50,0.8)">保额</text>
  263. </view>
  264. <view class="dis j-s a-c" v-for="(item,index) in orderInfo.jqInsuranceType" :key="index"
  265. style="margin-top: 6px;">
  266. <text>{{item.name}}</text>
  267. <text>{{item.amount}}</text>
  268. </view>
  269. </view>
  270. </template>
  271. <template v-if="taxAmount">
  272. <view class="dis a-c j-s " style="color: #232832;font-weight: bold;">
  273. <text>车船税:</text>
  274. <text>¥{{taxAmount}}</text>
  275. </view>
  276. <view class="dis f-c" v-if="orderInfo.taxArrears && orderInfo.taxArrears.length>0">
  277. <text>欠税信息</text>
  278. <view class="body" style="padding: 10px 5px;">
  279. <u-table :th-style="{background:'#ff9000'}">
  280. <u-tr>
  281. <u-th style="font-size: 20rpx;">当年应缴(元)</u-th>
  282. <u-th style="font-size: 20rpx;">去年补缴(元)</u-th>
  283. <u-th style="font-size: 20rpx;">滞纳金(元)</u-th>
  284. <u-th style="font-size: 20rpx;">总计</u-th>
  285. </u-tr>
  286. <u-tr v-for="(item,index) in orderInfo.taxArrears" :key="index">
  287. <u-td>{{item.dayYearTax}}</u-td>
  288. <u-td>{{item.taxDefault}}</u-td>
  289. <u-td>{{item.lateFee}}</u-td>
  290. <u-td>{{orderInfo.taxamount}}</u-td>
  291. </u-tr>
  292. </u-table>
  293. </view>
  294. </view>
  295. </template>
  296. <template v-if="sypremium">
  297. <view class="dis a-c j-s " style="color: #232832;font-weight: bold;">
  298. <text>商业险:</text>
  299. <text>¥{{sypremium}}</text>
  300. </view>
  301. <view class="dis f-c ">
  302. <text style="color: rgba(35,40,50,0.9);">起保日期:{{orderInfo.systartdate}}</text>
  303. <text style="color: rgba(35,40,50,0.9);">终保日期:{{orderInfo.syenddate}}</text>
  304. </view>
  305. <view class="costDetails" v-if="sypremium && orderInfo.feeOrderNewVo">
  306. <view class="dis j-s a-c " style="border-bottom: 1px solid #f2f2f2;padding: 4px 6px;">
  307. <text class="text1">手续费比例:<text
  308. class="text2">{{orderInfo.feeOrderNewVo.exportFee[1].superviseCosts}}%</text>
  309. </text>
  310. <text class="text1">跟单比例:<text
  311. class="text2">{{orderInfo.feeOrderNewVo.exportFee[1].otherCostsProportion}}%</text>
  312. </text>
  313. <text class="text1">总比例:<text
  314. class="text2">{{orderInfo.feeOrderNewVo.exportFee[1].totalProportion}}%</text>
  315. </text>
  316. </view>
  317. <view class="dis j-s a-c" style="padding: 4px 6px;">
  318. <text class="text1">手续费用:
  319. <text class="text2 text2-color"
  320. v-if="orderInfo.feeOrderNewVo.exportFee[1].superviseCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[1].superviseCostsPremiums}}</text>
  321. <text v-else>0</text>
  322. </text>
  323. <text class="text1">跟单费用:
  324. <text class="text2 text2-color"
  325. v-if="orderInfo.feeOrderNewVo.exportFee[1].otherCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[1].otherCostsPremiums}}</text>
  326. <text v-else>0</text>
  327. </text>
  328. <text class="text1">总费用:
  329. <text class="text2 text2-color"
  330. v-if="orderInfo.feeOrderNewVo.exportFee[1].totalAmount">¥{{orderInfo.feeOrderNewVo.exportFee[1].totalAmount}}</text>
  331. <text v-else>0</text>
  332. </text>
  333. </view>
  334. </view>
  335. <view class="kindList mt-1">
  336. <view class="dis j-s" style="color: rgba(35,40,50,0.6);font-size: 24rpx;border-bottom: 1px silid
  337. #232832">
  338. <view class="dis j-start" style="width: 33.33%;">
  339. <text>险别/名称</text>
  340. </view>
  341. <view class="dis j-c" style="width: 33.33%;">
  342. <text>保额</text>
  343. </view>
  344. <view class="dis j-end" style="width: 33.33%;">
  345. <text>保费(元)</text>
  346. </view>
  347. </view>
  348. <block v-for="(item,index) in kindList" :key="index">
  349. <template v-if="item.coveragePremium">
  350. <view class="kindItem dis">
  351. <view class="dis j-start" style="width: 33.33%;">
  352. <text>{{item.kindName}}</text>
  353. </view>
  354. <view class="dis a-c j-c" v-if="['A'].includes(item.kindCode)"
  355. style="width: 33.33%;"><text>
  356. {{item.amount}}</text>
  357. </view>
  358. <view class="dis a-c j-c"
  359. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
  360. style="width: 33.33%;">
  361. <text>{{toChinesNum(item.unitAmount)}}/座*{{orderInfo.carinfo.seatCount-1}}</text>
  362. </view>
  363. <view class="dis a-c j-c"
  364. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
  365. style="width: 33.33%;">
  366. <text>{{item.deductibleRate}}%</text>
  367. </view>
  368. <view class="dis a-c j-c" v-else style="width: 33.33%;">
  369. <text>{{toChinesNum(item.amount)}}</text>
  370. </view>
  371. <view class="dis a-c j-end" style="width: 33.33%;">
  372. <text>¥{{item.coveragePremium}}</text>
  373. </view>
  374. </view>
  375. </template>
  376. </block>
  377. <view class="kindItem d-flex a-center j-sb" v-for="(item,index) in roadrescueList"
  378. :key="index">
  379. <view>{{item.kindName}}</view>
  380. <view class="d-flex j-end">{{item.serviceTimes}}次</view>
  381. </view>
  382. </view>
  383. </template>
  384. <template v-if="jypremium">
  385. <view class="dis a-c j-s " style="color: #232832;font-weight: bold;">
  386. <text>附加险:意外险</text>
  387. <text>¥{{jypremium}}</text>
  388. </view>
  389. <view v-if="jypremium && orderInfo.feeOrderNewVo" class="row d-flex a-center j-c">
  390. <view class="costDetails">
  391. <view class="dis j-s a-c "
  392. style="border-bottom: 1px solid #f2f2f2;padding: 4px 6px;">
  393. <text class="text1">手续费比例:<text
  394. class="text2">{{orderInfo.feeOrderNewVo.exportFee[2].superviseCosts}}%</text>
  395. </text>
  396. <text class="text1">跟单比例:<text
  397. class="text2">{{orderInfo.feeOrderNewVo.exportFee[2].otherCostsProportion}}%</text>
  398. </text>
  399. <text class="text1">总比例:<text
  400. class="text2">{{orderInfo.feeOrderNewVo.exportFee[2].totalProportion}}%</text>
  401. </text>
  402. </view>
  403. <view class="dis j-s a-c" style="padding: 4px 6px;">
  404. <text class="text1">手续费用:
  405. <text class="text2 text2-color"
  406. v-if="orderInfo.feeOrderNewVo.exportFee[2].superviseCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[2].superviseCostsPremiums}}</text>
  407. <text v-else>0</text>
  408. </text>
  409. <text class="text1">跟单费用:
  410. <text class="text2 text2-color"
  411. v-if="orderInfo.feeOrderNewVo.exportFee[2].otherCostsPremiums">¥{{orderInfo.feeOrderNewVo.exportFee[2].otherCostsPremiums}}</text>
  412. <text v-else>0</text>
  413. </text>
  414. <text class="text1">总费用:
  415. <text class="text2 text2-color"
  416. v-if="orderInfo.feeOrderNewVo.exportFee[2].totalAmount">¥{{orderInfo.feeOrderNewVo.exportFee[2].totalAmount}}</text>
  417. <text v-else>0</text>
  418. </text>
  419. </view>
  420. </view>
  421. </view>
  422. <view class=" dis j-s f-c p-2" v-if="orderInfo.accidentInfo.length>0"
  423. style="border: none;background-color: #F9F9F9;border-radius: 10px;">
  424. <view class="dis j-s a-c" style="border-bottom: 1px solid #f2f2f2;">
  425. <view class="dis j-start" style="width: 50%;">
  426. <text style="color: rgba(35,40,50,0.8)">险别/名称</text>
  427. </view>
  428. <view class="dis j-c" style="width: 25%;">
  429. <text style="color: rgba(35,40,50,0.8)">保额</text>
  430. </view>
  431. <view class="dis j-end" style="width: 25%;">
  432. <text style="color: rgba(35,40,50,0.8)">保费(元)</text>
  433. </view>
  434. </view>
  435. <view class="coverage-sum dis j-s" v-for="(item,index) in orderInfo.accidentInfo"
  436. :key="index" style="margin-top: 6px;">
  437. <view style="width: 50%;" class="dis a-c j-start">
  438. <text>{{item.name}}</text>
  439. </view>
  440. <view style="width: 25%;" class="dis a-c j-c">
  441. <text>{{item.amount}}</text>
  442. </view>
  443. <view style="width: 25%;" class="dis a-c j-c">
  444. <text>{{item.premium}}</text>
  445. </view>
  446. </view>
  447. </view>
  448. </template>
  449. </view>
  450. </view>
  451. </view>
  452. <view class="car">
  453. <view class="header d-flex a-center j-sb" @tap="showextendInfo = !showextendInfo">
  454. <view class="title">保费因素</view>
  455. <view class="adjustPlan d-flex">
  456. <view class="icon iconfont "
  457. :class="{ 'icon-up-yixuanzhong': showextendInfo, 'icon-down-weixuanzhong': !showextendInfo }"
  458. style="font-weight: bold;color: #B3B3B3;">
  459. </view>
  460. </view>
  461. </view>
  462. <view class="body" v-if="showextendInfo">
  463. <view class="row d-flex a-center j-sb">
  464. <view>评分</view>
  465. <view>{{extendInfo.score?extendInfo.score:"无"}}</view>
  466. </view>
  467. <view class="row d-flex a-center j-sb">
  468. <view>鼎然-车辆风险评分:</view>
  469. <view>{{orderInfo.ubiPredictedInfoScore?orderInfo.ubiPredictedInfoScore:"无"}}</view>
  470. </view>
  471. <view class="row d-flex a-center j-sb">
  472. <view>交强评分</view>
  473. <view style="color: #ff9000;">{{extendInfo.jqScore?extendInfo.jqScore:"无"}}</view>
  474. </view>
  475. <view class="row d-flex a-center j-sb">
  476. <view>商业评分</view>
  477. <view style="color: #ff9000;">{{extendInfo.syScore?extendInfo.syScore:"无"}}</view>
  478. </view>
  479. <view class="row d-flex a-center j-sb">
  480. <view>出险信息</view>
  481. <view style="width: 200px;text-align: right;">
  482. {{extendInfo.accidentInfoStr?extendInfo.accidentInfoStr:"无"}}
  483. </view>
  484. </view>
  485. <view class="row d-flex a-center j-sb">
  486. <view>总赔付率</view>
  487. <view>{{extendInfo.lossRation}}</view>
  488. </view>
  489. <view class="row d-flex a-center j-sb">
  490. <view>交强赔付率</view>
  491. <view>{{extendInfo.jqLossRation}}</view>
  492. </view>
  493. <view class="row d-flex a-center j-sb">
  494. <view>商业赔付率</view>
  495. <view>{{extendInfo.syLossRation}}</view>
  496. </view>
  497. <view class="row d-flex a-center j-sb">
  498. <view>总折扣率</view>
  499. <view>{{extendInfo.totalAdjustRate}}</view>
  500. </view>
  501. <view class="row d-flex a-center j-sb">
  502. <view>交强险折扣</view>
  503. <view>{{extendInfo.jqAdjustRate}}</view>
  504. </view>
  505. <view class="row d-flex a-center j-sb">
  506. <view>商业险折扣</view>
  507. <view>{{extendInfo.syAdjustRate}}</view>
  508. </view>
  509. </view>
  510. </view>
  511. <view class="car">
  512. <view class="header d-flex a-center j-sb" @tap="showCarImageInfo = !showCarImageInfo">
  513. <view class="title">影像信息</view>
  514. <view class="adjustPlan d-flex">
  515. <view class="icon iconfont "
  516. :class="{ 'icon-up-yixuanzhong': showCarImageInfo, 'icon-down-weixuanzhong': !showCarImageInfo }"
  517. style="font-weight: bold;color: #B3B3B3;">
  518. </view>
  519. </view>
  520. </view>
  521. <view class="body" style="padding: 10px 5px;" v-if="showCarImageInfo">
  522. <view class="uni-uploader">
  523. <view class="uni-uploader-body dis j-s a-c">
  524. <view class="uni-uploader__files dis f-c a-c">
  525. <text>行驶证主页</text>
  526. <block v-for="(image,index) in imgList1" :key="index">
  527. <view class="uni-uploader__file">
  528. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  529. @tap="previewImage($event,'imgList1')"></image>
  530. <view v-if="orderstatus!=3"
  531. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  532. @tap="delCheckImage(image,'carImageListId','imgList1')"></view>
  533. </view>
  534. </block>
  535. <view v-if="imgList1.length==0 " class="uni-uploader__input-box"
  536. style="box-sizing: border-box;">
  537. <view v-if="orderstatus!=3" class="uni-uploader__input"
  538. @tap="chooseImage('C01','carImageListId','imgList1')">
  539. </view>
  540. </view>
  541. </view>
  542. <view class="uni-uploader__files dis f-c a-c">
  543. <text>行驶证副本</text>
  544. <block v-for="(image,index) in imgList2" :key="index">
  545. <view class="uni-uploader__file">
  546. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  547. @tap="previewImage($event,'imgList2')"></image>
  548. <view v-if="orderstatus!=3"
  549. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  550. @tap="delCheckImage(image,'carImageListId','imgList2')"></view>
  551. </view>
  552. </block>
  553. <view v-if="imgList2.length==0" class="uni-uploader__input-box"
  554. style="box-sizing: border-box;">
  555. <view v-if="orderstatus!=3" class="uni-uploader__input"
  556. @tap="chooseImage('D01','carImageListId','imgList2')">
  557. </view>
  558. </view>
  559. </view>
  560. </view>
  561. </view>
  562. <view class="uni-uploader">
  563. <view class="uni-uploader-body dis j-s a-c">
  564. <view class="uni-uploader__files dis f-c a-c">
  565. <text>车主身份证正面</text>
  566. <block v-for="(image,index) in imgList3" :key="index">
  567. <view class="uni-uploader__file">
  568. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  569. @tap="previewImage($event,'imgList3')"></image>
  570. <view v-if="orderstatus!=3"
  571. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  572. @tap="delCheckImage(image,'ownerImageListId','imgList3')"></view>
  573. </view>
  574. </block>
  575. <view v-if="imgList3.length==0" class="uni-uploader__input-box"
  576. style="box-sizing: border-box;">
  577. <view v-if="orderstatus!=3" class="uni-uploader__input"
  578. @tap="chooseImage('C02','ownerImageListId','imgList3')"></view>
  579. </view>
  580. </view>
  581. <view class="uni-uploader__files dis f-c a-c">
  582. <text>车主身份证反面</text>
  583. <block v-for="(image,index) in imgList4" :key="index">
  584. <view class="uni-uploader__file">
  585. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  586. @tap="previewImage($event,'imgList4')"></image>
  587. <view v-if="orderstatus!=3"
  588. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  589. @tap="delCheckImage(image,'ownerImageListId','imgList4')"></view>
  590. </view>
  591. </block>
  592. <view v-if="imgList4.length==0" class="uni-uploader__input-box"
  593. style="box-sizing: border-box;">
  594. <view v-if="orderstatus!=3" class="uni-uploader__input"
  595. @tap="chooseImage('D02','ownerImageListId','imgList4')"></view>
  596. </view>
  597. </view>
  598. </view>
  599. </view>
  600. <view class="uni-uploader">
  601. <view class="uni-uploader-body dis j-s a-c">
  602. <view class="uni-uploader__files dis f-c a-c">
  603. <text>投保人身份证正面</text>
  604. <block v-for="(image,index) in imgList5" :key="index">
  605. <view class="uni-uploader__file">
  606. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  607. @tap="previewImage($event,'imgList5')"></image>
  608. <view v-if="orderstatus!=3"
  609. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  610. @tap="delCheckImage(image,'policyImageListId','imgList5')"></view>
  611. </view>
  612. </block>
  613. <view v-if="imgList5.length==0" class="uni-uploader__input-box"
  614. style="box-sizing: border-box;">
  615. <view v-if="orderstatus!=3" class="uni-uploader__input"
  616. @tap="chooseImage('C03','policyImageListId','imgList5')"></view>
  617. </view>
  618. </view>
  619. <view class="uni-uploader__files dis f-c a-c">
  620. <text>投保人身份证反面</text>
  621. <block v-for="(image,index) in imgList6" :key="index">
  622. <view class="uni-uploader__file">
  623. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  624. @tap="previewImage($event,'imgList6')"></image>
  625. <view v-if="orderstatus!=3"
  626. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  627. @tap="delCheckImage(image,'policyImageListId','imgList6')"></view>
  628. </view>
  629. </block>
  630. <view v-if="imgList6.length==0" class="uni-uploader__input-box"
  631. style="box-sizing: border-box;">
  632. <view v-if="orderstatus!=3" class="uni-uploader__input"
  633. @tap="chooseImage('D03','policyImageListId','imgList6')"></view>
  634. </view>
  635. </view>
  636. </view>
  637. </view>
  638. <view class="uni-uploader">
  639. <view class="uni-uploader-body dis j-s a-c">
  640. <view class="uni-uploader__files dis f-c a-c">
  641. <text>被保人身份证正面</text>
  642. <block v-for="(image,index) in imgList7" :key="index">
  643. <view class="uni-uploader__file">
  644. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  645. @tap="previewImage($event,'imgList7')"></image>
  646. <view v-if="orderstatus!=3"
  647. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  648. @tap="delCheckImage(image,'insuredImageListId','imgList7')"></view>
  649. </view>
  650. </block>
  651. <view v-if="imgList7.length==0" class="uni-uploader__input-box"
  652. style="box-sizing: border-box;">
  653. <view v-if="orderstatus!=3" class="uni-uploader__input"
  654. @tap="chooseImage('C04','insuredImageListId','imgList7')"></view>
  655. </view>
  656. </view>
  657. <view class="uni-uploader__files dis f-c a-c">
  658. <text>被保人身份证反面</text>
  659. <block v-for="(image,index) in imgList8" :key="index">
  660. <view class="uni-uploader__file">
  661. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  662. @tap="previewImage($event,'imgList8')"></image>
  663. <view v-if="orderstatus!=3"
  664. class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  665. @tap="delCheckImage(image,'insuredImageListId','imgList8')"></view>
  666. </view>
  667. </block>
  668. <view v-if="imgList8.length==0" class="uni-uploader__input-box"
  669. style="box-sizing: border-box;">
  670. <view v-if="orderstatus!=3" class="uni-uploader__input"
  671. @tap="chooseImage('D04','insuredImageListId','imgList8')"></view>
  672. </view>
  673. </view>
  674. </view>
  675. </view>
  676. <view class="uni-uploader">
  677. <view class="uni-uploader-body dis j-s a-c">
  678. <view class="uni-uploader__files dis f-c a-c">
  679. <text>新车合格证</text>
  680. <block v-for="(image,index) in imgNewCarQualified" :key="index">
  681. <view class="uni-uploader__file">
  682. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  683. @tap="previewImage($event,'imgNewCarQualified')"></image>
  684. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  685. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarQualified')">
  686. </view>
  687. </view>
  688. </block>
  689. <view v-if="imgNewCarQualified.length==0" class="uni-uploader__input-box"
  690. style="box-sizing: border-box;">
  691. <view v-if="orderstatus!=3" class="uni-uploader__input"
  692. @tap="chooseImage('XC00','imgNewCarinvoiceId','imgNewCarQualified')"></view>
  693. </view>
  694. </view>
  695. <view class="uni-uploader__files dis f-c a-c">
  696. <text>购车发票</text>
  697. <block v-for="(image,index) in imgNewCarInvoice" :key="index">
  698. <view class="uni-uploader__file">
  699. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  700. @tap="previewImage($event,'imgNewCarInvoice')"></image>
  701. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center"
  702. @tap="delCheckImage(image,'imgNewCarinvoiceId','imgNewCarInvoice')"></view>
  703. </view>
  704. </block>
  705. <view v-if="imgNewCarInvoice.length==0" class="uni-uploader__input-box"
  706. style="box-sizing: border-box;">
  707. <view v-if="orderstatus!=3" class="uni-uploader__input"
  708. @tap="chooseImage('GC00','imgNewCarinvoiceId','imgNewCarInvoice')"></view>
  709. </view>
  710. </view>
  711. </view>
  712. </view>
  713. <view class="uni-uploader">
  714. <view class="uni-uploader-body dis j-s a-c">
  715. <view class="uni-uploader__files dis f-c a-c">
  716. <text>其他关系证明</text>
  717. <block v-for="(image,index) in imgRelationship" :key="index">
  718. <view class="uni-uploader__file">
  719. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  720. @tap="previewImage($event,'imgRelationship')"></image>
  721. <view class="delImgIcon iconfont icon-cuowu d-flex a-center j-center "
  722. @tap="delCheckImage('imgRelationship',index)"></view>
  723. </view>
  724. </block>
  725. <view class="uni-uploader__input-box" style="box-sizing: border-box;">
  726. <view v-if="orderstatus!=3" class="uni-uploader__input"
  727. @tap="chooseImage('GX00','imgRelationshipid','imgRelationship')"></view>
  728. </view>
  729. </view>
  730. </view>
  731. </view>
  732. </view>
  733. </view>
  734. <!-- 特约 -->
  735. <view class="car" v-if="['紫金财险','华泰财险'].includes(this.name)">
  736. <view class=" header title d-flex a-center j-sb" @tap="showAppoint=!showAppoint">
  737. <text style="font-weight: bold;">特约</text>
  738. <view class="adjustPlan d-flex">
  739. <view class="icon iconfont "
  740. :class="{ 'icon-up-yixuanzhong': showAppoint, 'icon-down-weixuanzhong': !showAppoint }"
  741. style="font-weight: bold;color: #B3B3B3;">
  742. </view>
  743. </view>
  744. </view>
  745. <view class=" dis f-c j-c " v-if="showAppoint"
  746. style="background-color: #fff;padding: 8px;border-radius: 6px;">
  747. <template v-if="this.name=='紫金财险'">
  748. <u-button type="warning" size="mini" style="width: 80px;margin-top: 5px;"
  749. @click="ziJinshow=true">特约选择</u-button>
  750. <view class="contributing dis f-c" v-for="(ziJinitem,ziJinindex) in ziJinengageList"
  751. :key="ziJinindex">
  752. <text style="font-size: 14px;">{{ziJinitem.clauseName}}</text>
  753. <u-input v-if="ziJinitem.modifyFlag==1" :border="true" v-model="ziJinitem.clauses"
  754. size="mini" type="textarea" :custom-style="{fontSize:'12px'}" />
  755. <text v-else>{{ziJinitem.clauses}}</text>
  756. </view>
  757. </template>
  758. <template v-if="this.name=='华泰财险'">
  759. <u-button type="warning" size="mini" style="width: 80px;margin-top: 5px;"
  760. @click="huaTaishow=true">特约选择</u-button>
  761. <view class="contributing dis f-c" v-for="(huaTaiitem, huaTaiindex) in huaTaiengageList"
  762. :key="huaTaiindex">
  763. <text style="font-size: 14px;">{{huaTaiitem.engageTitle}}</text>
  764. <u-input v-if="huaTaiitem.modifyFlag==1" :border="true" v-model="huaTaiitem.engageDetail"
  765. size="mini" type="textarea" :custom-style="{fontSize:'12px'}" />
  766. <text v-else>{{huaTaiitem.engageDetail}}</text>
  767. </view>
  768. </template>
  769. </view>
  770. </view>
  771. </view>
  772. <u-popup v-model="toolPopupshow" mode="bottom" border-radius="10" height="">
  773. <view class="tool">
  774. <!-- <view class="dis j-c a-c" @click="toCarInfo">修改车辆信息</view> -->
  775. <view class="dis j-c a-c" @click="toInsureItems">修改险种配置</view>
  776. </view>
  777. <view class="cancell dis a-c j-c" @click="toolPopupshow=false">取消</view>
  778. </u-popup>
  779. <u-modal v-model="ziJinshow" title="特约保险"
  780. :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
  781. :scroll-height="{height: '300px'}" :confirm-style="{background:'#E6EEFF',color:'#0052FF'}">
  782. <view class="slot-content">
  783. <u-checkbox-group @change="ziJincontributingChange">
  784. <u-checkbox v-model="item.checked" active-color="rgb(255, 153, 0)"
  785. v-for="(item, index) in ziJinengageListData" :key="index"
  786. :name="item.clauseId">{{item.clauseName}}</u-checkbox>
  787. </u-checkbox-group>
  788. </view>
  789. </u-modal>
  790. <u-modal v-model="huaTaishow" title="华泰特约选择" :title-style="{fontWeight: 'bold'}"
  791. :scroll-height="{height: '300px'}">
  792. <view class="slot-content">
  793. <u-checkbox-group @change="huaTaicontributingChange">
  794. <u-checkbox v-model="item.checked" active-color="rgb(255, 153, 0)"
  795. v-for="(item, index) in huaTaiengageListData" :key="index"
  796. :name="item.engageCode">{{item.engageTitle}}</u-checkbox>
  797. </u-checkbox-group>
  798. </view>
  799. </u-modal>
  800. <!-- <u-modal v-model="auditNextShow" content="是否确认提交核保?" :show-title="false" :show-cancel-button="true"
  801. :confirm-style="{background:'#0052FF',color:'#fff',height:'40px',lineHeight:'40px'}"
  802. :cancel-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}" confirm-text="确定"
  803. @cancel="auditNextShow=false" @confirm="auditNextconfirm" :content-style="{fontWeight:'bold'}"></u-modal> -->
  804. <u-modal v-model="auditNextShow" :content="auditNextcontent" :show-title="false"
  805. :confirm-style="{background:'#0052FF',color:'#fff'}" :mask-close-able='true' @confirm="auditNextconfirm"
  806. :show-cancel-button="true">
  807. </u-modal>
  808. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  809. </view>
  810. </template>
  811. <script>
  812. import {
  813. mapState,
  814. mapMutations
  815. } from "vuex"
  816. import {
  817. pathToBase64,
  818. base64ToPath
  819. } from '@/common/pdf.js'
  820. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  821. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  822. export default {
  823. components: {
  824. uniPopup,
  825. previewImage
  826. },
  827. computed: {
  828. ...mapState(['userInfo', 'token', 'quotationType']),
  829. getHeight() {
  830. let height = uni.getSystemInfoSync().windowHeight;
  831. return `minHeight: ${height}px;`;
  832. }
  833. },
  834. data() {
  835. return {
  836. auditNextcontent: "是否确认提交核保",
  837. auditNextShow: false, //核保确认标识
  838. auditReturnInfoShow: false, //核保信息返回标识
  839. auditReturnInfoContent: "", //核保返回信息
  840. modificationFlag: false, //影响修改标识
  841. ziJinshow: false, //紫金特约
  842. huaTaishow: false, //紫金特约
  843. toolPopupshow: false, //底部弹窗
  844. agree: false,
  845. logoimg: "",
  846. companyId: "", //订单号
  847. orderInfo: {},
  848. licenseNo: "", //车牌号
  849. icon: "", //保险公司logo
  850. name: "", //保险公司名称
  851. carInfo: {}, //车辆信息
  852. ownerInfo: {}, //车主信息
  853. policyHolderInfo: {}, //投保人信息
  854. insuredPersonInfo: {}, //被保人信息
  855. riskList: [], //险种大类信息
  856. kindList: [], //商业险险别
  857. sumPermium: "", //报价金额
  858. taxAmount: "", //车船税金额
  859. jqpremium: "", //交强险金额
  860. sypremium: "", //商业险金额
  861. feerate: "",
  862. disrate: "",
  863. syappoint: "",
  864. orderstatus: "0", //订单状态
  865. CIStartDate: "", //交强险日期
  866. BIStartDate: "", //商业险日期
  867. showCarInfo: true,
  868. showextendInfo: true,
  869. insureList: [{
  870. amount: "0",
  871. coveragePremium: "",
  872. amtList: [{
  873. "label": "投保",
  874. "value": "1"
  875. }],
  876. kindCode: "A",
  877. isMainRisk: true,
  878. kindName: "机动车损失险"
  879. },
  880. {
  881. amount: "0",
  882. coveragePremium: "",
  883. amtList: [{
  884. "label": "10万",
  885. "value": "100000"
  886. }, {
  887. "label": "15万",
  888. "value": "150000"
  889. }, {
  890. "label": "20万",
  891. "value": "200000"
  892. }, {
  893. "label": "30万",
  894. "value": "300000"
  895. }, {
  896. "label": "50万",
  897. "value": "500000"
  898. }, {
  899. "label": "100万",
  900. "value": "1000000"
  901. }, {
  902. "label": "150万",
  903. "value": "1500000"
  904. }, {
  905. "label": "200万",
  906. "value": "2000000"
  907. }, {
  908. "label": "250万",
  909. "value": "2500000"
  910. }, {
  911. "label": "300万",
  912. "value": "3000000"
  913. }, {
  914. "label": "500万",
  915. "value": "5000000"
  916. }, {
  917. "label": "1000万",
  918. "value": "10000000"
  919. }],
  920. kindCode: "B",
  921. isMainRisk: true,
  922. kindName: "第三者责任险"
  923. },
  924. {
  925. amount: "0",
  926. coveragePremium: "",
  927. amtList: [{
  928. "label": "1万",
  929. "value": "10000"
  930. }, {
  931. "label": "2万",
  932. "value": "20000"
  933. }, {
  934. "label": "5万",
  935. "value": "50000"
  936. }, {
  937. "label": "10万",
  938. "value": "100000"
  939. }, {
  940. "label": "15万",
  941. "value": "150000"
  942. }, {
  943. "label": "20万",
  944. "value": "200000"
  945. }],
  946. kindCode: "D3",
  947. isMainRisk: true,
  948. kindName: "司机责任险"
  949. },
  950. {
  951. amount: "0",
  952. coveragePremium: "",
  953. amtList: [{
  954. "label": "1万",
  955. "value": "10000"
  956. }, {
  957. "label": "2万",
  958. "value": "20000"
  959. }, {
  960. "label": "5万",
  961. "value": "50000"
  962. }, {
  963. "label": "10万",
  964. "value": "100000"
  965. }, {
  966. "label": "15万",
  967. "value": "150000"
  968. }, {
  969. "label": "20万",
  970. "value": "200000"
  971. }],
  972. kindCode: "D4",
  973. isMainRisk: true,
  974. kindName: "乘客责任险"
  975. },
  976. {
  977. amount: "0",
  978. coveragePremium: "",
  979. amtList: [{
  980. "label": "2000",
  981. "value": "2000"
  982. }, {
  983. "label": "5000",
  984. "value": "5000"
  985. }, {
  986. "label": "1万",
  987. "value": "10000"
  988. }],
  989. isMainRisk: false,
  990. kindCode: "L",
  991. kindName: "车身划痕险",
  992. mainRiskCodeList: "A"
  993. },
  994. {
  995. amount: "0",
  996. coveragePremium: "",
  997. amtList: [{
  998. "label": "5%",
  999. "value": "5"
  1000. }, {
  1001. "label": "10%",
  1002. "value": "10"
  1003. }, {
  1004. "label": "15%",
  1005. "value": "15"
  1006. }, {
  1007. "label": "20%",
  1008. "value": "20"
  1009. }],
  1010. isMainRisk: false,
  1011. kindCode: "MJ1",
  1012. kindName: "绝对免赔率特约险(车损)",
  1013. mainRiskCodeList: "A"
  1014. },
  1015. {
  1016. amount: "0",
  1017. coveragePremium: "",
  1018. amtList: [{
  1019. "label": "5%",
  1020. "value": "5"
  1021. }, {
  1022. "label": "10%",
  1023. "value": "10"
  1024. }, {
  1025. "label": "15%",
  1026. "value": "15"
  1027. }, {
  1028. "label": "20%",
  1029. "value": "20"
  1030. }],
  1031. isMainRisk: false,
  1032. kindCode: "MJ2",
  1033. kindName: "绝对免赔率特约险(三者)",
  1034. mainRiskCodeList: "B"
  1035. },
  1036. {
  1037. amount: "0",
  1038. coveragePremium: "",
  1039. amtList: [{
  1040. "label": "5%",
  1041. "value": "5"
  1042. }, {
  1043. "label": "10%",
  1044. "value": "10"
  1045. }, {
  1046. "label": "15%",
  1047. "value": "15"
  1048. }, {
  1049. "label": "20%",
  1050. "value": "20"
  1051. }],
  1052. isMainRisk: false,
  1053. kindCode: "MJ3",
  1054. kindName: "绝对免赔率特约险(司机)",
  1055. mainRiskCodeList: "D3"
  1056. },
  1057. {
  1058. amount: "0",
  1059. coveragePremium: "",
  1060. amtList: [{
  1061. "label": "5%",
  1062. "value": "5"
  1063. }, {
  1064. "label": "10%",
  1065. "value": "10"
  1066. }, {
  1067. "label": "15%",
  1068. "value": "15"
  1069. }, {
  1070. "label": "20%",
  1071. "value": "20"
  1072. }],
  1073. isMainRisk: false,
  1074. kindCode: "MJ4",
  1075. kindName: "绝对免赔率特约险(乘客)",
  1076. mainRiskCodeList: "D4"
  1077. },
  1078. {
  1079. amount: "0",
  1080. coveragePremium: "",
  1081. amtList: [{
  1082. "label": "投保",
  1083. "value": "1"
  1084. }],
  1085. isMainRisk: false,
  1086. kindCode: "BD",
  1087. kindName: "法定节假日限额翻倍险",
  1088. mainRiskCodeList: "B"
  1089. },
  1090. {
  1091. amount: "0",
  1092. amountDesc: "不投保",
  1093. coveragePremium: "",
  1094. amtList: [{
  1095. label: "不投保",
  1096. value: "0"
  1097. },
  1098. {
  1099. label: "1万",
  1100. value: "10000"
  1101. },
  1102. {
  1103. label: "2万",
  1104. value: "20000"
  1105. },
  1106. {
  1107. label: "5万",
  1108. value: "50000"
  1109. },
  1110. {
  1111. label: "10万",
  1112. value: "100000"
  1113. }
  1114. ],
  1115. kindCode: "SY_FJ_YBW1",
  1116. isMainRisk: false,
  1117. kindName: "附加医保-三者",
  1118. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1119. },
  1120. {
  1121. amount: "0",
  1122. amountDesc: "不投保",
  1123. coveragePremium: 0,
  1124. amtList: [{
  1125. label: "不投保",
  1126. value: "0"
  1127. },
  1128. {
  1129. label: "1万",
  1130. value: "10000"
  1131. },
  1132. {
  1133. label: "2万",
  1134. value: "20000"
  1135. },
  1136. {
  1137. label: "5万",
  1138. value: "50000"
  1139. },
  1140. {
  1141. label: "10万",
  1142. value: "100000"
  1143. }
  1144. ],
  1145. kindCode: "SY_FJ_YBW2",
  1146. isMainRisk: false,
  1147. kindName: "附加医保-座位险(乘客)",
  1148. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1149. },
  1150. {
  1151. amount: "0",
  1152. amountDesc: "不投保",
  1153. coveragePremium: 0,
  1154. amtList: [{
  1155. label: "不投保",
  1156. value: "0"
  1157. },
  1158. {
  1159. label: "1万",
  1160. value: "10000"
  1161. },
  1162. {
  1163. label: "2万",
  1164. value: "20000"
  1165. },
  1166. {
  1167. label: "5万",
  1168. value: "50000"
  1169. },
  1170. {
  1171. label: "10万",
  1172. value: "100000"
  1173. }
  1174. ],
  1175. kindCode: "SY_FJ_YBW3",
  1176. isMainRisk: false,
  1177. kindName: "附加医保-座位险(司机)",
  1178. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  1179. },
  1180. ],
  1181. bottomData: [
  1182. // #ifdef APP-PLUS
  1183. {
  1184. text: '微信好友',
  1185. icon: '/static/image/share/weixinhaoyou.png',
  1186. name: 'wx'
  1187. },
  1188. {
  1189. text: '短信发送',
  1190. icon: '/static/image/share/shortMessage.png',
  1191. name: 'dx'
  1192. },
  1193. // #endif
  1194. {
  1195. text: '报价单',
  1196. icon: '/static/image/share/shortMessage.png',
  1197. name: 'bjd'
  1198. }
  1199. ],
  1200. vehicleModel: {}, //车型信息
  1201. showOwerInfo: true, //展示车主信息
  1202. showPolicyHolderInfo: true, //展示投保人信息
  1203. showAppoint: false, //展示特约
  1204. showApplyno: false, //展示投保单号
  1205. showPolicyno: false, //展示保单号
  1206. showPolicyFile: false, //展示电子保单
  1207. showPolicybzFile: false, //展示电子保单
  1208. policyList: [], //电子保单文件
  1209. policyList1: [], //电子标志文件
  1210. showCarImageInfo: true, //显示车辆影像
  1211. carImageListId: [],
  1212. ownerImageListId: [],
  1213. policyImageListId: [],
  1214. insuredImageListId: [],
  1215. imgRelationshipid: [],
  1216. imgNewCarinvoiceId: [],
  1217. imgList1: [],
  1218. imgList2: [],
  1219. imgList3: [],
  1220. imgList4: [],
  1221. imgList5: [],
  1222. imgList6: [],
  1223. imgList7: [],
  1224. imgList8: [],
  1225. imgRelationship: [], //其他证明
  1226. imgNewCarQualified: [], //合格证
  1227. imgNewCarInvoice: [], //发票
  1228. previewImgs: [],
  1229. dianzibaodan: "",
  1230. jypremium: "",
  1231. quoteno: "",
  1232. extendInfo: {},
  1233. routepage: "",
  1234. roadrescueList: [],
  1235. companyUnderwriting: "",
  1236. ziJinengageListData: [],
  1237. ziJinengageList: [],
  1238. huaTaiengageListData: [],
  1239. huaTaiengageList: [],
  1240. natureOfVehicleUseoptions: [],
  1241. vehicleTypeoptions: [],
  1242. trafficManagementVehicleTypeoptions: [],
  1243. energyTypeoptions: [],
  1244. businessVehicleUseoptions: [],
  1245. outOfBusinessVehicleUseoptions: [],
  1246. }
  1247. },
  1248. async onLoad(params) {
  1249. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  1250. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  1251. this.getDicType("natureOfVehicleUse"); //车辆性质
  1252. this.getDicType("vehicleType"); //车辆种类
  1253. this.getDicType("trafficManagementVehicleType"); //车辆类型
  1254. this.getDicType("energyType"); //能源种类
  1255. let pages = getCurrentPages(); // 当前页面路由
  1256. if (pages.length > 1) {
  1257. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1258. this.routepage = beforePage;
  1259. }
  1260. if (!this.token) {
  1261. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1262. }
  1263. if (!!params.companyId) {
  1264. this.companyId = params.companyId;
  1265. let param = {
  1266. companyId: params.companyId
  1267. };
  1268. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1269. if (res.code == 200) {
  1270. this.icon = "";
  1271. this.quoteno = res.data.quoteno;
  1272. this.name = res.data.inscompany;
  1273. this.carInfo = res.data.carinfo;
  1274. this.carInfo.carnature = this.dictionaryMatching(this.natureOfVehicleUseoptions,
  1275. this
  1276. .carInfo
  1277. .carnature)
  1278. this.carInfo.vehicleUse = this.carInfo.carnature == '非营业' ? this.dictionaryMatching(this
  1279. .outOfBusinessVehicleUseoptions,
  1280. this
  1281. .carInfo
  1282. .vehicleUse) : this.dictionaryMatching(this.businessVehicleUseoptions,
  1283. this
  1284. .carInfo
  1285. .vehicleUse)
  1286. this.carInfo.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1287. this
  1288. .carInfo
  1289. .cimodelclass)
  1290. this.carInfo.cartype = this.dictionaryMatching(this.trafficManagementVehicleTypeoptions,
  1291. this
  1292. .carInfo
  1293. .cartype)
  1294. this.carInfo.energyType = this.dictionaryMatching(this.energyTypeoptions,
  1295. this
  1296. .carInfo
  1297. .energyType)
  1298. this.extendInfo = res.data.extendInfo;
  1299. this.licenseNo = res.data.licenseno;
  1300. if (!!this.carInfo.loanStatus) {
  1301. this.carInfo.loanStatus = 1;
  1302. } else {
  1303. this.carInfo.loanStatus = 0;
  1304. }
  1305. if (!!this.carInfo.registerDate) {
  1306. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1307. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1308. if (month1 < 10) {
  1309. month1 = '0' + month1;
  1310. }
  1311. let day1 = new Date(this.carInfo.registerDate).getDate()
  1312. if (day1 < 10) {
  1313. day1 = '0' + day1;
  1314. }
  1315. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1316. }
  1317. if (!!this.carInfo.issueDate) {
  1318. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1319. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1320. if (month2 < 10) {
  1321. month2 = '0' + month2;
  1322. }
  1323. let day2 = new Date(this.carInfo.issueDate).getDate()
  1324. if (day2 < 10) {
  1325. day2 = '0' + day2;
  1326. }
  1327. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1328. }
  1329. if (!!this.carInfo.transferDate) {
  1330. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1331. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1332. if (month3 < 10) {
  1333. month3 = '0' + month3;
  1334. }
  1335. let day3 = new Date(this.carInfo.transferDate).getDate()
  1336. if (day3 < 10) {
  1337. day3 = '0' + day3;
  1338. }
  1339. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1340. }
  1341. this.ownerInfo = res.data.ownerinfo;
  1342. this.policyHolderInfo = res.data.applyinfo;
  1343. this.insuredPersonInfo = res.data.insureinfo;
  1344. this.riskList = res.data.riskinfo;
  1345. this.kindList = res.data.kindinfo;
  1346. this.roadrescueList = this.kindList.filter((val) => {
  1347. return ["TY1", "TY2", "TY3", "TY4"].includes(val.kindCode)
  1348. })
  1349. this.sumPermium = res.data.sumpremium;
  1350. this.taxAmount = res.data.taxamount;
  1351. this.sypremium = res.data.sypremium;
  1352. this.jqpremium = res.data.jqpremium;
  1353. this.jypremium = res.data.jypremium;
  1354. this.orderstatus = res.data.orderstatus;
  1355. this.feerate = res.data.feerate;
  1356. this.disrate = res.data.disrate;
  1357. this.jqdiscountrate = res.data.jqdiscountrate;
  1358. this.sydiscountrate = res.data.sydiscountrate;
  1359. this.syappoint = res.data.syappoint;
  1360. this.orderInfo = {};
  1361. Object.assign(this.orderInfo, res.data)
  1362. this.imageEcho(this.quoteno) // 影像获取完毕
  1363. this.$base.insCompanyList.map(ele => {
  1364. if (ele.name == res.data.inscompany) {
  1365. uni.getImageInfo({
  1366. src: ele.icon,
  1367. success: image => {
  1368. pathToBase64(image.path)
  1369. .then(base64 => {
  1370. this.logoimg = base64;
  1371. })
  1372. .catch(error => {});
  1373. },
  1374. fail: err => {}
  1375. });
  1376. }
  1377. return ele;
  1378. })
  1379. }
  1380. if (this.name == '紫金财险') {
  1381. let Zijinres = await this.$http.post('/order/zijin/queryClauseData', param);
  1382. this.ziJinengageListData = Zijinres.data;
  1383. let data = this.ziJinengageListData.find(val => val.optType == 3)
  1384. if (data) {
  1385. this.ziJinengageList.push({
  1386. clauseCode: data.clauseCode,
  1387. clauseName: data.clauseName,
  1388. clauses: data.clauseContent,
  1389. riskCode: data.riskCode,
  1390. modifyFlag: data.modifyFlag,
  1391. optType: data.optType,
  1392. })
  1393. }
  1394. }
  1395. if (this.name == '华泰财险') {
  1396. let huaTaires = await this.$http.post('/order/huaTaiApi/queryClauseData', param);
  1397. this.huaTaiengageListData = huaTaires.data;
  1398. huaTaires.data.map(val => {
  1399. if (val.optType == '2') {
  1400. this.huaTaiengageList.push({
  1401. engageCode: val.engageCode,
  1402. engageDetail: val.engageDetail,
  1403. engageTitle: val.engageTitle,
  1404. riskCode: val.riskCode,
  1405. modifyFlag: val.modifyFlag,
  1406. })
  1407. }
  1408. })
  1409. }
  1410. } else {
  1411. uni.showModal({
  1412. showCancel: false,
  1413. title: "未查询到该订单"
  1414. })
  1415. }
  1416. if (this.orderstatus == '3') {
  1417. uni.setNavigationBarTitle({
  1418. title: "订单详情"
  1419. })
  1420. }
  1421. },
  1422. methods: {
  1423. ...mapMutations(['setOrderStage', 'setOrderType']),
  1424. //字典name匹配
  1425. dictionaryMatching(list, value) {
  1426. let obj = list.find(val => val.dictValue == value);
  1427. return obj.dictTag;
  1428. },
  1429. async getDicType(type) {
  1430. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  1431. if (res.code == 200) {
  1432. this[type + 'options'] = res.data.ddList;
  1433. // if (type == "trafficManagementVehicleType") {
  1434. //
  1435. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  1436. // this
  1437. // .carInfo
  1438. // .cimodelclass)
  1439. // }
  1440. }
  1441. },
  1442. ziJincontributingChange(param) {
  1443. this.ziJinengageList = [];
  1444. param.map(val => {
  1445. let list = this.ziJinengageListData.find(item => item.clauseId == val)
  1446. this.ziJinengageList.push({
  1447. clauseCode: list.clauseCode,
  1448. clauseName: list.clauseName,
  1449. clauses: list.clauseContent,
  1450. riskCode: list.riskCode,
  1451. modifyFlag: list.modifyFlag,
  1452. })
  1453. })
  1454. },
  1455. huaTaicontributingChange(param) {
  1456. this.huaTaiengageList = [];
  1457. param.map(val => {
  1458. let list = this.huaTaiengageListData.find(item => item.engageCode == val)
  1459. this.huaTaiengageList.push({
  1460. engageCode: list.engageCode,
  1461. engageDetail: list.engageDetail,
  1462. engageTitle: list.engageTitle,
  1463. riskCode: list.riskCode,
  1464. modifyFlag: list.modifyFlag,
  1465. })
  1466. })
  1467. },
  1468. //阅读并同意协议
  1469. agreed(e) {
  1470. this.agree = e.value;
  1471. },
  1472. toCarInfo() {
  1473. this.navigate({
  1474. url: '/pages/carInsure/Information',
  1475. success: (res) => {
  1476. res.eventChannel.emit(
  1477. "acceptData", {
  1478. carInfo: this
  1479. .carInfo,
  1480. ownerInfo: this
  1481. .ownerInfo,
  1482. policyHolderInfo: this
  1483. .policyHolderInfo,
  1484. insuredPersonInfo: this
  1485. .insuredPersonInfo,
  1486. riskList: this
  1487. .riskList,
  1488. kindList: this
  1489. .kindList,
  1490. carInfoPositiveList: this
  1491. .carInfoPositiveList, //车辆
  1492. ownerInfoPositiveList: this
  1493. .ownerInfoPositiveList, //车主
  1494. policyHolderInfoPositiveList: this
  1495. .policyHolderInfoPositiveList, //投保
  1496. insuredPersonInfoPositiveList: this
  1497. .insuredPersonInfoPositiveList, //被保人
  1498. })
  1499. }
  1500. }, "navigateTo", true);
  1501. },
  1502. //去选择险种页面
  1503. toInsureItems() {
  1504. console.log();
  1505. this.navigate({
  1506. url: '/pages/carInsure/insureItems',
  1507. success: (res) => {
  1508. res.eventChannel.emit("acceptData", {
  1509. carInfo: this.carInfo,
  1510. ownerInfo: this.ownerInfo,
  1511. policyHolderInfo: this.policyHolderInfo,
  1512. insuredPersonInfo: this.insuredPersonInfo,
  1513. riskList: this.riskList,
  1514. kindList: this.kindList
  1515. })
  1516. }
  1517. }, "navigateTo", true);
  1518. },
  1519. //删除图片
  1520. delCheckImage(param, IdList, srcList) {
  1521. this[IdList].map((ele, index) => {
  1522. if (param.imageId === ele.imageId) {
  1523. this[IdList].splice(index, 1);
  1524. }
  1525. return ele;
  1526. });
  1527. this[srcList].map((ele, index) => {
  1528. if (param.imageId === ele.imageId) {
  1529. this[srcList].splice(index, 1);
  1530. }
  1531. return ele;
  1532. });
  1533. },
  1534. //影像查询
  1535. async imageEcho(quotenos) {
  1536. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1537. if (imgres.code == "200") {
  1538. Object.keys(imgres.data).forEach((keys) => {
  1539. if (imgres.data[keys].url) {
  1540. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1541. switch (keys) {
  1542. case 'C01':
  1543. this.carImageListId.push({
  1544. imageId: imgres.data[keys].imageId,
  1545. imageType: imgres.data[keys].imageType,
  1546. })
  1547. this.imgList1.push(imgres.data[keys]);
  1548. break;
  1549. case 'D01':
  1550. this.carImageListId.push({
  1551. imageId: imgres.data[keys].imageId,
  1552. imageType: imgres.data[keys].imageType,
  1553. })
  1554. this.imgList2.push(imgres.data[keys]);
  1555. break;
  1556. case 'C02':
  1557. this.ownerImageListId.push({
  1558. imageId: imgres.data[keys].imageId,
  1559. imageType: imgres.data[keys].imageType,
  1560. })
  1561. this.imgList3.push(imgres.data[keys]);
  1562. break;
  1563. case 'D02':
  1564. this.ownerImageListId.push({
  1565. imageId: imgres.data[keys].imageId,
  1566. imageType: imgres.data[keys].imageType,
  1567. })
  1568. this.imgList4.push(imgres.data[keys]);
  1569. break;
  1570. case 'C03':
  1571. this.policyImageListId.push({
  1572. imageId: imgres.data[keys].imageId,
  1573. imageType: imgres.data[keys].imageType,
  1574. })
  1575. this.imgList5.push(imgres.data[keys]);
  1576. break;
  1577. case 'D03':
  1578. this.policyImageListId.push({
  1579. imageId: imgres.data[keys].imageId,
  1580. imageType: imgres.data[keys].imageType,
  1581. })
  1582. this.imgList6.push(imgres.data[keys]);
  1583. break;
  1584. case 'C04':
  1585. this.insuredImageListId.push({
  1586. imageId: imgres.data[keys].imageId,
  1587. imageType: imgres.data[keys].imageType,
  1588. })
  1589. this.imgList7.push(imgres.data[keys]);
  1590. break;
  1591. case 'D04':
  1592. this.insuredImageListId.push({
  1593. imageId: imgres.data[keys].imageId,
  1594. imageType: imgres.data[keys].imageType,
  1595. })
  1596. this.imgList8.push(imgres.data[keys]);
  1597. break;
  1598. default:
  1599. break;
  1600. }
  1601. }
  1602. });
  1603. }
  1604. },
  1605. async uploadRetry() {
  1606. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  1607. .policyImageListId, ...this.insuredImageListId, ...this
  1608. .imgRelationshipid
  1609. ];
  1610. if (mergedArray.length > 0) {
  1611. await this.$http.post('/ins/taskImage/uploadImages', {
  1612. imageList: mergedArray,
  1613. quoteNo: this.quoteno,
  1614. })
  1615. }
  1616. },
  1617. // 上传影像并提交核保
  1618. async submitAudit() {
  1619. // if (!this.agree) {
  1620. // return uni.showToast({
  1621. // title: '请阅读并同意协议',
  1622. // icon: "none",
  1623. // duration: 2000
  1624. // });
  1625. // }
  1626. this.auditNextShow = true;
  1627. },
  1628. async chooseImage(type, imageIdList, imgurl) {
  1629. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  1630. count: 1,
  1631. sizeType: ['compressed']
  1632. });
  1633. chooseImageRes.tempFilePaths.map((ele, index) => {
  1634. uni.uploadFile({
  1635. url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  1636. filePath: ele,
  1637. name: "multipartFile",
  1638. formData: {
  1639. 'type': 'image',
  1640. },
  1641. header: {
  1642. Authorization: this.token,
  1643. },
  1644. success: async (imgRes) => {
  1645. let data = JSON.parse(imgRes.data);
  1646. data.data.url = this.$base.baseUrl + data.data.url;
  1647. if (data.code == "200") {
  1648. console.log()
  1649. if (this[imageIdList].some(v => v.imageType == type)) {
  1650. this[imageIdList].map(val => {
  1651. if (val.imageType == type) {
  1652. val.imageId = data.data.id;
  1653. }
  1654. })
  1655. } else {
  1656. this[imageIdList].push({
  1657. imageId: data.data.id,
  1658. imageType: type,
  1659. })
  1660. }
  1661. this[imgurl].push(data.data)
  1662. this.modificationFlag = true;
  1663. }
  1664. }
  1665. });
  1666. })
  1667. },
  1668. //影像预览
  1669. previewImage(e, type) {
  1670. this.previewImgs = this[type];
  1671. var current = e.currentTarget.dataset.src;
  1672. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1673. },
  1674. //查询电子保单
  1675. async yonganprint() {
  1676. this.policyList = [];
  1677. this.policyList1 = [];
  1678. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1679. companyId: this.companyId,
  1680. policytype: "jq"
  1681. }); //永安
  1682. if (res.data) {
  1683. let result = res.data.replace(/[\r\n]/g, "");
  1684. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1685. base64ToPath(pdfBase64)
  1686. .then(path => {
  1687. this.policyList.push({
  1688. fileTitle: "交强电子保单",
  1689. filename: this.orderInfo.jqpolicyno,
  1690. fileurl: path,
  1691. })
  1692. })
  1693. }
  1694. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1695. companyId: this.companyId,
  1696. policytype: "jq"
  1697. }); //永安
  1698. if (res1.data) {
  1699. let result = res1.data.replace(/[\r\n]/g, "");
  1700. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1701. base64ToPath(pdfBase64)
  1702. .then(path => {
  1703. this.policyList1.push({
  1704. fileTitle: "交强电子标志",
  1705. filename: this.orderInfo.jqpolicyno,
  1706. fileurl: path,
  1707. })
  1708. })
  1709. }
  1710. if (this.orderInfo.sypolicyno) {
  1711. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1712. companyId: this.companyId,
  1713. policytype: "sy"
  1714. }); //永安
  1715. if (res2.data) {
  1716. let result = res1.data.replace(/[\r\n]/g, "");
  1717. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1718. base64ToPath(pdfBase64)
  1719. .then(path => {
  1720. this.policyList.push({
  1721. fileTitle: "商业电子保单",
  1722. filename: this.orderInfo.sypolicyno,
  1723. fileurl: path,
  1724. })
  1725. })
  1726. }
  1727. }
  1728. },
  1729. async zhongMeigetPolicyPrint() {
  1730. this.policyList = [];
  1731. this.policyList1 = [];
  1732. if (this.orderInfo.jqpolicyno) {
  1733. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1734. companyId: this.companyId,
  1735. riskCode: "0507",
  1736. type: '2', //2:保单
  1737. });
  1738. if (res.code == '200') {
  1739. this.policyList.push({
  1740. fileTitle: "交强电子保单",
  1741. filename: this.orderInfo.jqpolicyno,
  1742. fileurl: res.data[0],
  1743. })
  1744. }
  1745. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1746. companyId: this.companyId,
  1747. riskCode: "0507",
  1748. type: '1', //1:标志
  1749. });
  1750. if (res1.code == '200') {
  1751. this.policyList1.push({
  1752. fileTitle: "交强电子标志",
  1753. filename: this.orderInfo.jqpolicyno,
  1754. fileurl: res1.data[0],
  1755. })
  1756. }
  1757. }
  1758. if (this.orderInfo.sypolicyno) {
  1759. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1760. companyId: this.companyId,
  1761. riskCode: "0510",
  1762. type: '2', //2:标志
  1763. });
  1764. if (res.code == '200') {
  1765. this.policyList.push({
  1766. fileTitle: "商业电子保单",
  1767. filename: this.orderInfo.sypolicyno,
  1768. fileurl: res.data[0],
  1769. })
  1770. }
  1771. }
  1772. },
  1773. async yongChenggetPolicyPrint() {
  1774. this.policyList = [];
  1775. this.policyList1 = [];
  1776. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1777. companyId: this.companyId,
  1778. riskCode: "0507",
  1779. type: '2', //2:保单
  1780. }); //永诚财险
  1781. if (res.code == '200') {
  1782. this.policyList.push({
  1783. fileTitle: "交强电子保单",
  1784. filename: this.orderInfo.jqpolicyno,
  1785. fileurl: res.data.jqUrl,
  1786. })
  1787. if (res.data.jqFlagUrl) {
  1788. this.policyList1.push({
  1789. fileTitle: "交强电子标志",
  1790. filename: this.orderInfo.jqpolicyno,
  1791. fileurl: res.data.jqFlagUrl,
  1792. })
  1793. }
  1794. }
  1795. if (this.orderInfo.sypolicyno) {
  1796. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1797. companyId: this.companyId,
  1798. riskCode: "0510",
  1799. type: '2', //2:保单
  1800. }); //永诚财险
  1801. if (res.code == '200') {
  1802. this.policyList.push({
  1803. fileTitle: "商业电子保单",
  1804. filename: this.orderInfo.sypolicyno,
  1805. fileurl: res.data.syUrl,
  1806. });
  1807. }
  1808. }
  1809. if (this.orderInfo.crossInsurance.length > 0) {
  1810. this.orderInfo.crossInsurance.map(async ele => {
  1811. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1812. companyId: this.companyId,
  1813. policyNumber: ele.policyNumber,
  1814. riskCode: "0513",
  1815. type: '2', //2:保单
  1816. });
  1817. if (res.code == '200') {
  1818. this.policyList.push({
  1819. fileTitle: "驾意险保单",
  1820. filename: ele.policyNumber,
  1821. fileurl: res.data.jyUrl,
  1822. })
  1823. }
  1824. })
  1825. }
  1826. },
  1827. //爬虫电子保单统一调用
  1828. async pythonprint() {
  1829. if (this.orderInfo.jqpolicyno) {
  1830. let params = {
  1831. subOrderNo: this.companyId,
  1832. };
  1833. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1834. if (res1.code == '200') {
  1835. this.policyList = [];
  1836. this.policyList1 = [];
  1837. this.policyList.push({
  1838. fileTitle: "交强电子保单",
  1839. filename: this.orderInfo.jqpolicyno,
  1840. fileurl: res1.data.jqxPolicyUrl,
  1841. })
  1842. this.policyList1.push({
  1843. fileTitle: "交强电子标志",
  1844. filename: this.orderInfo.jqpolicyno,
  1845. fileurl: res1.data.jqxFlagUrl,
  1846. })
  1847. if (res1.data.syxPolicyUrl) {
  1848. this.policyList.push({
  1849. fileTitle: "商业电子保单",
  1850. filename: this.orderInfo.sypolicyno,
  1851. fileurl: res1.data.syxPolicyUrl,
  1852. });
  1853. }
  1854. if (res1.data.jyxInfoList.length > 0) {
  1855. res1.data.jyxInfoList.map(ele => {
  1856. this.policyList.push({
  1857. fileTitle: "驾意险保单",
  1858. filename: ele.application,
  1859. fileurl: ele.jyx_policy_url,
  1860. });
  1861. return ele;
  1862. })
  1863. }
  1864. }
  1865. }
  1866. },
  1867. async ziJingetPolicyPrint() {
  1868. this.policyList = [];
  1869. this.policyList1 = [];
  1870. if (this.orderInfo.jqpolicyno) {
  1871. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1872. companyId: this.companyId,
  1873. riskCode: "0507",
  1874. type: '2', //2:保单
  1875. });
  1876. if (res.code == '200') {
  1877. this.policyList.push({
  1878. fileTitle: "交强电子保单",
  1879. filename: this.orderInfo.jqpolicyno,
  1880. fileurl: res.data,
  1881. })
  1882. }
  1883. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1884. companyId: this.companyId,
  1885. riskCode: "0507",
  1886. type: '1', //1:标志
  1887. });
  1888. if (res1.code == '200') {
  1889. this.policyList1.push({
  1890. fileTitle: "交强电子标志",
  1891. filename: this.orderInfo.jqpolicyno,
  1892. fileurl: res1.data,
  1893. })
  1894. }
  1895. }
  1896. if (this.orderInfo.sypolicyno) {
  1897. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1898. companyId: this.companyId,
  1899. riskCode: "0510",
  1900. type: '2', //2:标志
  1901. });
  1902. if (res.code == '200') {
  1903. this.policyList.push({
  1904. fileTitle: "商业电子保单",
  1905. filename: this.orderInfo.sypolicyno,
  1906. fileurl: res.data,
  1907. })
  1908. }
  1909. }
  1910. if (this.orderInfo.crossInsurance.length > 0) {
  1911. this.orderInfo.crossInsurance.map(async ele => {
  1912. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1913. companyId: this.companyId,
  1914. policyNumber: ele.policyNumber,
  1915. riskCode: "0513",
  1916. type: '2', //2:保单
  1917. });
  1918. if (res.code == '200') {
  1919. this.policyList.push({
  1920. fileTitle: "驾意险保单",
  1921. filename: ele.policyNumber,
  1922. fileurl: res.data,
  1923. })
  1924. }
  1925. })
  1926. }
  1927. },
  1928. async daJiagetPolicyPrint() {
  1929. this.policyList = [];
  1930. this.policyList1 = [];
  1931. if (this.orderInfo.jqpolicyno) {
  1932. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  1933. companyId: this.companyId,
  1934. riskCode: "0507",
  1935. type: '2', //2:保单
  1936. });
  1937. if (res.code == '200') {
  1938. this.policyList.push({
  1939. fileTitle: "交强电子保单",
  1940. filename: this.orderInfo.jqpolicyno,
  1941. fileurl: res.data,
  1942. })
  1943. }
  1944. let res1 = await this.$http.post('/api/dajia/obtainWarranty', {
  1945. companyId: this.companyId,
  1946. riskCode: "0507",
  1947. type: '1', //1:标志
  1948. });
  1949. if (res1.code == '200') {
  1950. this.policyList1.push({
  1951. fileTitle: "交强电子标志",
  1952. filename: this.orderInfo.jqpolicyno,
  1953. fileurl: res1.data,
  1954. })
  1955. }
  1956. if (this.orderInfo.sypolicyno) {
  1957. let res = await this.$http.post('/api/dajia/obtainWarranty', {
  1958. companyId: this.companyId,
  1959. riskCode: "0510",
  1960. type: '2', //2:标志
  1961. });
  1962. if (res.code == '200') {
  1963. this.policyList.push({
  1964. fileTitle: "商业电子保单",
  1965. filename: this.orderInfo.sypolicyno,
  1966. fileurl: res.data,
  1967. })
  1968. }
  1969. }
  1970. }
  1971. },
  1972. async huaTaigetPolicyPrint() {
  1973. let apiType = this.orderInfo.apiType;
  1974. switch (apiType) {
  1975. case 1:
  1976. if (this.orderInfo.jqpolicyno) {
  1977. let res = await this.$http.post('/order/huaTaiApi/getPolicyPrint', {
  1978. companyId: this.companyId,
  1979. riskCode: "0507",
  1980. });
  1981. if (res.code == '200') {
  1982. this.policyList = [];
  1983. this.policyList1 = [];
  1984. this.policyList.push({
  1985. fileTitle: "交强电子保单",
  1986. filename: this.orderInfo.jqpolicyno,
  1987. fileurl: res.data.jqxPolicyUrl,
  1988. })
  1989. this.policyList1.push({
  1990. fileTitle: "交强电子标志",
  1991. filename: this.orderInfo.jqpolicyno,
  1992. fileurl: res.data.jqxFlagUrl,
  1993. })
  1994. if (res.data.syxPolicyUrl) {
  1995. this.policyList.push({
  1996. fileTitle: "商业电子保单",
  1997. filename: this.orderInfo.sypolicyno,
  1998. fileurl: res.data.syxPolicyUrl,
  1999. });
  2000. }
  2001. }
  2002. }
  2003. break;
  2004. case 2:
  2005. if (this.orderInfo.jqpolicyno) {
  2006. let params = {
  2007. subOrderNo: this.companyId,
  2008. };
  2009. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  2010. if (res1.code == '200') {
  2011. this.policyList = [];
  2012. this.policyList1 = [];
  2013. this.policyList.push({
  2014. fileTitle: "交强电子保单",
  2015. filename: this.orderInfo.jqpolicyno,
  2016. fileurl: res1.data.jqxPolicyUrl,
  2017. })
  2018. this.policyList1.push({
  2019. fileTitle: "交强电子标志",
  2020. filename: this.orderInfo.jqpolicyno,
  2021. fileurl: res1.data.jqxFlagUrl,
  2022. })
  2023. if (res1.data.syxPolicyUrl) {
  2024. this.policyList.push({
  2025. fileTitle: "商业电子保单",
  2026. filename: this.orderInfo.sypolicyno,
  2027. fileurl: res1.data.syxPolicyUrl,
  2028. });
  2029. }
  2030. if (res1.data.jyxInfoList.length > 0) {
  2031. res1.data.jyxInfoList.map(ele => {
  2032. this.policyList.push({
  2033. fileTitle: "驾意险保单",
  2034. filename: ele.application,
  2035. fileurl: ele.jyx_policy_url,
  2036. });
  2037. return ele;
  2038. })
  2039. }
  2040. }
  2041. }
  2042. break;
  2043. }
  2044. },
  2045. async guoRengetPolicyPrint() {
  2046. this.policyList = [];
  2047. this.policyList1 = [];
  2048. if (this.orderInfo.jqpolicyno) {
  2049. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2050. companyId: this.companyId,
  2051. riskCode: "0507",
  2052. type: '2', //2:保单
  2053. });
  2054. if (res.code == '200') {
  2055. this.policyList.push({
  2056. fileTitle: "交强电子保单",
  2057. filename: this.orderInfo.jqpolicyno,
  2058. fileurl: res.data,
  2059. })
  2060. }
  2061. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  2062. companyId: this.companyId,
  2063. riskCode: "0507",
  2064. type: '1', //1:标志
  2065. });
  2066. if (res1.code == '200') {
  2067. this.policyList1.push({
  2068. fileTitle: "交强电子标志",
  2069. filename: this.orderInfo.jqpolicyno,
  2070. fileurl: res1.data,
  2071. })
  2072. }
  2073. }
  2074. if (this.orderInfo.sypolicyno) {
  2075. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2076. companyId: this.companyId,
  2077. riskCode: "0510",
  2078. type: '2', //2:标志
  2079. });
  2080. if (res.code == '200') {
  2081. this.policyList.push({
  2082. fileTitle: "商业电子保单",
  2083. filename: this.orderInfo.sypolicyno,
  2084. fileurl: res.data,
  2085. })
  2086. }
  2087. }
  2088. if (this.orderInfo.crossInsurance.length > 0) {
  2089. this.orderInfo.crossInsurance.map(async ele => {
  2090. let res = await this.$http.post('/api/guoRen/policyPrint', {
  2091. companyId: this.companyId,
  2092. policyNumber: ele.policyNumber,
  2093. riskCode: "0513",
  2094. type: '2', //2:保单
  2095. });
  2096. if (res.code == '200') {
  2097. this.policyList.push({
  2098. fileTitle: "驾意险保单",
  2099. filename: ele.policyNumber,
  2100. fileurl: res.data,
  2101. })
  2102. }
  2103. })
  2104. }
  2105. },
  2106. downloadPolicy(file) {
  2107. //#ifdef APP-PLUS
  2108. uni.showLoading({
  2109. title: '文件下载中'
  2110. });
  2111. let index = file.lastIndexOf("\/")
  2112. let licensename = file.substring(index + 1, file.length)
  2113. let dtask = plus.downloader.createDownload(file, {
  2114. filename: "_downloads/" + this.name + '-' + this.insuredPersonInfo.name + '-' + licensename
  2115. }, function(d, status) {
  2116. if (status == 200) {
  2117. uni.hideLoading()
  2118. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  2119. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  2120. plus.runtime.openFile(d.filename); //选择软件打开文件
  2121. } else {
  2122. uni.hideLoading()
  2123. //下载失败
  2124. plus.downloader.clear(); //清除下载任务
  2125. }
  2126. })
  2127. dtask.start();
  2128. //#endif
  2129. //#ifdef H5
  2130. var win = window.open();
  2131. win.document.write(
  2132. '<body style="margin:0px;"><object data="' +
  2133. file +
  2134. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  2135. file +
  2136. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  2137. );
  2138. //#endif
  2139. },
  2140. //选择缴费方式
  2141. openPayWay() {
  2142. this.navigate({
  2143. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  2144. }, 'navigateTo', true)
  2145. },
  2146. cancelShare() {
  2147. this.$refs.showshare.close()
  2148. },
  2149. //控制详情的展开和收起
  2150. controlShow(type) {
  2151. this[type] = !this[type];
  2152. },
  2153. //撤销核保
  2154. cancelUnderwriting() {
  2155. uni.showModal({
  2156. content: '是否确认撤销核保?',
  2157. success: async (res) => {
  2158. if (res.confirm) {
  2159. let param = {
  2160. "auditid": this.userInfo.sysUser.id, //核保人会员号
  2161. "auditopinion": '', //核保意见
  2162. "jqapplyno": "", //交强险投保单号
  2163. "jqappoint": "", //交强特别约定
  2164. "jqpolicyno": "", //交强保单号
  2165. "orderno": this.orderno, //订单号
  2166. "orderstatus": "0", //订单类型
  2167. "syapplyno": "", //商业险投保单号
  2168. "syappoint": "", //商业险特别约定
  2169. "sypolicyno": "" //商业保单号
  2170. }
  2171. let res = await this.$http.post('/insOrder/saveAudit', param);
  2172. uni.showToast({
  2173. title: '撤销成功',
  2174. icon: "none",
  2175. duration: 2000
  2176. });
  2177. setTimeout(() => {
  2178. this.setOrderStage(0);
  2179. this.setOrderType(0);
  2180. this.navigate({
  2181. url: "/pages/orders/orders"
  2182. }, "switchTab", true);
  2183. }, 2000);
  2184. } else if (res.cancel) {
  2185. console.log('用户点击取消');
  2186. }
  2187. }
  2188. });
  2189. },
  2190. toChinesNum(num) {
  2191. let overWan = Math.floor(num / 10000);
  2192. let result = overWan + "万";
  2193. return result;
  2194. },
  2195. }
  2196. }
  2197. </script>
  2198. <style lang="scss" scoped>
  2199. @import '@/style/mixin.scss';
  2200. .page {
  2201. background: #F8FAFE;
  2202. padding: 0 16px 100px 16px;
  2203. }
  2204. .headers {
  2205. padding: 16px 16px 0 16px;
  2206. position: relative;
  2207. .price {
  2208. width: 100%;
  2209. height: 40px;
  2210. background: #FFFFFF;
  2211. border-radius: 6px 6px 0px 0px;
  2212. }
  2213. }
  2214. .header {
  2215. height: 80upx;
  2216. position: relative;
  2217. }
  2218. .header .title {
  2219. font-size: 30upx;
  2220. font-weight: bold;
  2221. }
  2222. .welfare {
  2223. margin-bottom: 20upx;
  2224. width: 100%;
  2225. box-sizing: border-box;
  2226. background: #FFFFFF;
  2227. border-radius: 20upx;
  2228. }
  2229. .welfare .body {
  2230. padding: 0 30upx 30upx;
  2231. box-sizing: border-box;
  2232. flex-wrap: wrap;
  2233. }
  2234. .welfare .body>.welfareItem {
  2235. width: 320upx;
  2236. height: 120upx;
  2237. padding: 10upx 20upx;
  2238. margin: 20upx 10upx 0upx;
  2239. border: 1px solid rgba($themeColor, 0.6);
  2240. box-sizing: border-box;
  2241. background: rgba($themeColor, 0.4);
  2242. border-radius: 10upx;
  2243. }
  2244. .welfare .body>.welfareItem .name {
  2245. color: $themeColor;
  2246. font-size: 30upx;
  2247. width: 210upx;
  2248. overflow: hidden;
  2249. text-overflow: ellipsis;
  2250. white-space: nowrap;
  2251. }
  2252. .welfare .body>.welfareItem .content {
  2253. font-size: 24upx;
  2254. width: 260upx;
  2255. overflow: hidden;
  2256. text-overflow: ellipsis;
  2257. white-space: nowrap;
  2258. }
  2259. /* 报价方案Start */
  2260. .quotePlan {
  2261. margin-bottom: 20upx;
  2262. width: 100%;
  2263. position: relative;
  2264. }
  2265. .quotePlan .header .adjustPlan {
  2266. color: $themeColor;
  2267. }
  2268. .kindList {
  2269. background-color: #F9F9F9;
  2270. padding: 10px;
  2271. height: auto;
  2272. width: 100%;
  2273. border-radius: 10px;
  2274. font-size: 13px;
  2275. color: rgba(35, 40, 50, 0.8);
  2276. }
  2277. .quotePlan .body .insurance {
  2278. padding-bottom: 20upx;
  2279. }
  2280. .quotePlan .body .row {
  2281. padding: 5px;
  2282. border-bottom: 1px solid #F3F3F3;
  2283. }
  2284. .quotePlan .body .row:last-child {
  2285. border: none;
  2286. }
  2287. .quotePlan .body .row .date {
  2288. color: #A4A4A4;
  2289. font-size: 22upx;
  2290. }
  2291. .quotePlan .body .insurance .kindList {
  2292. background: #F3F3F3;
  2293. padding: 0 10upx;
  2294. }
  2295. .addedServices .kindList {
  2296. background: #F3F3F3;
  2297. padding: 0 10upx;
  2298. }
  2299. .quotePlan .body .insurance .kindList .kindItem {
  2300. padding: 2px 0;
  2301. }
  2302. .quotePlan .body .insurance .kindList .kindItem>view {
  2303. font-size: 24upx;
  2304. }
  2305. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  2306. width: 310upx;
  2307. }
  2308. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  2309. width: 170upx;
  2310. }
  2311. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  2312. width: 170upx;
  2313. }
  2314. .addedServices .kindList .kindItem {
  2315. height: 65upx;
  2316. }
  2317. .addedServices .kindList .kindItem>view {
  2318. font-size: 24upx;
  2319. padding: 0upx 15upx;
  2320. }
  2321. /* 报价方案End */
  2322. .car {
  2323. width: 100%;
  2324. padding: 0upx 10px 0;
  2325. background-color: #fff;
  2326. border-radius: 6px;
  2327. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2328. margin-top: 10px;
  2329. position: relative;
  2330. .body {
  2331. .row {
  2332. padding: 5px;
  2333. border-bottom: 1px solid #F3F3F3;
  2334. }
  2335. .row:last-child {
  2336. border: none;
  2337. }
  2338. }
  2339. }
  2340. /* 预缴费Start */
  2341. .advancePaymentTotal {
  2342. margin-bottom: 20upx;
  2343. width: 100%;
  2344. box-sizing: border-box;
  2345. background: #FFFFFF;
  2346. border-radius: 20upx;
  2347. }
  2348. .advancePaymentTotal .body {
  2349. padding: 0upx 40upx 10upx;
  2350. }
  2351. .advancePaymentTotal .body .row {
  2352. height: 80upx;
  2353. border-bottom: 1px solid #F3F3F3;
  2354. }
  2355. /* 预缴费End */
  2356. /* 底部按钮Start */
  2357. .bottomBtn {
  2358. position: fixed;
  2359. bottom: 0;
  2360. left: 0;
  2361. right: 0;
  2362. height: auto;
  2363. z-index: 999;
  2364. background-color: #fff;
  2365. .agree {
  2366. padding: 4px 8px;
  2367. font-size: 22rpx;
  2368. color: #858585;
  2369. .tip {
  2370. color: #FF5600;
  2371. margin: 0upx 10upx;
  2372. }
  2373. }
  2374. .btnView {
  2375. width: 100%;
  2376. height: 38px;
  2377. background-color: #fff;
  2378. .btn {
  2379. height: 100%;
  2380. }
  2381. .btn:nth-child(1) {
  2382. width: 50%;
  2383. background-color: #E6EEFF;
  2384. color: #0052FF;
  2385. padding: 8px;
  2386. font-size: 13px;
  2387. }
  2388. .btn:nth-child(2) {
  2389. width: 50%;
  2390. color: #fff;
  2391. background-color: #0038AF;
  2392. font-weight: bold;
  2393. }
  2394. }
  2395. }
  2396. .tool {
  2397. padding: 10px;
  2398. view {
  2399. width: 100%;
  2400. padding: 8px 0;
  2401. border-bottom: 1px solid #f2f2f2;
  2402. font-size: 14px;
  2403. color: #232832;
  2404. }
  2405. }
  2406. .cancell {
  2407. width: 100%;
  2408. height: 46px;
  2409. background-color: #E6EEFF;
  2410. font-size: 16px;
  2411. color: #0052FF;
  2412. }
  2413. /* 底部按钮End */
  2414. .contributing {
  2415. width: 100%;
  2416. margin: 4px 0;
  2417. font-size: 14px;
  2418. text:nth-child(1) {
  2419. font-weight: bold;
  2420. color: #ff9000;
  2421. }
  2422. }
  2423. /* 人员信息Start */
  2424. .personInfo,
  2425. .advancePayment,
  2426. .imageInfo,
  2427. .appoint {}
  2428. .personInfo,
  2429. .advancePayment,
  2430. .imageInfo,
  2431. .appoint {
  2432. .title {
  2433. height: 80upx;
  2434. font-size: 15px;
  2435. box-shadow: inset 0 -3upx 0px #fafafa;
  2436. }
  2437. .content {
  2438. padding: 0px 5px 0;
  2439. background-color: #fff;
  2440. border-radius: 6px;
  2441. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2442. }
  2443. .uni-uploader {
  2444. padding: 8px;
  2445. background-color: #fff;
  2446. border-radius: 6px;
  2447. height: auto;
  2448. box-shadow: 0px 4px 10px 0px #DAE3F4;
  2449. }
  2450. }
  2451. .uni-uploader__file {
  2452. position: relative;
  2453. }
  2454. .delImgIcon {
  2455. width: 40upx;
  2456. height: 40upx;
  2457. position: absolute;
  2458. right: 0upx;
  2459. top: 0upx;
  2460. color: #FFFFFF;
  2461. }
  2462. .showStatus {
  2463. font-size: 26upx;
  2464. color: #007AFF;
  2465. }
  2466. .personInfo .content .row,
  2467. .advancePayment .content .row {
  2468. height: 80upx;
  2469. border-bottom: 1px solid #F9F9F9;
  2470. flex-wrap: nowrap;
  2471. }
  2472. .personInfo .content .row .left,
  2473. .advancePayment .content .row .left {
  2474. width: 170upx;
  2475. flex-shrink: 0;
  2476. font-size: 28upx;
  2477. }
  2478. .appoint .content .row {
  2479. height: auto;
  2480. margin-top: 10upx;
  2481. }
  2482. .appoint .content .row>view {
  2483. width: 240upx;
  2484. flex-shrink: 1;
  2485. font-size: 28upx;
  2486. }
  2487. .appoint .content .row>textarea {
  2488. /* background: #007AFF; */
  2489. padding: 15upx;
  2490. box-sizing: border-box;
  2491. font-size: 26upx;
  2492. min-height: 160upx;
  2493. height: 100upx;
  2494. border: 1px solid #fafafa;
  2495. /* over */
  2496. }
  2497. .personInfo .content .row .right,
  2498. .advancePayment .content .row .right,
  2499. .appoint .content .row .right {
  2500. font-size: 28upx;
  2501. }
  2502. /* 人员信息End */
  2503. .checkButton {
  2504. font-size: 14px;
  2505. color: #FF5600;
  2506. }
  2507. .uni-popup__wrapper-box {
  2508. display: block;
  2509. position: relative;
  2510. }
  2511. .uni-share {
  2512. display: flex;
  2513. flex-direction: column;
  2514. background-color: #fff;
  2515. position: fixed;
  2516. bottom: 0;
  2517. left: 0;
  2518. right: 0;
  2519. }
  2520. .uni-share-title {
  2521. line-height: 30px;
  2522. font-size: 12px;
  2523. padding: 7px 0;
  2524. text-align: center;
  2525. }
  2526. .uni-share-content {
  2527. display: flex;
  2528. flex-direction: row;
  2529. flex-wrap: wrap;
  2530. justify-content: center;
  2531. padding: 15px;
  2532. }
  2533. .uni-share-content-box {
  2534. display: flex;
  2535. flex-direction: column;
  2536. align-items: center;
  2537. width: 100px;
  2538. }
  2539. .uni-share-content-image {
  2540. display: flex;
  2541. flex-direction: row;
  2542. justify-content: center;
  2543. align-items: center;
  2544. width: 30px;
  2545. height: 30px;
  2546. overflow: hidden;
  2547. border-radius: 5px;
  2548. }
  2549. .uni-share-content-text {
  2550. font-size: 13px;
  2551. color: #333;
  2552. padding-top: 5px;
  2553. padding-bottom: 10px;
  2554. }
  2555. .uni-share-btn {
  2556. height: 45px;
  2557. line-height: 45px;
  2558. font-size: 14px;
  2559. border-top-color: #f5f5f5;
  2560. border-top-width: 1px;
  2561. border-top-style: solid;
  2562. text-align: center;
  2563. color: #666;
  2564. }
  2565. uni-image>img {
  2566. display: block;
  2567. position: absolute;
  2568. top: 0;
  2569. left: 0;
  2570. opacity: 0;
  2571. }
  2572. uni-image>div,
  2573. uni-image>img {
  2574. width: 100%;
  2575. height: 100%;
  2576. }
  2577. .Discount {
  2578. image {
  2579. width: 16px;
  2580. height: 16px;
  2581. }
  2582. text {
  2583. font-size: 12px;
  2584. color: #333333;
  2585. }
  2586. }
  2587. .costDetails {
  2588. width: 100%;
  2589. height: auto;
  2590. background: rgba(0, 82, 255, 0.05);
  2591. border-radius: 10px;
  2592. .text1 {
  2593. font-size: 22rpx;
  2594. }
  2595. .text2 {
  2596. font-size: 24rpx;
  2597. }
  2598. .text2-color {
  2599. color: rgba(0, 82, 255, 0.8);
  2600. }
  2601. }
  2602. /deep/ {
  2603. .u-th {
  2604. background-color: #F2F6FF;
  2605. }
  2606. }
  2607. </style>