index.vue 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436
  1. <template>
  2. <div>
  3. <basic-container v-if="key>0">
  4. <avue-crud
  5. :data="goodsList"
  6. :option="goodsOptionCrud"
  7. :table-loading="loading"
  8. :page.sync="page"
  9. ref="crud"
  10. @on-load="onLoad"
  11. @resetColumn="resetColumn"
  12. @saveColumn="saveColumn"
  13. @search-change="searchChange"
  14. @search-reset="query = {}"
  15. :search.sync="query"
  16. @search-criteria-switch="searchCriteriaSwitch"
  17. @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
  18. @row-update="rowSave">
  19. <template slot="plateNo" slot-scope="{row}">
  20. <span class="el-button--text" style="cursor: pointer"
  21. @click="openTrack(row)">{{ row.plateNo }}</span>
  22. </template>
  23. <template slot="menuLeft">
  24. <el-button type="info" size="small" @click="outExport" icon="el-icon-download">导出</el-button>
  25. </template>
  26. <template slot="corpShortNameSearch" slot-scope="{ row,index}">
  27. <crop-select
  28. v-model="row.corpId"
  29. :corpType="'KH'"
  30. :label="'shortName'"
  31. ></crop-select>
  32. </template>
  33. <template slot-scope="{row}" slot="fleetId">
  34. <span>{{ row.fleetShortName }}</span>
  35. </template>
  36. <template slot="billNo" slot-scope="{row,index}">
  37. <span v-if="roleName.indexOf('车队') !== -1" style="cursor: pointer">{{ row.billNo }}</span>
  38. <span class="el-button--text" v-else style="cursor: pointer" @click.stop="celJump(row,index)">{{row.billNo}}</span>
  39. </template>
  40. <template slot="corpShortName" slot-scope="{row,index}">
  41. <span class="el-button--text" style="cursor: pointer"
  42. @click.stop="celJump(row,index)">{{ row.corpShortName }}</span>
  43. </template>
  44. <template slot="dispatchNumber" slot-scope="{row,index}">
  45. <span class="el-button--text" style="cursor: pointer"
  46. @click.stop="celJump(row,index)">{{ row.dispatchNumber }}</span>
  47. </template>
  48. <template slot-scope="{row,index}" slot="menu">
  49. <span v-if="row.extraAmountD>0">
  50. <el-button
  51. size="small"
  52. type="text"
  53. >{{ row.confirmStatus !== 0 ? '已确认' : '' }}
  54. </el-button>
  55. <el-button
  56. size="small"
  57. type="text"
  58. @click="incidentalConfirm(row)"
  59. >{{ row.confirmStatus == 0 ? '杂费确认' : '杂费取消' }}
  60. </el-button>
  61. </span>
  62. </template>
  63. <template slot="addressDetail" slot-scope="{ row,index}">
  64. <el-tooltip class="item" effect="dark" placement="top">
  65. <div v-html="ToBreak(row.addressDetail)" slot="content"></div>
  66. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ row.addressDetail }}</div>
  67. </el-tooltip>
  68. </template>
  69. <template slot="unloadingPlace" slot-scope="{ row,index}">
  70. <el-tooltip class="item" effect="dark" placement="top">
  71. <div v-html="ToBreak(row.unloadingPlace)" slot="content"></div>
  72. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ row.unloadingPlace }}</div>
  73. </el-tooltip>
  74. </template>
  75. <template slot="extraAmountItemC" slot-scope="{ row,index}">
  76. <el-tooltip class="item" effect="dark" placement="top">
  77. <div v-html="ToBreak(row.extraAmountItemC)" slot="content"></div>
  78. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ row.extraAmountItemC }}</div>
  79. </el-tooltip>
  80. </template>
  81. <template slot="extraAmountItemD" slot-scope="{ row,index}">
  82. <el-tooltip class="item" effect="dark" placement="top">
  83. <div v-html="ToBreak(row.extraAmountItemD)" slot="content"></div>
  84. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ row.extraAmountItemD }}</div>
  85. </el-tooltip>
  86. </template>
  87. </avue-crud>
  88. <el-dialog
  89. title="杂费明细"
  90. :visible.sync="incidentalType"
  91. append-to-body
  92. width="50%">
  93. <avue-crud
  94. :data="collectionList"
  95. :option="collectionOption"
  96. ref="collection"
  97. @resetColumn="resetColumnCollection"
  98. @saveColumn="saveColumnCollection"
  99. @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
  100. @row-update="rowSave">
  101. <template slot-scope="{row,index}" slot="menu">
  102. <!-- <el-button-->
  103. <!-- type="text"-->
  104. <!-- size="small"-->
  105. <!-- :disabled="goodsForm.status === 1"-->
  106. <!-- :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"-->
  107. <!-- @click="rowCell(row,index)"-->
  108. <!-- >{{ row.$cellEdit ? '保存' : '编辑' }}-->
  109. <!-- </el-button>-->
  110. <!-- <el-button type="text"-->
  111. <!-- icon="el-icon-delete"-->
  112. <!-- size="small"-->
  113. <!-- :disabled="goodsForm.status === 1"-->
  114. <!-- @click="$refs.collection.rowDel(row,index)"-->
  115. <!-- >删除-->
  116. <!-- </el-button>-->
  117. <el-button
  118. size="small"
  119. type="text"
  120. icon="el-icon-s-order"
  121. @click="annexOpen(row, index)"
  122. >附 件
  123. </el-button>
  124. </template>
  125. <template slot="menuLeft">
  126. <!-- <el-button-->
  127. <!-- type="primary"-->
  128. <!-- icon="el-icon-plus"-->
  129. <!-- :disabled="goodsForm.status !== 0"-->
  130. <!-- @click="addRowCollection"-->
  131. <!-- size="small">录入明细</el-button>-->
  132. </template>
  133. </avue-crud>
  134. <span slot="footer" class="dialog-footer">
  135. <el-button @click="incidentalType = false" size="small">取 消</el-button>
  136. <el-button type="primary" size="small" v-if="collectionList.length>0"
  137. @click="incidentalClick">{{ confirmStatus == 0 ? '杂费确认' : '杂费取消' }}</el-button>
  138. </span>
  139. </el-dialog>
  140. <el-dialog
  141. title="附件"
  142. :visible.sync="enclosure"
  143. append-to-body
  144. width="70%">
  145. <c-upload
  146. typeUpload="GZ"
  147. :basic="true"
  148. disabled
  149. deleteUrl="/api/blade-client/common-file/remove"
  150. :data="orderList"
  151. :enumerationValue="76"
  152. ></c-upload>
  153. <span slot="footer" class="dialog-footer">
  154. <el-button @click="enclosure = false" size="small">取 消</el-button>
  155. </span>
  156. </el-dialog>
  157. <track-playback :dialogVisible="dialogVisibleTwo" v-loading="loadingDialog" :parkingPoint="parkingPoint"
  158. :lineArr="lineArr"
  159. ref="playback"></track-playback>
  160. </basic-container>
  161. </div>
  162. </template>
  163. <script>
  164. import {
  165. acceptanceCollection,
  166. acceptanceDispatchCollection,
  167. confirmCompletion,
  168. fleetList,
  169. motorcadeDriver,
  170. fleetDriverSave,
  171. getAttachment,
  172. saveAttached,
  173. incidental,
  174. getFee,
  175. incidentalConfirm,
  176. cancelConfirm, standingBookCollection
  177. } from "@/api/landTransportation";
  178. import {getToken} from "@/util/auth";
  179. import {gaude} from "@/api/gaude";
  180. import {getSalesman} from "@/api/landTransportation/bulkCargo";
  181. import { dateFormat } from "@/util/date";
  182. export default {
  183. name: "index",
  184. data() {
  185. return {
  186. key: 0,
  187. form: {},
  188. enclosure: false,
  189. dialogVisibleTwo: false,
  190. loadingDialog: false,
  191. lineArr: [],
  192. parkingPoint: [],
  193. orderList: [],
  194. collectionOptionBackup: {
  195. align: 'center',
  196. menuAlign: 'center',
  197. refreshBtn: false,
  198. index: true,
  199. // menu:false,
  200. cancelBtn: false,
  201. editBtn: false,
  202. delBtn: false,
  203. cellBtn: false,
  204. addBtn: false,
  205. addRowBtn: false,
  206. showSummary: true,
  207. addBtnText: '录入明细',
  208. summaryText: "合计",
  209. sumColumnList: [{
  210. name: 'price',
  211. type: 'sum',
  212. decimals: 2
  213. }, {
  214. name: 'amount',
  215. type: 'sum',
  216. decimals: 2
  217. }, {
  218. name: 'quantity',
  219. type: 'sum',
  220. decimals: 0
  221. }],
  222. column: [
  223. {
  224. label: '费用名称',
  225. slot: true,
  226. prop: 'feeName'
  227. }, {
  228. label: '金额',
  229. cell: true,
  230. prop: 'amount'
  231. }, {
  232. label: '车号',
  233. prop: 'plateNo'
  234. }, {
  235. label: '备注',
  236. prop: 'remarks'
  237. }
  238. ]
  239. },
  240. collectionOption: {},
  241. collectionList: [],
  242. dialogVisible: false,
  243. loading: false,
  244. incidentalType: false,
  245. confirmStatus: 0,
  246. activeName: '',
  247. query: {},
  248. page: {
  249. pageSize: 10,
  250. currentPage: 1,
  251. total: 0,
  252. pageSizes: [10, 50, 100, 200, 300, 500, 1000]
  253. },
  254. roleName: localStorage.getItem("roleName").split(','),
  255. goodsList: [],
  256. goodsOptionCrud: {},
  257. totalData: {},
  258. optionList: {},
  259. //客户
  260. optionListOne: {
  261. stripe: true,
  262. index: true,
  263. addBtn: false,
  264. delBtn: false,
  265. cellBtn: false,
  266. cancelBtn: false,
  267. editBtn: false,
  268. addRowBtn: false,
  269. refreshBtn: false,
  270. searchIcon: true,
  271. searchIndex: 2,
  272. searchSpan: 8,
  273. menuWidth: 140,
  274. menu: true,
  275. searchMenuPosition: "right",
  276. searchMenuSpan: 6,
  277. align: 'center',
  278. height: "auto",
  279. showSummary: true,
  280. summaryText: "合计",
  281. sumColumnList: [
  282. {
  283. name: 'landWeight',
  284. type: 'sum',
  285. decimals: 2
  286. }, {
  287. name: 'landAmountC',
  288. type: 'sum',
  289. decimals: 2
  290. }, {
  291. name: 'ctnQuantity',
  292. type: 'count'
  293. }, {
  294. name: 'oneFeeC',
  295. type: 'sum',
  296. decimals: 2
  297. }, {
  298. name: 'twoFeeC',
  299. type: 'sum',
  300. decimals: 2
  301. }, {
  302. name: 'threeFeeC',
  303. type: 'sum',
  304. decimals: 2
  305. }, {
  306. name: 'fourFeeC',
  307. type: 'sum',
  308. decimals: 2
  309. }, {
  310. name: 'fiveFeeC',
  311. type: 'sum',
  312. decimals: 2
  313. }, {
  314. name: 'oneFeeD',
  315. type: 'sum',
  316. decimals: 2
  317. }, {
  318. name: 'twoFeeD',
  319. type: 'sum',
  320. decimals: 2
  321. }, {
  322. name: 'threeFeeD',
  323. type: 'sum',
  324. decimals: 2
  325. }, {
  326. name: 'fourFeeD',
  327. type: 'sum',
  328. decimals: 2
  329. }, {
  330. name: 'fiveFeeD',
  331. type: 'sum',
  332. decimals: 2
  333. }, {
  334. name: 'profit',
  335. type: 'sum',
  336. decimals: 2
  337. }, {
  338. name: 'extraAmountC',
  339. type: 'sum',
  340. decimals: 2
  341. }, {
  342. name: 'landAmountD',
  343. type: 'sum',
  344. decimals: 2
  345. }, {
  346. name: 'extraAmountD',
  347. type: 'sum',
  348. decimals: 2
  349. }],
  350. column: [ {
  351. label: '货运日期',
  352. prop: 'arrivalTime',
  353. overHidden: true,
  354. type: "date",
  355. searchRange: true,
  356. defaultTime: ['00:00:00', '23:59:59'],
  357. format: "yyyy-MM-dd HH:mm",
  358. valueFormat: "yyyy-MM-dd HH:mm:ss",
  359. index: 2,
  360. width: 126,
  361. search: true,
  362. }, {
  363. label: '车号',
  364. prop: 'plateNo',
  365. index: 11,
  366. width: 90,
  367. search: true,
  368. overHidden: true,
  369. },{
  370. label: '客户名称',
  371. prop: 'corpShortName',
  372. overHidden: true,
  373. index: 1,
  374. width: 100,
  375. search: true,
  376. }, {
  377. label: '业务员',
  378. prop: 'salesmanName',
  379. index: 3,
  380. width: 70,
  381. searchProp: 'salesman',
  382. search: true,
  383. overHidden: true,
  384. filterable: true,
  385. type: "select",
  386. dicUrl: "/api/blade-user/userList?roleAlias=业务员",
  387. props: {
  388. label: "realName",
  389. value: "id"
  390. }
  391. }, {
  392. label: '物流运输',
  393. prop: 'dispatchDept',
  394. search: true,
  395. dicUrl: "/api/blade-system/dept/top-list?deptCategory=1",
  396. type: "select",
  397. props: {
  398. label: "deptName",
  399. value: "id"
  400. },
  401. overHidden: true,
  402. index: 4,
  403. width: 80
  404. }, {
  405. label: '运输调度',
  406. prop: 'dispatcherName',
  407. overHidden: true,
  408. index: 5,
  409. width: 70,
  410. }, {
  411. label: '派车单号',
  412. width: 80,
  413. index: 5,
  414. overHidden: true,
  415. search: true,
  416. prop: 'dispatchNumber'
  417. }, {
  418. label: '合同号',
  419. width: 90,
  420. index: 6,
  421. overHidden: true,
  422. search: true,
  423. prop: 'contractNo'
  424. }, {
  425. label: '装货地点',
  426. prop: 'addressDetail',
  427. index: 7,
  428. width: 132,
  429. }, {
  430. label: '卸货地点',
  431. prop: 'unloadingPlace',
  432. index: 8,
  433. width: 132,
  434. }, {
  435. label: '车型',
  436. width: 90,
  437. index: 9,
  438. prop: 'fleetVolum'
  439. }, {
  440. label: '车队',
  441. prop: 'fleetId',
  442. index: 10,
  443. width: 90,
  444. type: 'select',
  445. dicUrl: "/api/blade-client/corpsdesc/fleetList",
  446. filterable: true,
  447. props: {
  448. label: "shortName",
  449. value: "id"
  450. },
  451. cascader: ['plateNo'],
  452. search: true,
  453. overHidden: true,
  454. }, {
  455. label: '应收运费',
  456. overHidden: true,
  457. index: 12,
  458. width: 100,
  459. prop: 'landAmountD'
  460. }, {
  461. label: '应收杂费',
  462. prop: 'extraAmountD',
  463. index: 13,
  464. width: 100,
  465. overHidden: true,
  466. }, {
  467. label: '备注',
  468. prop: 'remarks',
  469. index: 14,
  470. width: 100,
  471. overHidden: true,
  472. },{
  473. label: '应收杂费明细',
  474. width: 100,
  475. index: 15,
  476. overHidden: true,
  477. prop: 'extraAmountItemD'
  478. }]
  479. },
  480. //平台
  481. optionListTwo: {
  482. stripe: true,
  483. index: true,
  484. addBtn: false,
  485. delBtn: false,
  486. cellBtn: false,
  487. cancelBtn: false,
  488. editBtn: false,
  489. addRowBtn: false,
  490. refreshBtn: false,
  491. searchIcon: true,
  492. searchIndex: 2,
  493. searchSpan: 8,
  494. menuWidth: 140,
  495. menu: true,
  496. searchMenuPosition: "right",
  497. searchMenuSpan: 6,
  498. align: 'center',
  499. height: "auto",
  500. showSummary: true,
  501. summaryText: "合计",
  502. sumColumnList: [
  503. {
  504. name: 'landWeight',
  505. type: 'sum',
  506. decimals: 2
  507. }, {
  508. name: 'landAmountC',
  509. type: 'sum',
  510. decimals: 2
  511. }, {
  512. name: 'ctnQuantity',
  513. type: 'count'
  514. }, {
  515. name: 'oneFeeC',
  516. type: 'sum',
  517. decimals: 2
  518. }, {
  519. name: 'twoFeeC',
  520. type: 'sum',
  521. decimals: 2
  522. }, {
  523. name: 'threeFeeC',
  524. type: 'sum',
  525. decimals: 2
  526. }, {
  527. name: 'fourFeeC',
  528. type: 'sum',
  529. decimals: 2
  530. }, {
  531. name: 'fiveFeeC',
  532. type: 'sum',
  533. decimals: 2
  534. }, {
  535. name: 'oneFeeD',
  536. type: 'sum',
  537. decimals: 2
  538. }, {
  539. name: 'twoFeeD',
  540. type: 'sum',
  541. decimals: 2
  542. }, {
  543. name: 'threeFeeD',
  544. type: 'sum',
  545. decimals: 2
  546. }, {
  547. name: 'fourFeeD',
  548. type: 'sum',
  549. decimals: 2
  550. }, {
  551. name: 'fiveFeeD',
  552. type: 'sum',
  553. decimals: 2
  554. }, {
  555. name: 'profit',
  556. type: 'sum',
  557. decimals: 2
  558. }, {
  559. name: 'extraAmountC',
  560. type: 'sum',
  561. decimals: 2
  562. }, {
  563. name: 'landAmountD',
  564. type: 'sum',
  565. decimals: 2
  566. }, {
  567. name: 'extraAmountD',
  568. type: 'sum',
  569. decimals: 2
  570. }],
  571. column: [ {
  572. label: '货运日期',
  573. prop: 'arrivalTime',
  574. overHidden: true,
  575. type: "date",
  576. searchRange: true,
  577. defaultTime: ['00:00:00', '23:59:59'],
  578. format: "yyyy-MM-dd HH:mm",
  579. valueFormat: "yyyy-MM-dd HH:mm:ss",
  580. index: 2,
  581. width: 126,
  582. search: true,
  583. }, {
  584. label: '车号',
  585. prop: 'plateNo',
  586. index: 11,
  587. width: 90,
  588. search: true,
  589. overHidden: true,
  590. },{
  591. label: '客户名称',
  592. prop: 'corpShortName',
  593. overHidden: true,
  594. index: 1,
  595. width: 100,
  596. search: true,
  597. }, {
  598. label: '业务员',
  599. prop: 'salesmanName',
  600. index: 3,
  601. width: 70,
  602. searchProp: 'salesman',
  603. search: true,
  604. overHidden: true,
  605. filterable: true,
  606. type: "select",
  607. dicUrl: "/api/blade-user/userList?roleAlias=业务员",
  608. props: {
  609. label: "realName",
  610. value: "id"
  611. }
  612. }, {
  613. label: '运输调度',
  614. prop: 'dispatcherName',
  615. overHidden: true,
  616. index: 4,
  617. width: 70,
  618. }, {
  619. label: '派车单号',
  620. width: 80,
  621. index: 5,
  622. overHidden: true,
  623. search: true,
  624. prop: 'dispatchNumber'
  625. }, {
  626. label: '合同号',
  627. width: 90,
  628. index: 6,
  629. overHidden: true,
  630. search: true,
  631. prop: 'contractNo'
  632. }, {
  633. label: '装货地点',
  634. prop: 'addressDetail',
  635. index: 7,
  636. width: 132,
  637. }, {
  638. label: '卸货地点',
  639. prop: 'unloadingPlace',
  640. index: 8,
  641. width: 132,
  642. }, {
  643. label: '车型',
  644. width: 90,
  645. index: 9,
  646. prop: 'fleetVolum'
  647. }, {
  648. label: '车队',
  649. prop: 'fleetId',
  650. type: 'select',
  651. dicUrl: "/api/blade-client/corpsdesc/fleetList",
  652. filterable: true,
  653. props: {
  654. label: "shortName",
  655. value: "id"
  656. },
  657. index: 10,
  658. width: 90,
  659. cascader: ['plateNo'],
  660. search: true,
  661. overHidden: true,
  662. }, {
  663. label: '应收运费',
  664. overHidden: true,
  665. index: 12,
  666. width: 100,
  667. prop: 'landAmountD'
  668. }, {
  669. label: '应收杂费',
  670. prop: 'extraAmountD',
  671. index: 13,
  672. width: 100,
  673. overHidden: true,
  674. }, {
  675. label: '备注',
  676. prop: 'remarks',
  677. index: 14,
  678. width: 100,
  679. overHidden: true,
  680. }, {
  681. label: '应付运费',
  682. prop: 'landAmountC',
  683. index: 15,
  684. width: 100,
  685. overHidden: true,
  686. }, {
  687. label: '应付杂费',
  688. prop: 'extraAmountC',
  689. index: 16,
  690. width: 100,
  691. overHidden: true
  692. }, {
  693. label: '应收杂费明细',
  694. width: 100,
  695. index: 18,
  696. overHidden: true,
  697. prop: 'extraAmountItemD'
  698. }, {
  699. label: '应付杂费明细',
  700. width: 100,
  701. index: 19,
  702. overHidden: true,
  703. prop: 'extraAmountItemC'
  704. }]
  705. },
  706. //车队
  707. optionListThree: {
  708. stripe: true,
  709. index: true,
  710. addBtn: false,
  711. delBtn: false,
  712. cellBtn: false,
  713. cancelBtn: false,
  714. editBtn: false,
  715. addRowBtn: false,
  716. refreshBtn: false,
  717. searchIcon: true,
  718. searchIndex: 2,
  719. searchSpan: 8,
  720. menuWidth: 140,
  721. menu: true,
  722. searchMenuPosition: "right",
  723. searchMenuSpan: 6,
  724. align: 'center',
  725. height: "auto",
  726. showSummary: true,
  727. summaryText: "合计",
  728. sumColumnList: [
  729. {
  730. name: 'landWeight',
  731. type: 'sum',
  732. decimals: 2
  733. }, {
  734. name: 'landAmountC',
  735. type: 'sum',
  736. decimals: 2
  737. }, {
  738. name: 'ctnQuantity',
  739. type: 'count'
  740. }, {
  741. name: 'oneFeeC',
  742. type: 'sum',
  743. decimals: 2
  744. }, {
  745. name: 'twoFeeC',
  746. type: 'sum',
  747. decimals: 2
  748. }, {
  749. name: 'threeFeeC',
  750. type: 'sum',
  751. decimals: 2
  752. }, {
  753. name: 'fourFeeC',
  754. type: 'sum',
  755. decimals: 2
  756. }, {
  757. name: 'fiveFeeC',
  758. type: 'sum',
  759. decimals: 2
  760. }, {
  761. name: 'oneFeeD',
  762. type: 'sum',
  763. decimals: 2
  764. }, {
  765. name: 'twoFeeD',
  766. type: 'sum',
  767. decimals: 2
  768. }, {
  769. name: 'threeFeeD',
  770. type: 'sum',
  771. decimals: 2
  772. }, {
  773. name: 'fourFeeD',
  774. type: 'sum',
  775. decimals: 2
  776. }, {
  777. name: 'fiveFeeD',
  778. type: 'sum',
  779. decimals: 2
  780. }, {
  781. name: 'profit',
  782. type: 'sum',
  783. decimals: 2
  784. }, {
  785. name: 'extraAmountC',
  786. type: 'sum',
  787. decimals: 2
  788. }, {
  789. name: 'landAmountD',
  790. type: 'sum',
  791. decimals: 2
  792. }, {
  793. name: 'extraAmountD',
  794. type: 'sum',
  795. decimals: 2
  796. }],
  797. column: [{
  798. label: '货运日期',
  799. prop: 'arrivalTime',
  800. overHidden: true,
  801. type: "date",
  802. searchRange: true,
  803. defaultTime: ['00:00:00', '23:59:59'],
  804. format: "yyyy-MM-dd HH:mm",
  805. valueFormat: "yyyy-MM-dd HH:mm:ss",
  806. index: 1,
  807. width: 126,
  808. searchOrder:1,
  809. search: true,
  810. }, {
  811. label: '车号',
  812. prop: 'plateNo',
  813. index: 10,
  814. width: 90,
  815. search: true,
  816. searchOrder:2,
  817. overHidden: true,
  818. }, {
  819. label: '物流运输',
  820. prop: 'dispatchDept',
  821. search: true,
  822. dicUrl: "/api/blade-system/dept/top-list?deptCategory=1",
  823. type: "select",
  824. props: {
  825. label: "deptName",
  826. value: "id"
  827. },
  828. overHidden: true,
  829. index: 2,
  830. width: 80
  831. }, {
  832. label: '运输调度',
  833. prop: 'dispatcherName',
  834. overHidden: true,
  835. index: 3,
  836. width: 70,
  837. }, {
  838. label: '派车单号',
  839. width: 80,
  840. index: 4,
  841. overHidden: true,
  842. search: true,
  843. prop: 'dispatchNumber'
  844. }, {
  845. label: '合同号',
  846. width: 90,
  847. index: 5,
  848. overHidden: true,
  849. search: true,
  850. prop: 'contractNo'
  851. }, {
  852. label: '装货地点',
  853. prop: 'addressDetail',
  854. index: 6,
  855. width: 132,
  856. }, {
  857. label: '卸货地点',
  858. prop: 'unloadingPlace',
  859. index: 7,
  860. width: 132,
  861. }, {
  862. label: '车型',
  863. width: 90,
  864. index: 8,
  865. prop: 'fleetVolum'
  866. }, {
  867. label: '车队',
  868. prop: 'fleetId',
  869. type: 'select',
  870. dicUrl: "/api/blade-client/corpsdesc/fleetList",
  871. filterable: true,
  872. props: {
  873. label: "shortName",
  874. value: "id"
  875. },
  876. index: 9,
  877. width: 90,
  878. cascader: ['plateNo'],
  879. search: true,
  880. overHidden: true,
  881. }, {
  882. label: '应付运费',
  883. prop: 'landAmountC',
  884. index: 11,
  885. width: 100,
  886. overHidden: true,
  887. }, {
  888. label: '应付杂费',
  889. prop: 'extraAmountC',
  890. index: 12,
  891. width: 100,
  892. overHidden: true
  893. }, {
  894. label: '备注',
  895. prop: 'remarks',
  896. index: 13,
  897. width: 100,
  898. overHidden: true,
  899. }, {
  900. label: '应付杂费明细',
  901. width: 100,
  902. index: 14,
  903. overHidden: true,
  904. prop: 'extraAmountItemC'
  905. }]
  906. }
  907. }
  908. },
  909. watch: {
  910. goodsOptionCrud: {
  911. handler(newValue, oldValue) {
  912. console.log(this.goodsOptionCrud)
  913. if (localStorage.getItem("roleName") == "平台,调度派单") {
  914. this.findObject(this.goodsOptionCrud.column, "landAmountD").hide = true
  915. this.findObject(this.goodsOptionCrud.column, "landAmountD").showColumn = false
  916. this.findObject(this.goodsOptionCrud.column, "extraAmountD").hide = true
  917. this.findObject(this.goodsOptionCrud.column, "extraAmountD").showColumn = false
  918. this.findObject(this.goodsOptionCrud.column, "landAmountC").hide = true
  919. this.findObject(this.goodsOptionCrud.column, "landAmountC").showColumn = false
  920. this.findObject(this.goodsOptionCrud.column, "extraAmountC").hide = true
  921. this.findObject(this.goodsOptionCrud.column, "extraAmountC").showColumn = false
  922. this.findObject(this.goodsOptionCrud.column, "extraAmountItemD").hide = true
  923. this.findObject(this.goodsOptionCrud.column, "extraAmountItemD").showColumn = false
  924. this.findObject(this.goodsOptionCrud.column, "extraAmountItemC").hide = true
  925. this.findObject(this.goodsOptionCrud.column, "extraAmountItemC").showColumn = false
  926. }
  927. }
  928. }
  929. },
  930. async created() {
  931. if (this.roleName.indexOf('客户') !== -1 || this.roleName.indexOf('散货经理') !== -1) {
  932. this.optionList = this.optionListOne
  933. } else if (this.roleName.indexOf('平台') !== -1||this.roleName.indexOf('admin') !== -1) {
  934. this.optionList = this.optionListTwo
  935. } else if (this.roleName.indexOf('车队') !== -1) {
  936. this.optionList = this.optionListThree
  937. } else {
  938. this.optionList = this.optionListOne
  939. }
  940. if (this.roleName.indexOf('admin') !== -1 || this.roleName.indexOf('总调度') !== -1){
  941. let type = false
  942. for (let item in this.optionList.column){
  943. if (this.optionList.column[item].prop == 'profit'){
  944. type = true
  945. }
  946. }
  947. if (!type){
  948. this.optionList.column.push({
  949. label: '利润',
  950. width: 80,
  951. precision: 2,
  952. index: 17,
  953. type: 'number',
  954. prop: 'profit'
  955. })
  956. }
  957. }else {
  958. for (let item in this.optionList.column){
  959. if (this.optionList.column[item].prop == 'profit'){
  960. this.optionList.column.splice(item, 1);
  961. }
  962. }
  963. }
  964. this.goodsOptionCrud = await this.getColumnData(this.getColumnName(88.3), this.optionList);
  965. // if (this.roleName.indexOf('admin') !== -1 || this.roleName.indexOf('总调度') !== -1){
  966. // this.goodsOptionCrud.column.push({
  967. // label: '利润',
  968. // width: 80,
  969. // precision: 2,
  970. // index: 17,
  971. // type: 'number',
  972. // prop: 'profit'
  973. // })
  974. // }else {
  975. // for (let item in this.goodsOptionCrud.column){
  976. // if (this.goodsOptionCrud.column[item].prop == 'profit'){
  977. // this.goodsOptionCrud.column.splice(item, 1);
  978. // }
  979. // }
  980. // }
  981. this.collectionOption = await this.getColumnData(this.getColumnName(88.2), this.collectionOptionBackup);
  982. getSalesman().then(res=>{
  983. this.findObject(this.goodsOptionCrud.column, "salesmanName").dicData = res.data.data
  984. })
  985. this.key++
  986. this.calculateHu()
  987. },
  988. methods: {
  989. calculateHu() {
  990. let i = 0;
  991. this.goodsOptionCrud.column.forEach(item => {
  992. if (item.search === true) i++
  993. })
  994. if (i % 3 !== 0) {
  995. const num = 3 - Number(i % 3)
  996. this.goodsOptionCrud.searchMenuSpan = num * 8;
  997. this.goodsOptionCrud.searchMenuPosition = "right";
  998. }else {
  999. this.goodsOptionCrud.searchMenuSpan = 3 * 8;
  1000. this.goodsOptionCrud.searchMenuPosition = "right";
  1001. }
  1002. if (this.roleName.indexOf('调度中心业务员') !== -1 || this.roleName.indexOf('调度中心经理') !== -1){
  1003. this.goodsOptionCrud.menu = false
  1004. this.findObject(this.goodsOptionCrud.column, "landAmountD").hide = true
  1005. this.findObject(this.goodsOptionCrud.column, "landAmountD").showColumn = false
  1006. this.findObject(this.goodsOptionCrud.column, "extraAmountD").hide = true
  1007. this.findObject(this.goodsOptionCrud.column, "extraAmountD").showColumn = false
  1008. this.findObject(this.goodsOptionCrud.column, "extraAmountItemD").hide = true
  1009. this.findObject(this.goodsOptionCrud.column, "extraAmountItemD").showColumn = false
  1010. }
  1011. },
  1012. openTrack(row) {
  1013. gaude({itemId: row.id, plateNo: row.plateNo, tenantId: '234557', color: '2'}).then(res => {
  1014. this.lineArr = res.data.data.trackArray
  1015. res.data.data.parkArray.forEach((e,index)=>{
  1016. if((res.data.data.parkArray.length-1)==index){
  1017. e.color='rgb(255, 162, 30)'
  1018. }
  1019. e.time="停车时间:"+dateFormat(new Date(e.bte*1),'yyyy-MM-dd hh:mm:ss')+"至"+dateFormat(new Date(e.ete*1),'yyyy-MM-dd hh:mm:ss')
  1020. })
  1021. this.parkingPoint = res.data.data.parkArray
  1022. this.dialogVisibleTwo = true
  1023. this.loadingDialog = true
  1024. let this_ = this
  1025. setTimeout(function () {
  1026. // this_.$refs.playback.initMap();
  1027. this_.loadingDialog = false
  1028. }, 1500)
  1029. })
  1030. },
  1031. //导出
  1032. outExport() {
  1033. this.$confirm('是否导出数据明细?', '提示', {
  1034. confirmButtonText: '确定',
  1035. cancelButtonText: '取消',
  1036. type: 'warning'
  1037. }).then(() => {
  1038. let queryParams = this.query
  1039. if (queryParams.arrivalTime) {
  1040. queryParams.beginArrivalTime = queryParams.arrivalTime[0]
  1041. queryParams.endArrivalTime = queryParams.arrivalTime[1]
  1042. delete queryParams.arrivalTime
  1043. }
  1044. const routeData = this.$router.resolve({
  1045. path: '/api/blade-land/order/bulkCargo-export', //跳转目标窗口的地址
  1046. query: {
  1047. 'Blade-Auth':getToken(),
  1048. ...queryParams //括号内是要传递给新窗口的参数
  1049. }
  1050. })
  1051. window.open(routeData.href.slice(1, routeData.href.length));
  1052. }).catch(() => {
  1053. this.$message({
  1054. type: 'info',
  1055. message: '已取消'
  1056. });
  1057. })
  1058. },
  1059. //自定义列保存
  1060. async saveColumnCollection() {
  1061. /**
  1062. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1063. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1064. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1065. */
  1066. const inSave = await this.saveColumnData(this.getColumnName(88.2), this.collectionOption);
  1067. if (inSave) {
  1068. this.$message.success("保存成功");
  1069. //关闭窗口
  1070. this.$refs.collection.$refs.dialogColumn.columnBox = false;
  1071. }
  1072. },
  1073. //自定义列重置
  1074. async resetColumnCollection() {
  1075. this.collectionOption = this.collectionOptionBackup;
  1076. const inSave = await this.delColumnData(this.getColumnName(88.2), this.collectionOptionBackup);
  1077. if (inSave) {
  1078. this.$message.success("重置成功");
  1079. this.$refs.collection.$refs.dialogColumn.columnBox = false;
  1080. }
  1081. },
  1082. //自定义列保存
  1083. async saveColumn() {
  1084. /**
  1085. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1086. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1087. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1088. */
  1089. const inSave = await this.saveColumnData(this.getColumnName(88.3), this.goodsOptionCrud);
  1090. if (inSave) {
  1091. this.$message.success("保存成功");
  1092. //关闭窗口
  1093. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  1094. }
  1095. },
  1096. //自定义列重置
  1097. async resetColumn() {
  1098. this.goodsOptionCrud = this.optionList;
  1099. const inSave = await this.delColumnData(this.getColumnName(88.3), this.optionList);
  1100. if (inSave) {
  1101. this.$message.success("重置成功");
  1102. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  1103. if (this.roleName.indexOf('调度中心业务员') !== -1 || this.roleName.indexOf('调度中心经理') !== -1){
  1104. this.goodsOptionCrud.menu = false
  1105. this.findObject(this.goodsOptionCrud.column, "landAmountD").hide = true
  1106. this.findObject(this.goodsOptionCrud.column, "landAmountD").showColumn = false
  1107. this.findObject(this.goodsOptionCrud.column, "extraAmountD").hide = true
  1108. this.findObject(this.goodsOptionCrud.column, "extraAmountD").showColumn = false
  1109. this.findObject(this.goodsOptionCrud.column, "extraAmountItemD").hide = true
  1110. this.findObject(this.goodsOptionCrud.column, "extraAmountItemD").showColumn = false
  1111. }
  1112. }
  1113. },
  1114. //行跳转
  1115. celJump(row, index) {
  1116. this.$router.push({
  1117. path: '/landTransportation/bulkCargo/index',
  1118. query: {id: '台账' + row.orderId},
  1119. });
  1120. },
  1121. // 获得高度
  1122. searchCriteriaSwitch(type) {
  1123. if (type) {
  1124. this.goodsOptionCrud.height = this.goodsOptionCrud.height - 90
  1125. } else {
  1126. this.goodsOptionCrud.height = this.goodsOptionCrud.height + 90
  1127. }
  1128. this.$refs.crud.getTableHeight()
  1129. },
  1130. //箱信息保存
  1131. rowSave(row, index, done, loading) {
  1132. done()
  1133. },
  1134. //箱信息选择车队
  1135. getfleetIdT(data, row) {
  1136. this.$set(row, 'fleetName', data.cname)
  1137. },
  1138. //搜索
  1139. searchChange(params, done) {
  1140. this.query = params;
  1141. this.onLoad(this.page, params)
  1142. done();
  1143. },
  1144. //切换订单状态
  1145. handleClick(tab) {
  1146. this.activeName = tab
  1147. this.onLoad(this.page)
  1148. },
  1149. //删除对象空值
  1150. removeProperty(obj) {
  1151. Object.keys(obj).forEach(item => {
  1152. if (obj[item] === '' || obj[item] === undefined || obj[item] === null || obj[item] === 'null') delete obj[item]
  1153. })
  1154. return obj
  1155. },
  1156. //查询
  1157. onLoad(page, params) {
  1158. motorcadeDriver({tag:4}).then(res => {
  1159. this.totalData = res.data.data
  1160. })
  1161. let queryParams = {
  1162. size: page.pageSize,
  1163. current: page.currentPage,
  1164. tag: '0',
  1165. shippingMode: '散货',
  1166. ...params ? params : this.query
  1167. }
  1168. if (queryParams.arrivalTime) {
  1169. queryParams.beginArrivalTime = queryParams.arrivalTime[0]
  1170. queryParams.endArrivalTime = queryParams.arrivalTime[1]
  1171. delete queryParams.arrivalTime
  1172. }
  1173. queryParams = this.removeProperty(queryParams)
  1174. this.loading = true;
  1175. if (this.loading) this.dialogVisibleTwo = false
  1176. standingBookCollection(queryParams).then(res => {
  1177. this.goodsList = res.data.data.records
  1178. this.page.total = res.data.data.total
  1179. this.goodsOptionCrud.height = window.innerHeight - 245;
  1180. }).finally(() => {
  1181. this.loading = false;
  1182. })
  1183. },
  1184. //箱信息保存
  1185. rowSaveT(row, index, done, loading) {
  1186. if (row.$cellEdit) {
  1187. fleetDriverSave(row).then(res => {
  1188. this.$message.success("保存成功");
  1189. })
  1190. }
  1191. this.$refs.crud.rowCell(row, index)
  1192. },
  1193. //箱信息派车
  1194. designate(row) {
  1195. this.$confirm('是否确定受理', '提示', {
  1196. confirmButtonText: '确定',
  1197. cancelButtonText: '取消',
  1198. type: 'warning'
  1199. }).then(() => {
  1200. acceptanceCollection(row).then(res => {
  1201. this.$message.success('操作成功');
  1202. this.onLoad(this.page)
  1203. })
  1204. }).catch(() => {
  1205. this.$message({
  1206. type: 'info',
  1207. message: '已取消'
  1208. });
  1209. });
  1210. },
  1211. //取消派车
  1212. cancelDesignate(row) {
  1213. this.$confirm('是否确定取消受理', '提示', {
  1214. confirmButtonText: '确定',
  1215. cancelButtonText: '取消',
  1216. type: 'warning'
  1217. }).then(() => {
  1218. acceptanceDispatchCollection({id: row.id}).then(res => {
  1219. this.$message.success('操作成功');
  1220. this.onLoad(this.page)
  1221. })
  1222. }).catch(() => {
  1223. this.$message({
  1224. type: 'info',
  1225. message: '已取消'
  1226. });
  1227. });
  1228. },
  1229. confirmCompletion(row) {
  1230. this.$confirm('是否确定完工', '提示', {
  1231. confirmButtonText: '确定',
  1232. cancelButtonText: '取消',
  1233. type: 'warning'
  1234. }).then(() => {
  1235. confirmCompletion({id: row.id}).then(res => {
  1236. this.$message.success('操作成功');
  1237. this.onLoad(this.page)
  1238. })
  1239. }).catch(() => {
  1240. this.$message({
  1241. type: 'info',
  1242. message: '已取消'
  1243. });
  1244. });
  1245. },
  1246. //打开附件
  1247. annexOpen(row, index) {
  1248. this.enclosure = true
  1249. this.formAnnex = row
  1250. getFee({id: row.id}).then(res => {
  1251. this.orderList = res.data.data
  1252. })
  1253. },
  1254. //保存
  1255. saveAnnex() {
  1256. saveAttached({
  1257. id: this.form.id,
  1258. fileList: this.orderList
  1259. }).then(res => {
  1260. this.annexOpen(this.form)
  1261. })
  1262. },
  1263. ToBreak(val) {
  1264. if (val) return val.replace(/\n/g, '<br/>')
  1265. },
  1266. incidentalConfirm(row) {
  1267. incidental({
  1268. orderId: row.orderId,
  1269. itemId: row.itemId,
  1270. plateNo: row.plateNo,
  1271. type: '1'
  1272. }).then(res => {
  1273. this.collectionList = res.data.data
  1274. this.incidentalType = true
  1275. this.confirmStatus = row.confirmStatus
  1276. })
  1277. },
  1278. incidentalClick() {
  1279. if (this.confirmStatus == 0) {
  1280. incidentalConfirm({orderId: this.collectionList[0].orderId}).then(res => {
  1281. this.$message.success("确认成功");
  1282. this.onLoad(this.page)
  1283. })
  1284. } else {
  1285. cancelConfirm({orderId: this.collectionList[0].orderId}).then(res => {
  1286. this.$message.success("取消成功");
  1287. this.onLoad(this.page)
  1288. })
  1289. }
  1290. this.incidentalType = false
  1291. }
  1292. }
  1293. }
  1294. </script>
  1295. <style lang="scss" scoped>
  1296. .home-container {
  1297. padding: 0px 5px 5px 5px;
  1298. box-sizing: border-box;
  1299. height: 100%;
  1300. ::v-deep .el-card__body {
  1301. padding: 10px 15px;
  1302. font-size: 14px;
  1303. }
  1304. &__card {
  1305. width: 100%;
  1306. height: 100%;
  1307. }
  1308. .title {
  1309. display: flex;
  1310. justify-content: space-between;
  1311. .right {
  1312. display: flex;
  1313. align-items: center;
  1314. &_but {
  1315. margin-right: 10px;
  1316. border: 1px solid #409eff;
  1317. width: 80px;
  1318. border-radius: 3px;
  1319. display: flex;
  1320. &_left {
  1321. width: 40px;
  1322. text-align: center;
  1323. color: #409eff;
  1324. cursor: pointer;
  1325. }
  1326. &_right {
  1327. width: 40px;
  1328. text-align: center;
  1329. color: #409eff;
  1330. cursor: pointer;
  1331. }
  1332. &_active {
  1333. color: #fff;
  1334. background-color: #409eff;
  1335. }
  1336. }
  1337. }
  1338. }
  1339. }
  1340. .content {
  1341. display: flex;
  1342. justify-content: center;
  1343. align-items: center;
  1344. height: 6vh;
  1345. width: 80vw;
  1346. .divider {
  1347. display: block;
  1348. height: 0px;
  1349. width: 100%;
  1350. border-top: 1px dashed #dcdfe6;
  1351. }
  1352. &-item {
  1353. margin-left: 1vw;
  1354. .card {
  1355. width: 130px;
  1356. display: flex;
  1357. align-items: center;
  1358. &-title {
  1359. width: 40px;
  1360. height: 40px;
  1361. text-align: center;
  1362. border-radius: 50%;
  1363. font-size: 20px;
  1364. font-weight: 600;
  1365. display: flex;
  1366. justify-content: center;
  1367. align-items: center;
  1368. span {
  1369. line-height: 20px;
  1370. }
  1371. }
  1372. &-title1 {
  1373. color: #037fe1;
  1374. background-color: rgba(3, 127, 225, 0.15);
  1375. }
  1376. &-title2 {
  1377. color: #ffa21e;
  1378. background-color: rgba(255, 162, 30, 0.15);
  1379. }
  1380. &-title3 {
  1381. color: #fb5b60;
  1382. background-color: rgba(251, 91, 96, 0.15);
  1383. }
  1384. &-title4 {
  1385. color: #42bc6f;
  1386. background-color: rgba(66, 188, 111, 0.15);
  1387. }
  1388. &-title5 {
  1389. color: #14cde1;
  1390. background-color: rgba(52, 149, 161, 0.15);
  1391. }
  1392. &-title6 {
  1393. color: rgba(4, 66, 31, 0.63);
  1394. background-color: rgba(66, 188, 111, 0.15);
  1395. }
  1396. &-content {
  1397. padding-left: 1vw;
  1398. display: flex;
  1399. flex-direction: column;
  1400. &-num {
  1401. font-size: 20px;
  1402. font-weight: 600;
  1403. }
  1404. &-text {
  1405. color: #909399;
  1406. }
  1407. }
  1408. }
  1409. }
  1410. }
  1411. </style>