detailsDialogPro.vue 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632
  1. <template>
  2. <el-dialog :visible.sync="dialogVisible" width="80%" class="details_style">
  3. <div slot="title" class="dialog-title details-title">
  4. <img src="../../../icon/归属信息.png" alt class="icon-img" />
  5. <span>车辆报价信息详情</span>
  6. </div>
  7. <div class="details-body flex">
  8. <div style="background-color: #fff">
  9. <ul class="tabLeft" ref="tabLeft">
  10. <li
  11. data-id="gsxx"
  12. :class="{ 'li-selected': selectedItem === 'gsxx' }"
  13. @click="selectItem('gsxx')"
  14. >
  15. 归属信息
  16. </li>
  17. <li
  18. data-id="clxx"
  19. :class="{ 'li-selected': selectedItem === 'clxx' }"
  20. @click="selectItem('clxx')"
  21. >
  22. 车辆信息
  23. </li>
  24. <li
  25. data-id="czxx"
  26. :class="{ 'li-selected': selectedItem === 'czxx' }"
  27. @click="selectItem('czxx')"
  28. >
  29. 车主信息
  30. </li>
  31. <li
  32. data-id="tbrxx"
  33. :class="{ 'li-selected': selectedItem === 'tbrxx' }"
  34. @click="selectItem('tbrxx')"
  35. >
  36. 投保人信息
  37. </li>
  38. <li
  39. data-id="bbrxx"
  40. :class="{ 'li-selected': selectedItem === 'bbrxx' }"
  41. @click="selectItem('bbrxx')"
  42. >
  43. 被保人信息
  44. </li>
  45. <li
  46. data-id="cjxx"
  47. :class="{ 'li-selected': selectedItem === 'cjxx' }"
  48. @click="selectItem('cjxx')"
  49. >
  50. 投保信息
  51. </li>
  52. <li
  53. data-id="qsxx"
  54. v-if="orderInfo.taxArrears && orderInfo.taxArrears.length > 0"
  55. :class="{ 'li-selected': selectedItem === 'qsxx' }"
  56. @click="selectItem('qsxx')"
  57. >
  58. 欠税信息
  59. </li>
  60. <li
  61. data-id="bfys"
  62. :class="{ 'li-selected': selectedItem === 'bfys' }"
  63. @click="selectItem('bfys')"
  64. >
  65. 保费因素
  66. </li>
  67. <li
  68. data-id="xzxx"
  69. v-if="orderInfo.kindinfo && orderInfo.kindinfo.length > 0"
  70. :class="{ 'li-selected': selectedItem === 'xzxx' }"
  71. @click="selectItem('xzxx')"
  72. >
  73. 险种信息
  74. </li>
  75. <li
  76. data-id="jyx"
  77. v-if="orderInfo.accidentInfo && orderInfo.accidentInfo.length > 0"
  78. :class="{ 'li-selected': selectedItem === 'jyx' }"
  79. @click="selectItem('jyx')"
  80. >
  81. 驾意险
  82. </li>
  83. <li
  84. data-id="yxzl"
  85. :class="{ 'li-selected': selectedItem === 'yxzl' }"
  86. @click="selectItem('yxzl')"
  87. v-if="Object.keys(obj).length != 0"
  88. >
  89. 影像资料
  90. </li>
  91. <li
  92. data-id="dzbd"
  93. v-if="orderInfo && orderInfo.orderstatus == 3"
  94. :class="{ 'li-selected': selectedItem === 'dzbd' }"
  95. @click="selectItem('dzbd')"
  96. >
  97. 保单信息
  98. </li>
  99. <li
  100. data-id="fymx"
  101. v-if="
  102. orderInfo.orderFeeResult && orderInfo.orderFeeResult.length > 0
  103. "
  104. :class="{ 'li-selected': selectedItem === 'fymx' }"
  105. @click="selectItem('fymx')"
  106. >
  107. 费用明细
  108. </li>
  109. <li
  110. data-id="jgglf"
  111. v-if="
  112. orderInfo.feeOrderNewVo &&
  113. orderInfo.feeOrderNewVo.deptManagerFee.length > 0
  114. "
  115. :class="{ 'li-selected': selectedItem === 'jgglf' }"
  116. @click="selectItem('jgglf')"
  117. >
  118. 机构管理费
  119. </li>
  120. <li
  121. data-id="fxmx1"
  122. v-if="
  123. orderInfo.feeOrderNewVo &&
  124. orderInfo.feeOrderNewVo.retailFee &&
  125. orderInfo.feeOrderNewVo.retailFee.length > 0
  126. "
  127. :class="{ 'li-selected': selectedItem === 'fxmx1' }"
  128. @click="selectItem('fxmx1')"
  129. >
  130. 分销明细
  131. </li>
  132. <li
  133. data-id="shyj"
  134. v-if="
  135. orderInfo && orderInfo.orderstatus == 4 && orderInfo.auditopinion
  136. "
  137. :class="{ 'li-selected': selectedItem === 'shyj' }"
  138. @click="selectItem('shyj')"
  139. >
  140. 审核意见
  141. </li>
  142. </ul>
  143. </div>
  144. <div
  145. style="
  146. margin: 20px;
  147. height: 60vh;
  148. overflow: hidden;
  149. overflow-x: auto;
  150. width: 100%;
  151. "
  152. >
  153. <ul class="fixedTop">
  154. <li>
  155. <div class="title">
  156. <div class="img">
  157. <img src="@/assets/image/detailsDialog_cph.png" alt="" />
  158. </div>
  159. <p>车牌号:</p>
  160. </div>
  161. <p>{{ orderInfo.licenseno }}</p>
  162. </li>
  163. <li>
  164. <div class="title">
  165. <div class="img">
  166. <img src="@/assets/image/detailsDialog_cph.png" alt="" />
  167. </div>
  168. <p>险种:</p>
  169. </div>
  170. <p>{{ orderInfo.product }}</p>
  171. </li>
  172. <li>
  173. <div class="title">
  174. <div class="img">
  175. <img src="@/assets/image/detailsDialog_cph.png" alt="" />
  176. </div>
  177. <p>录入来源:</p>
  178. </div>
  179. <p v-if="orderInfo.entryStatus == '1'">车险录入</p>
  180. <p v-if="orderInfo.entryStatus == '2'">代客录单</p>
  181. <p v-if="orderInfo.entryStatus == '3'">外部订单</p>
  182. </li>
  183. <li>
  184. <div class="title">
  185. <div class="img">
  186. <img src="@/assets/image/detailsDialog_gs.png" alt="" />
  187. </div>
  188. <p>保险公司:</p>
  189. </div>
  190. <p>{{ orderInfo.inscompany }}</p>
  191. </li>
  192. <li>
  193. <div class="title">
  194. <div class="img">
  195. <img src="@/assets/image/detailsDialog_cph.png" alt="" />
  196. </div>
  197. <p>协议:</p>
  198. </div>
  199. <p v-if="orderInfo.ptlAgreement">
  200. {{ orderInfo.ptlAgreement.agreementName
  201. }}{{ orderInfo.ptlAgreement.businessDescription
  202. }}{{ orderInfo.ptlAgreement.jobDescription }}
  203. </p>
  204. </li>
  205. <li>
  206. <div class="title">
  207. <div class="img">
  208. <img src="@/assets/image/detailsDialog_gs.png" alt="" />
  209. </div>
  210. <p>签单时间</p>
  211. </div>
  212. <p>{{ orderInfo.signingTime }}</p>
  213. </li>
  214. <li>
  215. <div class="title">
  216. <div class="img">
  217. <img src="@/assets/image/detailsDialog_gs.png" alt="" />
  218. </div>
  219. <p>支付时间</p>
  220. </div>
  221. <p>{{ orderInfo.payDate }}</p>
  222. </li>
  223. <li>
  224. <div class="title">
  225. <div class="img">
  226. <img src="@/assets/image/detailsDialog_ly.png" alt="" />
  227. </div>
  228. <p>业务来源:</p>
  229. </div>
  230. <p>{{ orderInfo.source }}</p>
  231. </li>
  232. </ul>
  233. <div class="content" @scroll="handleScroll">
  234. <OpenCloseBox id="gsxx">
  235. <span slot="title">归属信息</span>
  236. <div slot="boby">
  237. <el-row class="premium-style" :gutter="20">
  238. <el-col :span="6" v-if="orderInfo.province"
  239. ><span>归属机构省:</span>{{ orderInfo.province }}</el-col
  240. >
  241. <el-col :span="6" v-if="orderInfo.city"
  242. ><span>归属机构市:</span>{{ orderInfo.city }}</el-col
  243. >
  244. <el-col :span="6" v-if="orderInfo.prefecture"
  245. ><span>归属机构区:</span>{{ orderInfo.prefecture }}</el-col
  246. >
  247. </el-row>
  248. <el-row class="premium-style" :gutter="20">
  249. <el-col :span="6"
  250. ><span>本人工号:</span>{{ orderInfo.userid }}</el-col
  251. >
  252. <el-col :span="6"
  253. ><span>本人姓名:</span>{{ orderInfo.username }}</el-col
  254. >
  255. <el-col :span="6"
  256. ><span>联系方式:</span>{{ orderInfo.mobile }}</el-col
  257. >
  258. <el-col :span="6"
  259. ><span>性别:</span>{{ orderInfo.sex }}</el-col
  260. >
  261. </el-row>
  262. <el-row class="premium-style" :gutter="20">
  263. <el-col :span="6" v-if="orderInfo.referrerProvince"
  264. ><span>推荐人归属机构省:</span
  265. >{{ orderInfo.referrerProvince }}</el-col
  266. >
  267. <el-col :span="6" v-if="orderInfo.referrerCity"
  268. ><span>推荐人归属机构市:</span
  269. >{{ orderInfo.referrerCity }}</el-col
  270. >
  271. <el-col :span="6" v-if="orderInfo.referrerPrefecture"
  272. ><span>推荐人归属机构区:</span
  273. >{{ orderInfo.referrerPrefecture }}</el-col
  274. >
  275. </el-row>
  276. <el-row class="premium-style" :gutter="20">
  277. <!-- <el-col v-if="orderInfo.referrerDeptAreaInfo" :span="24"><span>推荐人归属机构:</span>{{
  278. orderInfo.referrerDeptAreaInfo }}</el-col> -->
  279. <el-col :span="6"
  280. ><span>推荐人工号:</span>{{ orderInfo.referrerNo }}</el-col
  281. >
  282. <el-col :span="6"
  283. ><span>推荐人姓名:</span>{{ orderInfo.referrerName }}</el-col
  284. >
  285. <el-col :span="6"
  286. ><span>联系方式:</span>{{ orderInfo.referrerMobile }}</el-col
  287. >
  288. <el-col :span="6"
  289. ><span>性别:</span>{{ orderInfo.referrerSex }}</el-col
  290. >
  291. </el-row>
  292. </div>
  293. </OpenCloseBox>
  294. <OpenCloseBox id="clxx">
  295. <span slot="title">车辆信息</span>
  296. <div slot="boby">
  297. <el-row class="premium-style" :gutter="20">
  298. <el-col :span="6"
  299. ><span>车牌号:</span
  300. >{{ orderInfo.carinfo.licenseNo }}</el-col
  301. >
  302. <el-col :span="6"
  303. ><span>车辆识别代码:</span
  304. >{{ orderInfo.carinfo.vinNo }}</el-col
  305. >
  306. <el-col :span="6"
  307. ><span>品牌型号:</span
  308. >{{ orderInfo.carinfo.modelcname }}</el-col
  309. >
  310. <el-col :span="6"
  311. ><span>发动机号:</span
  312. >{{ orderInfo.carinfo.engineNo }}</el-col
  313. >
  314. </el-row>
  315. <el-row class="premium-style" :gutter="20">
  316. <el-col :span="6"
  317. ><span>年款:</span>{{ orderInfo.carinfo.caryear }}</el-col
  318. >
  319. <el-col :span="6"
  320. ><span>座位数:</span
  321. >{{ orderInfo.carinfo.seatCount }}</el-col
  322. >
  323. <el-col :span="6"
  324. ><span>整备质量:</span
  325. >{{ orderInfo.carinfo.completeKerbMass }}</el-col
  326. >
  327. <el-col :span="6"
  328. ><span>核定载质量:</span
  329. >{{ orderInfo.carinfo.limitLoad }}</el-col
  330. >
  331. </el-row>
  332. <el-row class="premium-style" :gutter="20">
  333. <el-col :span="6"
  334. ><span>排量:</span>{{ orderInfo.carinfo.enginedesc }}</el-col
  335. >
  336. <el-col :span="6"
  337. ><span>功率:</span>{{ orderInfo.carinfo.powerScale }}</el-col
  338. >
  339. <el-col :span="6"
  340. ><span>新车购置价:</span
  341. >{{ orderInfo.carinfo.purchasePrice }}</el-col
  342. >
  343. <el-col :span="6"
  344. ><span>使用性质:</span
  345. >{{ orderInfo.carinfo.carnature }}</el-col
  346. >
  347. </el-row>
  348. <el-row class="premium-style" :gutter="20">
  349. <el-col :span="6"
  350. ><span>车辆用途:</span
  351. >{{ orderInfo.carinfo.vehicleUse }}</el-col
  352. >
  353. <el-col :span="6"
  354. ><span>车辆类型:</span
  355. >{{ orderInfo.carinfo.cartype }}</el-col
  356. >
  357. <el-col :span="6"
  358. ><span>车辆种类:</span
  359. >{{ orderInfo.carinfo.cimodelclass }}</el-col
  360. >
  361. <el-col :span="6"
  362. ><span>能源种类:</span
  363. >{{ orderInfo.carinfo.energyType }}</el-col
  364. >
  365. </el-row>
  366. <el-row class="premium-style" :gutter="20">
  367. <el-col :span="6"
  368. ><span>注册日期:</span
  369. >{{ orderInfo.carinfo.registerDate }}</el-col
  370. >
  371. <el-col :span="6"
  372. ><span>发证日期:</span
  373. >{{ orderInfo.carinfo.issueDate }}</el-col
  374. >
  375. <el-col :span="6"
  376. ><span>是否过户:</span
  377. >{{
  378. orderInfo.carinfo.transferFlag == true ? "是" : "否"
  379. }}</el-col
  380. >
  381. <el-col :span="6"
  382. ><span>转移登记日期:</span
  383. >{{ orderInfo.carinfo.transferDate }}</el-col
  384. >
  385. </el-row>
  386. <el-row class="premium-style" :gutter="20">
  387. <el-col :span="6"
  388. ><span>商业险是否过户:</span
  389. >{{
  390. orderInfo.carinfo.transferFlagBi == true ? "是" : "否"
  391. }}</el-col
  392. >
  393. <el-col :span="6"
  394. ><span>是否脱保:</span
  395. >{{
  396. orderInfo.carinfo.outOfInsurance == true ? "是" : "否"
  397. }}</el-col
  398. >
  399. <el-col :span="6"
  400. ><span>是否二手车:</span
  401. >{{ orderInfo.carinfo.usedCar == true ? "是" : "否" }}</el-col
  402. >
  403. </el-row>
  404. </div>
  405. </OpenCloseBox>
  406. <OpenCloseBox id="czxx">
  407. <span slot="title">车主信息</span>
  408. <div slot="boby">
  409. <el-row class="premium-style" :gutter="20">
  410. <el-col :span="6"
  411. ><span>车主姓名:</span>{{ orderInfo.ownerinfo.name }}</el-col
  412. >
  413. <el-col :span="6"><span>证件类型:</span>{{ orderInfo.ownerinfo.identifyType=='01'?'身份证':'统一社会信用代码' }}</el-col>
  414. <el-col :span="6" v-if="orderInfo.ownerinfo.identifyType=='01'"><span>身份证号:</span>{{ orderInfo.ownerinfo.identifyNumber }}</el-col>
  415. <el-col :span="6" v-else><span>统一社会信用代码:</span>{{ orderInfo.ownerinfo.organizationCode }}</el-col>
  416. <el-col :span="6"
  417. ><span>手机号:</span>{{ orderInfo.ownerinfo.mobile }}</el-col
  418. >
  419. </el-row>
  420. <el-row class="premium-style" :gutter="20">
  421. <el-col :span="6"
  422. ><span>电子邮箱:</span
  423. >{{
  424. orderInfo.ownerinfo.email ? orderInfo.ownerinfo.email : "-"
  425. }}</el-col
  426. >
  427. <el-col :span="12"
  428. ><span>地址:</span>{{ orderInfo.ownerinfo.addr }}</el-col
  429. >
  430. </el-row>
  431. </div>
  432. </OpenCloseBox>
  433. <OpenCloseBox id="tbrxx">
  434. <span slot="title">投保人信息</span>
  435. <div slot="boby">
  436. <el-row class="premium-style" :gutter="20">
  437. <el-col :span="6"
  438. ><span>投保人姓名:</span
  439. >{{ orderInfo.applyinfo.name }}</el-col
  440. >
  441. <!-- <el-col :span="6"
  442. ><span>证件类型:</span
  443. >{{ orderInfo.applyinfo.identifyType }}</el-col
  444. >
  445. <el-col :span="6"
  446. ><span>身份证号:</span
  447. >{{ orderInfo.applyinfo.identifyNumber }}</el-col
  448. > -->
  449. <el-col :span="6"><span>证件类型:</span>{{ orderInfo.applyinfo.identifyType=='01'?'身份证':'统一社会信用代码' }}</el-col>
  450. <el-col :span="6" v-if="orderInfo.applyinfo.identifyType=='01'"><span>身份证号:</span>{{ orderInfo.applyinfo.identifyNumber }}</el-col>
  451. <el-col :span="6" v-else><span>统一社会信用代码:</span>{{ orderInfo.applyinfo.organizationCode }}</el-col>
  452. <el-col :span="6"
  453. ><span>手机号:</span>{{ orderInfo.applyinfo.mobile }}</el-col
  454. >
  455. </el-row>
  456. <el-row class="premium-style" :gutter="20">
  457. <el-col :span="6"
  458. ><span>电子邮箱:</span
  459. >{{
  460. orderInfo.applyinfo.email ? orderInfo.applyinfo.email : "/"
  461. }}</el-col
  462. >
  463. <el-col :span="12"
  464. ><span>地址:</span>{{ orderInfo.applyinfo.addr }}</el-col
  465. >
  466. </el-row>
  467. </div>
  468. </OpenCloseBox>
  469. <OpenCloseBox id="bbrxx">
  470. <span slot="title">被保人信息</span>
  471. <div slot="boby">
  472. <el-row class="premium-style" :gutter="20">
  473. <el-col :span="6"
  474. ><span>被保人姓名:</span
  475. >{{ orderInfo.insureinfo.name }}</el-col
  476. >
  477. <!-- <el-col :span="6"
  478. ><span>证件类型:</span
  479. >{{ orderInfo.insureinfo.identifyType }}</el-col
  480. >
  481. <el-col :span="6"
  482. ><span>身份证号:</span
  483. >{{ orderInfo.insureinfo.identifyNumber }}</el-col
  484. > -->
  485. <el-col :span="6"><span>证件类型:</span>{{ orderInfo.insureinfo.identifyType=='01'?'身份证':'统一社会信用代码' }}</el-col>
  486. <el-col :span="6" v-if="orderInfo.insureinfo.identifyType=='01'"><span>身份证号:</span>{{ orderInfo.insureinfo.identifyNumber }}</el-col>
  487. <el-col :span="6" v-else><span>统一社会信用代码:</span>{{ orderInfo.insureinfo.organizationCode }}</el-col>
  488. <el-col :span="6"
  489. ><span>手机号:</span
  490. >{{ orderInfo.insureinfo.mobile }}</el-col
  491. >
  492. </el-row>
  493. <el-row class="premium-style" :gutter="20">
  494. <el-col :span="6"
  495. ><span>电子邮箱:</span
  496. >{{
  497. orderInfo.insureinfo.email
  498. ? orderInfo.insureinfo.email
  499. : "/"
  500. }}</el-col
  501. >
  502. <el-col :span="12"
  503. ><span>地址:</span>{{ orderInfo.insureinfo.addr }}</el-col
  504. >
  505. </el-row>
  506. </div>
  507. </OpenCloseBox>
  508. <OpenCloseBox id="cjxx">
  509. <span slot="title">投保信息</span>
  510. <div slot="boby">
  511. <div class="m-btn-10">保险公司:{{ orderInfo.inscompany }}</div>
  512. <div class="quotation-style">
  513. <b>险种</b>
  514. <b>起保日期</b>
  515. <b>终保日期</b>
  516. <b>保费金额</b>
  517. <span>交强险</span>
  518. <span>{{
  519. orderInfo.jqstartdate ? orderInfo.jqstartdate : "-"
  520. }}</span>
  521. <span>{{
  522. orderInfo.jqenddate ? orderInfo.jqenddate : "-"
  523. }}</span>
  524. <span>{{
  525. orderInfo.jqpremium ? "¥" + orderInfo.jqpremium : "-"
  526. }}</span>
  527. <span>商业险</span>
  528. <span>{{
  529. orderInfo.systartdate ? orderInfo.systartdate : "-"
  530. }}</span>
  531. <span>{{
  532. orderInfo.syenddate ? orderInfo.syenddate : "-"
  533. }}</span>
  534. <span>{{
  535. orderInfo.sypremium ? "¥" + orderInfo.sypremium : "-"
  536. }}</span>
  537. <span>车船税</span>
  538. <span>-</span>
  539. <span>-</span>
  540. <span>¥{{ orderInfo.taxamount }}</span>
  541. <span>驾意险</span>
  542. <span>-</span>
  543. <span>-</span>
  544. <span>{{
  545. orderInfo.jypremium ? "¥" + orderInfo.jypremium : "-"
  546. }}</span>
  547. <span>总计</span>
  548. <span>-</span>
  549. <span>-</span>
  550. <span class="themeColor" style="font-weight: bold"
  551. >¥{{ orderInfo.sumpremium }}</span
  552. >
  553. </div>
  554. </div>
  555. </OpenCloseBox>
  556. <OpenCloseBox
  557. id="qsxx"
  558. v-if="orderInfo.taxArrears && orderInfo.taxArrears.length > 0"
  559. >
  560. <span slot="title">欠税信息</span>
  561. <div slot="boby">
  562. <div class="quotation-style tax-arrears">
  563. <b>当年应缴(元)</b>
  564. <b>去年补缴(元)</b>
  565. <b>滞纳金(元)</b>
  566. <b>总计</b>
  567. <div
  568. v-for="(
  569. taxArrearsitem, taxArrearsindex
  570. ) in orderInfo.taxArrears"
  571. :key="taxArrearsindex"
  572. >
  573. <span>¥{{ taxArrearsitem.dayYearTax }}</span>
  574. <span>¥{{ taxArrearsitem.taxDefault }}</span>
  575. <span>¥{{ taxArrearsitem.lateFee }}</span>
  576. <span>¥{{ orderInfo.taxamount }}</span>
  577. </div>
  578. </div>
  579. </div>
  580. </OpenCloseBox>
  581. <OpenCloseBox id="bfys">
  582. <span slot="title">保费因素</span>
  583. <div slot="boby">
  584. <el-row class="premium-style" :gutter="20">
  585. <el-col :span="6"
  586. ><span>评分:</span
  587. >{{
  588. orderInfo.extendInfo.score ? orderInfo.extendInfo.score : ""
  589. }}</el-col
  590. >
  591. <el-col :span="6"
  592. ><span>总赔付率:</span
  593. >{{ orderInfo.extendInfo.lossRation }}</el-col
  594. >
  595. <el-col :span="6"
  596. ><span>总折扣率:</span
  597. >{{ orderInfo.extendInfo.totalAdjustRate }}</el-col
  598. >
  599. </el-row>
  600. <el-row class="premium-style" :gutter="20">
  601. <el-col :span="6"
  602. ><span>交强类型评分:</span
  603. >{{ orderInfo.extendInfo.jqScore }}</el-col
  604. >
  605. <el-col :span="6"
  606. ><span>交强赔付率:</span
  607. >{{ orderInfo.extendInfo.jqLossRation }}</el-col
  608. >
  609. <el-col :span="6"
  610. ><span>交强险折扣:</span
  611. >{{ orderInfo.extendInfo.jqAdjustRate }}</el-col
  612. >
  613. </el-row>
  614. <el-row class="premium-style" :gutter="20">
  615. <el-col :span="6"
  616. ><span>商业类型评分:</span
  617. >{{ orderInfo.extendInfo.syScore }}</el-col
  618. >
  619. <el-col :span="6"
  620. ><span>商业赔付率:</span
  621. >{{ orderInfo.extendInfo.syLossRation }}</el-col
  622. >
  623. <el-col :span="6"
  624. ><span>商业险折扣:</span
  625. >{{ orderInfo.extendInfo.syAdjustRate }}</el-col
  626. >
  627. </el-row>
  628. <el-row class="premium-style" :gutter="20">
  629. <el-col :span="6"
  630. ><span>交强续保:</span
  631. >{{ orderInfo.extendInfo.jqRenewal }}</el-col
  632. >
  633. <el-col :span="6"
  634. ><span>商业续保:</span
  635. >{{ orderInfo.extendInfo.syRenewal }}</el-col
  636. >
  637. <el-col :span="6"
  638. ><span>交强出险次数:</span
  639. >{{ orderInfo.extendInfo.jqClaims }}</el-col
  640. >
  641. <el-col :span="6"
  642. ><span>商业出险次数:</span
  643. >{{ orderInfo.extendInfo.syClaims }}</el-col
  644. >
  645. </el-row>
  646. <el-row
  647. class="premium-style"
  648. :gutter="20"
  649. v-if="orderInfo.ubiPredictedInfoScore"
  650. >
  651. <el-col :span="6"
  652. ><span>紫金能源车(鼎然-车辆风险评分):</span
  653. >{{ orderInfo.ubiPredictedInfoScore }}</el-col
  654. >
  655. </el-row>
  656. </div>
  657. </OpenCloseBox>
  658. <OpenCloseBox
  659. id="xzxx"
  660. v-if="orderInfo.kindinfo && orderInfo.kindinfo.length > 0"
  661. >
  662. <span slot="title">险种信息</span>
  663. <div slot="boby">
  664. <div class="quotation-style kind-arrears">
  665. <b>商业险险别</b>
  666. <b>保额(元)</b>
  667. <b>保费(元)</b>
  668. <div
  669. v-for="(kindinfoitem, kindinfoindex) in orderInfo.kindinfo"
  670. :key="kindinfoindex"
  671. >
  672. <span>{{ kindinfoitem.kindName }}</span>
  673. <span
  674. v-if="['D4', 'SY_FJ_YBW2'].includes(kindinfoitem.kindCode)"
  675. >{{ kindinfoitem.unitAmount }}</span
  676. >
  677. <span
  678. v-else-if="
  679. ['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(
  680. kindinfoitem.kindCode
  681. )
  682. "
  683. >
  684. {{ kindinfoitem.deductibleRate }}
  685. </span>
  686. <span v-else>{{ kindinfoitem.amount }}</span>
  687. <span>{{
  688. kindinfoitem.coveragePremium
  689. ? kindinfoitem.coveragePremium
  690. : "-"
  691. }}</span>
  692. </div>
  693. </div>
  694. </div>
  695. </OpenCloseBox>
  696. <OpenCloseBox
  697. id="jyx"
  698. v-if="orderInfo.accidentInfo && orderInfo.accidentInfo.length > 0"
  699. >
  700. <span slot="title">驾意险</span>
  701. <div slot="boby">
  702. <el-table
  703. :data="orderInfo.accidentInfo"
  704. stripe
  705. border
  706. :header-cell-style="{
  707. background: '#F7F7F9 ',
  708. fontWeight: '500',
  709. color: '#333333',
  710. }"
  711. style="width: 100%"
  712. >
  713. <el-table-column prop="name" align="center" label="驾意险名称">
  714. <template slot-scope="scope">
  715. <span style="color: #d42426">{{ scope.row.name }}</span>
  716. </template>
  717. </el-table-column>
  718. <el-table-column prop="amount" align="center" label="保险金额">
  719. <template slot-scope="scope">
  720. <span
  721. >¥{{ scope.row.amount ? scope.row.amount : "-" }}</span
  722. >
  723. </template>
  724. </el-table-column>
  725. <el-table-column align="center" prop="premium" label="保费">
  726. <template slot-scope="scope">
  727. <span
  728. >¥{{ scope.row.premium ? scope.row.premium : "-" }}</span
  729. >
  730. </template>
  731. </el-table-column>
  732. </el-table>
  733. </div>
  734. </OpenCloseBox>
  735. <OpenCloseBox id="yxzl" v-if="Object.keys(obj).length != 0">
  736. <span slot="title">影像资料</span>
  737. <div slot="boby">
  738. <el-row :gutter="20">
  739. <el-col :span="12">
  740. <h4>行驶证影像</h4>
  741. <viewer :images="obj.carImageList">
  742. <img
  743. class="imageStyle"
  744. v-for="(imageItem, imageIndex) in obj.carImageList"
  745. :src="imageItem"
  746. :key="imageIndex"
  747. />
  748. </viewer>
  749. </el-col>
  750. <el-col :span="12">
  751. <div v-if="obj.ownerImageList">
  752. <h4>车主身份证影像</h4>
  753. <viewer :images="obj.ownerImageList">
  754. <img
  755. class="imageStyle"
  756. v-for="(imageItem, imageIndex) in obj.ownerImageList"
  757. :src="imageItem"
  758. :key="imageIndex"
  759. />
  760. </viewer>
  761. </div>
  762. <div v-else>
  763. <h4>营业执照</h4>
  764. <img class="imageStyle" style="margin-right: 0" />
  765. </div>
  766. </el-col>
  767. </el-row>
  768. <el-row :gutter="20">
  769. <el-col :span="12">
  770. <div v-if="obj.policyImageList">
  771. <h4>投保人身份证影像</h4>
  772. <viewer :images="obj.policyImageList">
  773. <img
  774. class="imageStyle"
  775. v-for="(imageItem, imageIndex) in obj.policyImageList"
  776. :src="imageItem"
  777. :key="imageIndex"
  778. />
  779. </viewer>
  780. </div>
  781. <div v-else>
  782. <h4>营业执照</h4>
  783. <img class="imageStyle" style="margin-right: 0" />
  784. </div>
  785. </el-col>
  786. <el-col :span="12">
  787. <div v-if="obj.insuredImageList">
  788. <h4>被保人身份证影像</h4>
  789. <viewer :images="obj.insuredImageList">
  790. <img
  791. class="imageStyle"
  792. v-for="(imageItem, imageIndex) in obj.insuredImageList"
  793. :src="imageItem"
  794. :key="imageIndex"
  795. />
  796. </viewer>
  797. </div>
  798. <div v-else>
  799. <h4>营业执照</h4>
  800. <img class="imageStyle" style="margin-right: 0" />
  801. </div>
  802. </el-col>
  803. </el-row>
  804. <el-row
  805. :gutter="20"
  806. v-if="obj.carCheckImageList && obj.carCheckImageList.length > 0"
  807. >
  808. <el-col :span="24">
  809. <h4>验车照影像</h4>
  810. <viewer :images="obj.carCheckImageList">
  811. <img
  812. class="imageStyle"
  813. v-for="(imageItem, imageIndex) in obj.carCheckImageList"
  814. :src="imageItem"
  815. :key="imageIndex"
  816. />
  817. </viewer>
  818. </el-col>
  819. </el-row>
  820. </div>
  821. </OpenCloseBox>
  822. <OpenCloseBox
  823. id="dzbd"
  824. v-if="orderInfo && orderInfo.orderstatus == 3"
  825. >
  826. <span slot="title">保单信息</span>
  827. <div slot="boby">
  828. <el-row class="premium-style" :gutter="20">
  829. <!-- <el-col :span="12"><span>交强险投保单号:</span>{{ orderInfo.jqapplyno }}</el-col> -->
  830. <el-col :span="12" v-if="orderInfo.jqpolicyno"
  831. ><span>交强险保单号:</span>{{ orderInfo.jqpolicyno }}</el-col
  832. >
  833. <!-- <el-col v-if="orderInfo.syapplyno" :span="12"><span>商业险投保单号:</span>{{ orderInfo.syapplyno }}</el-col> -->
  834. <el-col v-if="orderInfo.sypolicyno" :span="12"
  835. ><span>商业险保单号:</span>{{ orderInfo.sypolicyno }}</el-col
  836. >
  837. <el-col
  838. :span="12"
  839. v-for="(oldfileItem, oldfileIndex) in warrantObj.oldfileList"
  840. :key="oldfileIndex"
  841. >
  842. <div>
  843. <span>{{ oldfileItem.fileTitle }} :</span
  844. >{{ orderInfo.licenseno }}
  845. <el-button
  846. style="margin-left: 30px"
  847. type="text"
  848. @click="viewfile(oldfileItem)"
  849. >下载
  850. </el-button>
  851. </div>
  852. </el-col>
  853. <el-col
  854. :span="12"
  855. v-for="(val, oldfileIndex) in warrantObj.businessList"
  856. :key="oldfileIndex"
  857. >
  858. <div>
  859. <span>{{ val.fileTitle }} :</span>{{ orderInfo.licenseno }}
  860. <el-button
  861. style="margin-left: 30px"
  862. type="text"
  863. @click="viewfile(val)"
  864. >下载
  865. </el-button>
  866. </div>
  867. </el-col>
  868. </el-row>
  869. <el-row class="premium-style" :gutter="20">
  870. <el-col
  871. :span="12"
  872. v-for="(oldfileItem, oldfileIndex) in warrantObj.accidentList"
  873. :key="oldfileIndex"
  874. >
  875. <div>
  876. <span>{{ oldfileItem.fileTitle }} :</span
  877. >{{ orderInfo.licenseno }}
  878. <el-button
  879. style="margin-left: 30px"
  880. type="text"
  881. @click="viewfile(oldfileItem)"
  882. >下载
  883. </el-button>
  884. </div>
  885. </el-col>
  886. </el-row>
  887. </div>
  888. </OpenCloseBox>
  889. <OpenCloseBox id="fymx" v-if="feeOrderNewVoList">
  890. <span slot="title">费用明细</span>
  891. <div
  892. slot="boby"
  893. style="font-size: 12px; width: 100%"
  894. class="FeeEnclosure"
  895. >
  896. <el-table
  897. :data="feeOrderNewVoList.list"
  898. :span-method="feeOrderNewVomergeRows"
  899. :border="true"
  900. width="100%"
  901. :stripe="true"
  902. size="mini"
  903. :header-cell-style="{
  904. background: '#F7F7F9',
  905. fontWeight: '700',
  906. color: '#606266',
  907. }"
  908. >
  909. <el-table-column prop="type" label=""> </el-table-column>
  910. <el-table-column prop="insuranceType" label="险种">
  911. </el-table-column>
  912. <el-table-column prop="premium" label="保费">
  913. <template slot-scope="scope">
  914. <span>¥{{ scope.row.premium }}</span>
  915. </template>
  916. </el-table-column>
  917. <el-table-column prop="otherCostsProportion" label="跟单比例">
  918. <template slot-scope="scope">
  919. <span v-if="!isAuditing || scope.row.type !== '入口费用'"
  920. >{{ scope.row.otherCostsProportion }}
  921. <span v-if="scope.row.otherCostsProportion !== null"> % </span>
  922. <span v-else> — </span>
  923. </span>
  924. <el-input
  925. v-else
  926. v-model="scope.row.otherCostsProportion"
  927. size="mini"
  928. ></el-input>
  929. </template>
  930. </el-table-column>
  931. <el-table-column prop="superviseCosts" label="手续费比例">
  932. <template slot-scope="scope">
  933. <span v-if="!isAuditing || scope.row.type !== '入口费用'"
  934. >{{ scope.row.superviseCosts }}
  935. <span v-if="scope.row.superviseCosts !== null"> % </span>
  936. <span v-else> — </span>
  937. </span>
  938. <el-input
  939. v-else
  940. v-model="scope.row.superviseCosts"
  941. size="mini"
  942. ></el-input>
  943. </template>
  944. </el-table-column>
  945. <el-table-column prop="totalProportion" label="总比例">
  946. <template slot-scope="scope">
  947. <span v-if="!isAuditing || scope.row.type !== '入口费用'"
  948. >{{ scope.row.totalProportion }}
  949. <span v-if="scope.row.totalProportion !== null"> % </span>
  950. <span v-else> — </span>
  951. </span
  952. >
  953. <el-input
  954. v-else
  955. v-model="scope.row.totalProportion"
  956. size="mini"
  957. ></el-input>
  958. </template>
  959. </el-table-column>
  960. <el-table-column prop="otherCostsPremiums" label="跟单费">
  961. <template slot-scope="scope">
  962. <span>¥{{ scope.row.otherCostsPremiums }}</span>
  963. </template>
  964. </el-table-column>
  965. <el-table-column prop="superviseCostsPremiums" label="手续费">
  966. <template slot-scope="scope">
  967. <span>¥{{ scope.row.superviseCostsPremiums }}</span>
  968. </template>
  969. </el-table-column>
  970. <el-table-column prop="totalAmount" label="总费用">
  971. <template slot-scope="scope">
  972. <span>¥{{ scope.row.totalAmount }}</span>
  973. </template>
  974. </el-table-column>
  975. </el-table>
  976. </div>
  977. </OpenCloseBox>
  978. <OpenCloseBox id="jgglf" v-if="feeOrderNewVoList.deptManagerFee">
  979. <span slot="title">机构管理费</span>
  980. <div
  981. slot="boby"
  982. style="font-size: 12px; width: 100%"
  983. class="FeeEnclosure"
  984. >
  985. <el-table
  986. :data="feeOrderNewVoList.deptManagerFee"
  987. :border="true"
  988. width="100%"
  989. :stripe="true"
  990. size="mini"
  991. :header-cell-style="{
  992. background: '#F7F7F9',
  993. fontWeight: '700',
  994. color: '#606266',
  995. }"
  996. >
  997. <el-table-column
  998. prop="insuranceType"
  999. label="险种"
  1000. ></el-table-column>
  1001. <el-table-column
  1002. prop="deptProportionLevelOne"
  1003. label="一级管理费比例"
  1004. >
  1005. <template slot-scope="scope">
  1006. <span v-if="!isAuditing"
  1007. >{{ scope.row.deptProportionLevelOne }}%
  1008. </span>
  1009. <el-input
  1010. v-else
  1011. v-model="scope.row.deptProportionLevelOne"
  1012. size="mini"
  1013. ></el-input>
  1014. </template>
  1015. </el-table-column>
  1016. <el-table-column
  1017. prop="deptProportionLevelTwo"
  1018. label="二级管理费比例 "
  1019. >
  1020. <template slot-scope="scope">
  1021. <span v-if="!isAuditing"
  1022. >{{ scope.row.deptProportionLevelTwo }}%
  1023. </span>
  1024. <el-input
  1025. v-else
  1026. v-model="scope.row.deptProportionLevelTwo"
  1027. size="mini"
  1028. ></el-input>
  1029. </template>
  1030. </el-table-column>
  1031. <el-table-column
  1032. prop="deptProportionLevelThree"
  1033. label="三级管理费比例"
  1034. >
  1035. <template slot-scope="scope">
  1036. <span v-if="!isAuditing"
  1037. >{{ scope.row.deptProportionLevelThree }}%
  1038. </span>
  1039. <el-input
  1040. v-else
  1041. v-model="scope.row.deptProportionLevelThree"
  1042. size="mini"
  1043. ></el-input>
  1044. </template>
  1045. </el-table-column>
  1046. <el-table-column
  1047. prop="deptProportionLevelFoure"
  1048. label="四级管理费比例"
  1049. >
  1050. <template slot-scope="scope">
  1051. <span v-if="!isAuditing"
  1052. >{{ scope.row.deptProportionLevelFoure }}%
  1053. </span>
  1054. <el-input
  1055. v-else
  1056. v-model="scope.row.deptProportionLevelFoure"
  1057. size="mini"
  1058. ></el-input>
  1059. </template>
  1060. </el-table-column>
  1061. <el-table-column
  1062. prop="deptProportionLevelFive"
  1063. label="五级管理费比例"
  1064. >
  1065. <template slot-scope="scope">
  1066. <span v-if="!isAuditing"
  1067. >{{ scope.row.deptProportionLevelFive }}%
  1068. </span>
  1069. <el-input
  1070. v-else
  1071. v-model="scope.row.deptProportionLevelFive"
  1072. size="mini"
  1073. ></el-input>
  1074. </template>
  1075. </el-table-column>
  1076. <el-table-column prop="deptPremiumsLevelOne" label="一级管理费">
  1077. <template slot-scope="scope">
  1078. <span>¥{{ scope.row.deptPremiumsLevelOne }}</span>
  1079. </template>
  1080. </el-table-column>
  1081. <el-table-column prop="deptPremiumsLevelTwo" label="二级管理费">
  1082. <template slot-scope="scope">
  1083. <span>¥{{ scope.row.deptPremiumsLevelTwo }}</span>
  1084. </template>
  1085. </el-table-column>
  1086. <el-table-column
  1087. prop="deptPremiumsLevelThree"
  1088. label="三级管理费"
  1089. >
  1090. <template slot-scope="scope">
  1091. <span>¥{{ scope.row.deptPremiumsLevelThree }}</span>
  1092. </template>
  1093. </el-table-column>
  1094. <el-table-column
  1095. prop="deptPremiumsLevelFoure"
  1096. label="四级管理费"
  1097. >
  1098. <template slot-scope="scope">
  1099. <span>¥{{ scope.row.deptPremiumsLevelFoure }}</span>
  1100. </template>
  1101. </el-table-column>
  1102. <el-table-column
  1103. prop="deptPremiumsLevelFive"
  1104. label="五级管理费"
  1105. >
  1106. <template slot-scope="scope">
  1107. <span>¥{{ scope.row.deptPremiumsLevelFive }}</span>
  1108. </template>
  1109. </el-table-column>
  1110. <el-table-column
  1111. prop="externalProportion"
  1112. label="代客录单扣减比例"
  1113. >
  1114. <template slot-scope="scope">
  1115. <span v-if="scope.row.externalProportion"
  1116. >{{ scope.row.externalProportion }}%</span
  1117. >
  1118. <span v-else>-</span>
  1119. </template>
  1120. </el-table-column>
  1121. <el-table-column
  1122. prop="externalPremiums"
  1123. label="代客录单扣减金额"
  1124. >
  1125. <template slot-scope="scope">
  1126. <span v-if="scope.row.externalPremiums"
  1127. >¥{{ scope.row.externalPremiums }}</span
  1128. >
  1129. <span v-else>-</span>
  1130. </template>
  1131. </el-table-column>
  1132. <el-table-column prop="profitMarginPremiums" label="利润差值">
  1133. <template slot-scope="scope">
  1134. <span>¥{{ scope.row.profitMarginPremiums }}</span>
  1135. </template>
  1136. </el-table-column>
  1137. </el-table>
  1138. </div>
  1139. </OpenCloseBox>
  1140. <OpenCloseBox id="fxmx1" v-if="feeOrderNewVoList.retailFee">
  1141. <span slot="title">分销明细</span>
  1142. <div
  1143. slot="boby"
  1144. style="font-size: 12px; width: 100%"
  1145. class="FeeEnclosure"
  1146. >
  1147. <el-table
  1148. :data="feeOrderNewVoList.retailFee"
  1149. :border="true"
  1150. width="100%"
  1151. :stripe="true"
  1152. size="mini"
  1153. :header-cell-style="{
  1154. background: '#F7F7F9',
  1155. fontWeight: '700',
  1156. color: '#606266',
  1157. }"
  1158. >
  1159. <el-table-column
  1160. prop="insuranceType"
  1161. label="等级"
  1162. ></el-table-column>
  1163. <el-table-column
  1164. prop="userName"
  1165. label="接收人"
  1166. ></el-table-column>
  1167. <el-table-column prop="jqRetailProportion" label="交强分销比例">
  1168. <template slot-scope="scope">
  1169. <span>{{ scope.row.jqRetailProportion }}%</span>
  1170. </template>
  1171. </el-table-column>
  1172. <el-table-column prop="jqRetailPremiums" label="交强分销费">
  1173. <template slot-scope="scope">
  1174. <span>¥{{ scope.row.jqRetailPremiums }}</span>
  1175. </template>
  1176. </el-table-column>
  1177. <el-table-column prop="syRetailProportion" label="商业分销比例">
  1178. <template slot-scope="scope">
  1179. <span>{{ scope.row.syRetailProportion }}%</span>
  1180. </template>
  1181. </el-table-column>
  1182. <el-table-column prop="syRetailPremiums" label="商业险分销费">
  1183. <template slot-scope="scope">
  1184. <span>¥{{ scope.row.syRetailPremiums }}</span>
  1185. </template>
  1186. </el-table-column>
  1187. <el-table-column prop="noRetailProportion" label="非车分销比例">
  1188. <template slot-scope="scope">
  1189. <span>{{ scope.row.noRetailProportion }}%</span>
  1190. </template>
  1191. </el-table-column>
  1192. <el-table-column prop="noRetailPremiums" label="非车险分销费">
  1193. <template slot-scope="scope">
  1194. <span>¥{{ scope.row.noRetailPremiums }}</span>
  1195. </template>
  1196. </el-table-column>
  1197. <el-table-column prop="amount" label="金额">
  1198. <template slot-scope="scope">
  1199. <span>¥{{ scope.row.totalRetailPremiums }}</span>
  1200. </template>
  1201. </el-table-column>
  1202. </el-table>
  1203. </div>
  1204. </OpenCloseBox>
  1205. <OpenCloseBox
  1206. id="shyj"
  1207. v-if="
  1208. orderInfo && orderInfo.orderstatus == 4 && orderInfo.auditopinion
  1209. "
  1210. >
  1211. <span slot="title">审核意见</span>
  1212. <div slot="boby">
  1213. <p style="padding: 10px 50px">
  1214. {{ orderInfo.auditopinion }}
  1215. </p>
  1216. </div>
  1217. </OpenCloseBox>
  1218. </div>
  1219. </div>
  1220. </div>
  1221. <span slot="footer" class="dialog-footer">
  1222. <template v-if="auditStatus != 1">
  1223. <el-button
  1224. size="small"
  1225. type="warning"
  1226. @click="updatedCost"
  1227. v-if="isAuditing"
  1228. >更改费用</el-button
  1229. >
  1230. <el-button
  1231. size="small"
  1232. type="primary"
  1233. style="background-color: #0ec216; border: 1px solid #0ec216"
  1234. @click="adjustFee"
  1235. ><span v-if="isAuditing">取消调整</span
  1236. ><span v-if="!isAuditing">调整费用</span></el-button
  1237. >
  1238. <el-button
  1239. size="small"
  1240. type="primary"
  1241. style="background-color: #0ec216; border: 1px solid #0ec216"
  1242. @click="adusitFUn"
  1243. >审核通过</el-button
  1244. >
  1245. <el-button
  1246. size="small"
  1247. type="primary"
  1248. v-if="isrejection"
  1249. style="background-color: #0ec216; border: 1px solid #0ec216"
  1250. @click="rejectionFUn"
  1251. >审核驳回</el-button
  1252. >
  1253. </template>
  1254. <el-button
  1255. size="small"
  1256. type="primary"
  1257. plain
  1258. @click="dialogVisible = false"
  1259. >关闭</el-button
  1260. >
  1261. </span>
  1262. </el-dialog>
  1263. </template>
  1264. <script>
  1265. import OpenCloseBox from "./openclose.vue";
  1266. export default {
  1267. name: "detailsDialog",
  1268. data() {
  1269. return {
  1270. dialogVisible: false,
  1271. obj: {},
  1272. warrantObj: {},
  1273. selectedItem: null,
  1274. isAuditing: false,
  1275. itemRefs: [],
  1276. itemPositions: [],
  1277. };
  1278. },
  1279. props: {
  1280. orderInfo: {
  1281. type: Object,
  1282. default: {},
  1283. },
  1284. auditStatus: String,
  1285. isrejection: {
  1286. type: Boolean,
  1287. default: false,
  1288. },
  1289. feeOrderNewVoList: Object,
  1290. },
  1291. watch: {
  1292. dialogVisible(oldValue, newValue) {
  1293. if (oldValue) {
  1294. this.$nextTick(() => {
  1295. this.initScroll();
  1296. });
  1297. }
  1298. },
  1299. },
  1300. components: { OpenCloseBox },
  1301. methods: {
  1302. adjustFee() {
  1303. this.isAuditing = !this.isAuditing;
  1304. },
  1305. adusitFUn() {
  1306. this.$emit("adusitFUn");
  1307. },
  1308. rejectionFUn() {
  1309. this.$emit("rejectionFUn");
  1310. },
  1311. updatedCost() {
  1312. let newCost = {
  1313. deptManagerFee: this.feeOrderNewVoList.deptManagerFee,
  1314. feeOrder: this.feeOrderNewVoList.list,
  1315. retailFee: this.feeOrderNewVoList.retailFee,
  1316. };
  1317. this.$emit("updatedCost", newCost);
  1318. this.isAuditing = false;
  1319. },
  1320. feeOrderNewVomergeRows({ row, column, rowIndex, columnIndex }) {
  1321. if (columnIndex === 0) {
  1322. if (
  1323. rowIndex === 0 ||
  1324. this.feeOrderNewVoList.list[rowIndex].type !==
  1325. this.feeOrderNewVoList.list[rowIndex - 1].type
  1326. ) {
  1327. let rowSpan = 1;
  1328. for (
  1329. let i = rowIndex + 1;
  1330. i < this.feeOrderNewVoList.list.length;
  1331. i++
  1332. ) {
  1333. if (this.feeOrderNewVoList.list[i].type === row.type) {
  1334. rowSpan++;
  1335. } else {
  1336. break;
  1337. }
  1338. }
  1339. return [rowSpan, 1];
  1340. } else {
  1341. return [0, 0];
  1342. }
  1343. }
  1344. return [1, 1];
  1345. },
  1346. selectItem(item) {
  1347. this.selectedItem = item;
  1348. const element = document.getElementById(item);
  1349. if (element) {
  1350. element.scrollIntoView({ behavior: "smooth" });
  1351. } else {
  1352. console.error(`Element with ID ${item} not found.`);
  1353. }
  1354. },
  1355. initScroll() {
  1356. const tabChildren = this.$refs.tabLeft.children;
  1357. if (tabChildren.length === 0) {
  1358. console.warn("No children elements found in tabLeft.");
  1359. return;
  1360. }
  1361. for (let i = 0; i < tabChildren.length; i++) {
  1362. const child = tabChildren[i];
  1363. const id = child.dataset.id;
  1364. if (id) {
  1365. const element = document.getElementById(id);
  1366. if (element) {
  1367. this.itemRefs.push(id);
  1368. this.itemPositions.push({
  1369. id,
  1370. top: element.offsetTop,
  1371. height: element.offsetHeight,
  1372. });
  1373. } else {
  1374. console.error(`Element with ID ${id} not found.`);
  1375. }
  1376. }
  1377. }
  1378. },
  1379. handleScroll(event) {
  1380. const container = event.target;
  1381. const scrollTop = container.scrollTop + 103;
  1382. const clientHeight = container.clientHeight + 103;
  1383. const scrollHeight = container.scrollHeight - 103;
  1384. // 查找当前显示的元素
  1385. const currentItem = this.itemPositions.find(({ top, height }) => {
  1386. return top >= scrollTop && top + height <= scrollTop + clientHeight;
  1387. });
  1388. if (currentItem) {
  1389. // 处理当前显示的元素
  1390. this.selectedItem = currentItem.id;
  1391. } else {
  1392. console.warn("No current item found within the viewport.");
  1393. }
  1394. if (scrollTop + clientHeight == scrollHeight) {
  1395. this.selectedItem = this.itemRefs[this.itemRefs.length - 1];
  1396. }
  1397. },
  1398. setBackupVisible: function (backupVisible) {
  1399. this.selectedItem = "gsxx";
  1400. this.dialogVisible = backupVisible;
  1401. },
  1402. imageFun(param) {
  1403. this.obj = param;
  1404. },
  1405. warrantyFun(param) {
  1406. this.warrantObj = param;
  1407. },
  1408. saveAs(blob, filename) {
  1409. var link = document.createElement("a");
  1410. link.href = window.URL.createObjectURL(blob);
  1411. link.target = "_ blank";
  1412. link.download = filename;
  1413. link.click();
  1414. },
  1415. //预览文件
  1416. viewfile(index) {
  1417. if (this.orderInfo.isExternal == 1) {
  1418. let url = index.fileurl; // 3.创建一个临时的url指向blob对象
  1419. fetch(url)
  1420. .then((response) => response.blob())
  1421. .then((blob) => {
  1422. this.saveAs(
  1423. blob,
  1424. index.fileurl.substring(name + 1, index.fileurl.length)
  1425. );
  1426. })
  1427. .catch((error) => {});
  1428. } else {
  1429. let name = index.fileurl.lastIndexOf("/");
  1430. fetch(index.fileurl)
  1431. .then((response) => response.blob())
  1432. .then((blob) => {
  1433. this.saveAs(
  1434. blob,
  1435. index.fileurl.substring(name + 1, index.fileurl.length)
  1436. );
  1437. })
  1438. .catch((error) => {});
  1439. }
  1440. },
  1441. },
  1442. };
  1443. </script>
  1444. <style lang="scss" scoped>
  1445. .details-body {
  1446. .tabLeft {
  1447. list-style: none;
  1448. padding-left: 0;
  1449. width: 100px;
  1450. li {
  1451. height: 40px;
  1452. line-height: 40px;
  1453. font-size: 14px;
  1454. font-weight: 500;
  1455. padding-left: 20px;
  1456. cursor: pointer;
  1457. }
  1458. li:hover {
  1459. color: var(--themeColor);
  1460. }
  1461. }
  1462. .li-selected {
  1463. color: var(--themeColor);
  1464. background-color: rgba(212, 36, 38, 0.06);
  1465. }
  1466. .fixedTop {
  1467. width: 100%;
  1468. overflow-x: auto;
  1469. height: auto;
  1470. // position: absolute;
  1471. // top: 10px;
  1472. background: linear-gradient(#fbe8e8, #fff 50%);
  1473. border-radius: 5px;
  1474. margin-bottom: 20px;
  1475. list-style-type: none;
  1476. padding: 20px;
  1477. box-sizing: border-box;
  1478. display: flex;
  1479. justify-content: space-between;
  1480. li {
  1481. width: auto;
  1482. height: auto;
  1483. .title {
  1484. width: 100%;
  1485. height: auto;
  1486. display: flex;
  1487. justify-content: flex-start;
  1488. p {
  1489. font-size: 16px;
  1490. color: #666;
  1491. margin: 0 0 0 10px;
  1492. }
  1493. .img {
  1494. width: 24px;
  1495. height: 24px;
  1496. img {
  1497. width: 100%;
  1498. height: 100%;
  1499. }
  1500. }
  1501. margin-bottom: 5px;
  1502. }
  1503. p {
  1504. margin: 10px 0 0 0;
  1505. font-size: 20px;
  1506. color: #333;
  1507. }
  1508. }
  1509. }
  1510. .content {
  1511. width: 100%;
  1512. height: calc(100% - 103px);
  1513. overflow-y: auto;
  1514. }
  1515. }
  1516. .icon-img {
  1517. width: 30px;
  1518. height: 30px;
  1519. vertical-align: bottom;
  1520. }
  1521. .details-title {
  1522. font-weight: bold;
  1523. font-size: 16px;
  1524. }
  1525. .quotation-style {
  1526. font-size: 0;
  1527. b {
  1528. background: #f7f7f9;
  1529. font-size: 14px;
  1530. }
  1531. b,
  1532. span {
  1533. display: inline-block;
  1534. box-sizing: border-box;
  1535. width: 25%;
  1536. text-align: center;
  1537. line-height: 40px;
  1538. border: 1px solid #eef1f6;
  1539. font-size: 14px;
  1540. }
  1541. }
  1542. .premium-style {
  1543. div {
  1544. padding: 5px 0;
  1545. }
  1546. span {
  1547. color: #868b98;
  1548. }
  1549. }
  1550. .driving-style {
  1551. span:first-child {
  1552. width: 70%;
  1553. }
  1554. b:first-child {
  1555. width: 70%;
  1556. }
  1557. b,
  1558. span {
  1559. width: 15%;
  1560. }
  1561. }
  1562. .tax-arrears {
  1563. b,
  1564. span {
  1565. width: 25%;
  1566. }
  1567. }
  1568. .kind-arrears {
  1569. b,
  1570. span {
  1571. width: 33.33%;
  1572. }
  1573. }
  1574. .imageStyle {
  1575. display: inline-block;
  1576. width: 120px;
  1577. height: 120px;
  1578. // box-shadow: #ddd 0px 0px 5px;
  1579. margin-right: 86px;
  1580. border: 1px dashed #ced4da;
  1581. background: #f7f7f9;
  1582. }
  1583. .FeeEnclosure {
  1584. /deep/ table {
  1585. width: 100% !important;
  1586. }
  1587. /deep/ .cell {
  1588. text-align: center;
  1589. }
  1590. /deep/ .el-table__empty-block {
  1591. width: 100% !important;
  1592. }
  1593. }
  1594. /deep/ .el-dialog__body {
  1595. padding-top: 0;
  1596. border-bottom: 1px solid #eef1f6;
  1597. background-color: rgb(242, 242, 242);
  1598. padding: 0;
  1599. }
  1600. </style>