index.vue 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011
  1. <template>
  2. <div class="app-container home">
  3. <div v-if="sysType == 1">
  4. <div style="display: flex; margin-bottom: 40px">
  5. <div style="width: 70%">
  6. <ul class="block" v-if="sysType == 1 || sysType == 3">
  7. <li @click="jump('/business/inStock')">
  8. <div>
  9. <i
  10. class="el-icon-download"
  11. style="font-size: 25px; text-align: center"
  12. ></i>
  13. </div>
  14. <p>常规入库</p>
  15. </li>
  16. <li @click="jump('/business/outStock')">
  17. <div>
  18. <i
  19. class="el-icon-upload2"
  20. style="font-size: 25px; text-align: center"
  21. ></i>
  22. </div>
  23. <p>常规出库</p>
  24. </li>
  25. <!-- <li @click="jump('/basicdata/corps')">-->
  26. <!-- <div>-->
  27. <!-- <i-->
  28. <!-- class="el-icon-s-custom"-->
  29. <!-- style="font-size: 50px; text-align: center"-->
  30. <!-- ></i>-->
  31. <!-- <p>新增用户</p>-->
  32. <!-- </div>-->
  33. <!-- </li>-->
  34. <!-- <li @click="jump('/basicdata/goods')">-->
  35. <!-- <div>-->
  36. <!-- <i-->
  37. <!-- class="el-icon-s-cooperation"-->
  38. <!-- style="font-size: 50px; text-align: center"-->
  39. <!-- ></i>-->
  40. <!-- <p>新增商品</p>-->
  41. <!-- </div>-->
  42. <!-- </li>-->
  43. <li @click="jump('/business/goodsTransfer')">
  44. <div>
  45. <i
  46. class="el-icon-takeaway-box"
  47. style="font-size: 25px; text-align: center"
  48. ></i>
  49. </div>
  50. <p>货权转移</p>
  51. </li>
  52. <li @click="jump('/business/stockTransfer')">
  53. <div>
  54. <i
  55. class="el-icon-connection"
  56. style="font-size: 25px; text-align: center"
  57. ></i>
  58. </div>
  59. <p>库间调拨</p>
  60. </li>
  61. <li @click="smartScreen()">
  62. <div>
  63. <i
  64. class="el-icon-s-order"
  65. style="font-size: 25px; text-align: center"
  66. ></i>
  67. </div>
  68. <p>数据中心</p>
  69. </li>
  70. <li @click="jump('/finance/charge')">
  71. <div>
  72. <i
  73. class="el-icon-wallet"
  74. style="font-size: 25px; text-align: center"
  75. ></i>
  76. </div>
  77. <p>收款</p>
  78. </li>
  79. <li @click="jump('/finance/payment')">
  80. <div>
  81. <i
  82. class="el-icon-money"
  83. style="font-size: 25px; text-align: center"
  84. ></i>
  85. </div>
  86. <p>付款</p>
  87. </li>
  88. <li @click="jump('/finance/contrast')">
  89. <div>
  90. <i
  91. class="el-icon-s-management"
  92. style="font-size: 25px; text-align: center"
  93. ></i>
  94. </div>
  95. <p>对账</p>
  96. </li>
  97. <!-- <li @click="jump('/business/goodsTransfer')">-->
  98. <!-- <div>-->
  99. <!-- <i-->
  100. <!-- class="el-icon-takeaway-box"-->
  101. <!-- style="font-size: 50px; text-align: center"-->
  102. <!-- ></i>-->
  103. <!-- <p>货转</p>-->
  104. <!-- </div>-->
  105. <!-- </li>-->
  106. <!-- <li @click="jump('/agreement/agreementStorage')">-->
  107. <!-- <div>-->
  108. <!-- <i-->
  109. <!-- class="el-icon-s-order"-->
  110. <!-- style="font-size: 50px; text-align: center"-->
  111. <!-- ></i>-->
  112. <!-- <p>协议</p>-->
  113. <!-- </div>-->
  114. <!-- </li>-->
  115. <li @click="openDialog('inStock')">
  116. <div>
  117. <i
  118. class="el-icon-s-unfold"
  119. style="font-size: 25px; text-align: center"
  120. ></i>
  121. </div>
  122. <p>快速入库</p>
  123. </li>
  124. <li @click="openDialog('outStock')">
  125. <div>
  126. <i
  127. class="el-icon-s-fold"
  128. style="font-size: 25px; text-align: center"
  129. ></i>
  130. </div>
  131. <p>快速出库</p>
  132. </li>
  133. </ul>
  134. <el-table
  135. ref="remind"
  136. :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
  137. :cell-style="cellStyle"
  138. :data="remindList"
  139. height="280"
  140. >
  141. <el-table-column :show-overflow-tooltip="true" label="协议到期 客户" prop="fCorpid">
  142. </el-table-column>
  143. <el-table-column :show-overflow-tooltip="true" label="开始日期" prop="fBegindate">
  144. </el-table-column>
  145. <el-table-column :show-overflow-tooltip="true" label="结束日期" prop="fEnddate">
  146. </el-table-column>
  147. <el-table-column :show-overflow-tooltip="true" label="类型" prop="fFeetypeid">
  148. <template slot-scope="scope">
  149. {{ scope.row.fFeetypeid == 0? '仓储费协议': '作业费协议' }}
  150. </template>
  151. </el-table-column>
  152. </el-table>
  153. </div>
  154. <div style="width: 30%">
  155. <div style="width: 100%">
  156. <div style="display: flex">
  157. <div id="box" style="width: 100%; height: 350px"></div>
  158. <el-select
  159. v-model="select"
  160. slot="prepend"
  161. size="mini"
  162. :select="query()"
  163. placeholder="点击切换仓库"
  164. style="position: absolute; width: 8%; right: 1%"
  165. >
  166. <div v-for="(item, index) in warehouse" :key="index">
  167. <el-option
  168. :label="item.fName"
  169. :value="item.fWarehouseid"
  170. ></el-option>
  171. </div>
  172. </el-select>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. <div style="display: flex; margin-bottom: 40px">
  178. <div style="width: 70%">
  179. <div>
  180. <div
  181. style="
  182. display: flex;
  183. color: #515a6e;
  184. font-weight: 600;
  185. background-color: #f8f8f9;
  186. height: 42.6px;
  187. font-size: 13px;
  188. justify-content: space-between;
  189. border-bottom: 1px dashed #dfe6ec;
  190. "
  191. >
  192. <div class="home_stock_table">委托方</div>
  193. <div class="home_stock_table">日期</div>
  194. <div class="home_stock_table">提单号</div>
  195. <div class="home_stock_table">业务类型</div>
  196. <div class="home_stock_table_right">
  197. <div>操作</div>
  198. <el-link type="primary" @click="jump('/morePage/stock')"
  199. >更多></el-link
  200. >
  201. </div>
  202. </div>
  203. <div v-if="tableData.length > 0">
  204. <div
  205. style="
  206. display: flex;
  207. height: 42.6px;
  208. border-bottom: 1px dashed #dfe6ec;
  209. "
  210. v-for="(item, index) in tableData"
  211. :key="index"
  212. v-if="index<5"
  213. >
  214. <div class="home_stock_table"> <p>{{ item.refno1 }}</p></div>
  215. <div class="home_stock_table">
  216. {{ item.sendTime ? item.sendTime.slice(0,10) : item.sendTime}}
  217. </div>
  218. <div class="home_stock_table" @click="approval(item)"><p style="text-align: center;">{{ item.refno3 }}</p></div>
  219. <div class="home_stock_table">
  220. <span v-if="item.refno2 === 'SJRK'">入库</span>
  221. <span v-else-if="item.actId === 1000">费用修改</span>
  222. <span v-else-if="item.refno2 === 'CDZZ'">场地直装</span>
  223. <span v-else-if="item.refno2 === 'SJCK'">出库</span>
  224. <span v-else-if="item.refno2 === 'HQZY'">货转</span>
  225. <span v-else-if="item.refno2 === 'CKDB'">调拨</span>
  226. <span v-else-if="item.refno2 === 'CCF'">仓储费</span>
  227. <span v-else-if="item.refno2 === 'HWTG'">货物通关</span>
  228. <span v-else-if="item.refno2 === 'ZYF'">作业费</span>
  229. <span v-else-if="item.refno2 === 'SF'">收费</span>
  230. <span v-else-if="item.refno2 === 'DZ'">对账</span>
  231. <span v-else-if="item.refno2 === 'FF'">付费</span>
  232. <span v-else-if="item.refno2 === 'JSCCF'">计算仓储费</span>
  233. <span v-else-if="item.refno2 === 'KHDZ'">凯和对账</span>
  234. <span v-else-if="item.refno2 === 'KHSF'">凯和收费</span>
  235. <span v-else-if="item.refno2 === 'KHFF'">凯和付费</span>
  236. <span v-else-if="item.refno2 === 'ApplyFP'">凯和开票申请</span>
  237. <span v-else-if="item.refno2 === 'KHDD'">凯和订单</span>
  238. <span v-else-if="item.refno2 === 'SE'">下单配船</span>
  239. <span v-else-if="item.refno2 === 'SJRKITEM'">入库明细审批</span>
  240. <span v-else-if="item.refno2 === 'SJCKITEM'">出库明细审批</span>
  241. <span v-else-if="item.refno2 === 'XGDD'">申请变更</span>
  242. <span v-else-if="item.refno2 === 'XGTJ'">提交变更</span>
  243. <span v-else-if="item.refno2 === 'DDSC'">申请删单</span>
  244. </div>
  245. <div class="home_stock_table" @click="approval(item)">
  246. 查看详情
  247. </div>
  248. </div>
  249. </div>
  250. <div
  251. v-else
  252. style="
  253. display: flex;
  254. justify-content: center;
  255. height: 213px;
  256. border-bottom: 1px solid #dfe6ec;
  257. "
  258. >
  259. <div style="align-self: center; color: #909399; font-size: 14px">
  260. 暂无数据
  261. </div>
  262. </div>
  263. </div>
  264. <!-- <el-table
  265. :data="tableData"
  266. :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
  267. :cell-style="cellStyle"
  268. >
  269. <el-table-column
  270. prop="refno1"
  271. :show-overflow-tooltip="true"
  272. label="委托方"
  273. ></el-table-column>
  274. <el-table-column
  275. prop="auditItem"
  276. :show-overflow-tooltip="true"
  277. label="日期"
  278. >
  279. <template slot-scope="scope">
  280. <span v-if="!scope.row.auditItem">无时间</span>
  281. <span v-else>{{ scope.row.auditItem.slice(0, 10) }}</span>
  282. </template>
  283. </el-table-column>
  284. <el-table-column
  285. prop="refno3"
  286. :show-overflow-tooltip="true"
  287. label="提单号"
  288. ></el-table-column>
  289. <el-table-column
  290. prop="refno2"
  291. :show-overflow-tooltip="true"
  292. label="业务类型"
  293. >
  294. <template slot-scope="scope">
  295. <span v-if="scope.row.refno2 === 'SJRK'">入库</span>
  296. <span v-else-if="scope.row.refno2 === 'SJCK'">出库</span>
  297. <span v-else-if="scope.row.refno2 === 'HQZY'">货转</span>
  298. <span v-else-if="scope.row.refno2 === 'CKDB'">调拨</span>
  299. <span v-else-if="scope.row.refno2 === 'CCF'">仓储费</span>
  300. <span v-else-if="scope.row.refno2 === 'HWTG'">货物通关</span>
  301. <span v-else-if="scope.row.refno2 === 'ZYF'">作业费</span>
  302. <span v-else-if="scope.row.refno2 === 'SF'">收费</span>
  303. <span v-else-if="scope.row.refno2 === 'DZ'">对账</span>
  304. <span v-else-if="scope.row.refno2 === 'FF'">付费</span>
  305. <span v-else-if="scope.row.refno2 === 'JSCCF'">计算仓储费</span>
  306. </template>
  307. </el-table-column>
  308. <el-table-column prop="address" label="操作" width="80">
  309. <template slot-scope="scope">
  310. <span style="cursor: pointer" @click="approval(scope.row)"
  311. >查看详情</span
  312. >
  313. </template>
  314. </el-table-column>
  315. </el-table> -->
  316. </div>
  317. <div style="width: 30%">
  318. <el-table
  319. :data="tableDataTwo"
  320. :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
  321. :cell-style="cellStyle"
  322. style="margin-left: 20px"
  323. >
  324. <el-table-column
  325. prop="noticeTitle"
  326. :show-overflow-tooltip="true"
  327. label="消息中心"
  328. />
  329. <el-table-column prop="address" label="操作" width="80">
  330. <template slot-scope="scope">
  331. <span
  332. @click="querytoDo(scope.row.noticeContent)"
  333. style="cursor: pointer"
  334. >查看详情</span
  335. >
  336. </template>
  337. </el-table-column>
  338. </el-table>
  339. </div>
  340. </div>
  341. <div style="display: flex">
  342. <div style="width: 70%">
  343. <div
  344. id="commoDity"
  345. style="width: 100%; height: 350px; margin-left: 40px"
  346. ></div>
  347. </div>
  348. <div style="width: 30%">
  349. <div id="cargoOwner" style="width: 100%; height: 350px"></div>
  350. </div>
  351. </div>
  352. </div>
  353. <el-dialog
  354. v-if="sysType == 1 || sysType == 3"
  355. title="消息提示"
  356. :visible.sync="dialogVisible"
  357. width="80%"
  358. :before-close="handleClose"
  359. :close-on-click-modal="false"
  360. >
  361. <span
  362. v-html="text"
  363. class="text"
  364. style="max-width: 100%; height: auto"
  365. ></span>
  366. <span slot="footer" class="dialog-footer">
  367. <el-button type="primary" @click="dialogVisible = false"
  368. >关 闭</el-button
  369. >
  370. </span>
  371. </el-dialog>
  372. <div class="home-fleet" v-if="sysType == 2">
  373. <div class="home-left">
  374. <chi-card title="业务看板" iconName="el-icon-s-cooperation">
  375. <div slot="content">
  376. <div class="content-top">
  377. <div class="content-top-left">
  378. <div
  379. style="display: flex; align-self: center; margin-left: 5px"
  380. >
  381. <div style="align-self: center">
  382. <svg
  383. t="1616396514864"
  384. class="icon"
  385. viewBox="0 0 1024 1024"
  386. version="1.1"
  387. xmlns="http://www.w3.org/2000/svg"
  388. p-id="9805"
  389. width="20"
  390. height="20"
  391. >
  392. <path
  393. d="M314.324 292.999c24.207 0.095 44.072-19.16 44.72-43.36L359.044 52.6c-0.647-24.2-20.512-43.455-44.72-43.36-23.945 0-43.36 19.415-43.36 43.36l0 197.04C271.012 273.567 290.397 292.952 314.324 292.999L314.324 292.999zM707.923 292.999c24.21 0.095 44.07-19.16 44.72-43.36L752.643 52.6c-0.65-24.2-20.51-43.455-44.72-43.36-23.945 0-43.36 19.415-43.36 43.36l0 197.04C664.563 273.584 683.978 292.999 707.923 292.999L707.923 292.999zM402.084 118.36l219.279 0 0 65.6L402.084 183.96 402.084 118.36 402.084 118.36zM878.003 118.36l-81.52 0 0 65.2 84.64 0c25.2 0.345 45.535 20.72 45.84 45.92l0 152L96.085 381.48 96.085 229.56c0.48-25.232 21-45.472 46.24-45.6l85.2 0 0-65.6-81.36 0c-63.345 0.265-114.592 51.615-114.72 114.96l0 666.558c-0.752 62.69 49.455 114.12 112.152 114.87 0.16 0 0.328 0 0.488 0.01l733.758 0c63.31-0.265 114.545-51.57 114.72-114.88L992.563 233.32C992.432 170.04 941.282 118.712 878.003 118.36L878.003 118.36zM497.929 810.758c-74.175 0.185-134.465-59.815-134.645-133.995-0.177-74.175 59.815-134.465 133.995-134.645 74.175-0.18 134.46 59.815 134.645 133.995 0 0.11 0 0.215 0 0.325C632.023 750.533 572.023 810.658 497.929 810.758L497.929 810.758 497.929 810.758z"
  394. p-id="9806"
  395. fill="#000000"
  396. ></path>
  397. </svg>
  398. </div>
  399. <div
  400. style="
  401. align-self: center;
  402. font-size: 16px;
  403. margin: 2px 0 0 5px;
  404. "
  405. >
  406. 今日新增柜数
  407. </div>
  408. </div>
  409. <div
  410. style="
  411. font-size: 36px;
  412. align-self: center;
  413. font-weight: 600;
  414. color: #014da1;
  415. "
  416. >
  417. {{ upperLeftCntrs.planQuantity }}
  418. </div>
  419. </div>
  420. <div class="content-top-right">
  421. <div
  422. style="
  423. display: flex;
  424. align-self: center;
  425. min-width: 120px;
  426. margin-left: 5px;
  427. "
  428. >
  429. <div style="align-self: center">
  430. <svg
  431. t="1616400289333"
  432. class="icon"
  433. viewBox="0 0 1024 1024"
  434. version="1.1"
  435. xmlns="http://www.w3.org/2000/svg"
  436. p-id="22417"
  437. width="20"
  438. height="20"
  439. >
  440. <path
  441. d="M864.425973 1023.936004 228.305731 1023.936004c-114.296856 0-130.871821-105.529404-133.111681-128.439973l-0.383976-0.575964 0.31998 0c-0.255984-2.367852-0.31998-4.031748-0.31998-4.031748l0-12.351228c-60.604212-36.093744-64.059996-115.320792-64.059996-115.320792L30.750078 126.328104C30.814074 3.967752 158.934067 0 158.934067 0l643.415787 0c64.63596 0 96.441972 38.269608 112.120992 72.63546 71.931504 28.47822 78.779076 117.496656 78.779076 117.496656l0 700.756203C993.249922 890.952315 974.56309 1023.936004 864.425973 1023.936004L864.425973 1023.936004 864.425973 1023.936004zM479.298044 256.687957l0 191.476033L222.994063 448.16399 222.994063 511.968002l256.303981 0 0 191.476033 256.303981-223.410037L479.298044 256.687957 479.298044 256.687957 479.298044 256.687957zM927.782014 129.015937l-64.059996 0 0 748.433223 0 17.470908-46.07712 0L158.934067 894.920067 158.934067 895.944003l0 62.844072 704.787951 0 64.059996 0L927.782014 129.015937 927.782014 129.015937zM927.782014 129.015937"
  442. p-id="22418"
  443. ></path>
  444. </svg>
  445. </div>
  446. <div
  447. style="
  448. align-self: center;
  449. font-size: 16px;
  450. margin: 2px 0 0 5px;
  451. "
  452. >
  453. 未安排柜数
  454. </div>
  455. </div>
  456. <div
  457. style="
  458. font-size: 36px;
  459. align-self: center;
  460. font-weight: 600;
  461. color: #014da1;
  462. "
  463. >
  464. {{ upperLeftCntrs.surplusQuantity }}
  465. </div>
  466. </div>
  467. </div>
  468. <div class="content-bottom">
  469. <div style="display: flex; align-self: center; margin-left: 5px">
  470. <div style="align-self: center">
  471. <svg
  472. t="1616402886142"
  473. class="icon"
  474. viewBox="0 0 1024 1024"
  475. version="1.1"
  476. xmlns="http://www.w3.org/2000/svg"
  477. p-id="31596"
  478. width="24"
  479. height="24"
  480. >
  481. <path
  482. d="M55.3 594.7V851c0 11 9 20 20 20h3.1c10 0 18.3-7.4 19.8-17.2 8.3-55.3 56.1-97.8 113.7-97.8s105.4 42.4 113.7 97.8c1.5 9.9 9.8 17.2 19.8 17.2H386c11 0 20-9 20-20V407c0-11-9-20-20-20H280c-33.1 0-64.8 13.7-87.5 37.9L71.6 553.7c-10.5 11.1-16.3 25.8-16.3 41zM336 478v144c0 11-9 20-20 20H145.3c-11 0-20-9-20-20v-13.6c0-10.5 4.2-20.7 11.6-28.1l85.9-86.7c22.5-22.8 53.2-35.6 85.3-35.6h7.9c11 0 20 8.9 20 20zM467.3 257v574c0 22.1 17.9 40 40 40h175.1c10 0 18.3-7.4 19.8-17.2 8.3-55.3 56.1-97.8 113.7-97.8 63.5 0 115 51.5 115 115 20.4 0 37-16.6 37-37V257c0-22.1-17.9-40-40-40H507.3c-22.1 0-40 17.9-40 40z"
  483. p-id="31597"
  484. ></path>
  485. <path
  486. d="M213.5 797c-45.4-0.8-82.3 36.1-81.5 81.5 0.8 42.8 35.7 77.7 78.5 78.5 45.4 0.8 82.3-36.1 81.5-81.5-0.8-42.8-35.7-77.7-78.5-78.5zM817.5 797c-45.4-0.8-82.3 36.1-81.5 81.5 0.8 42.8 35.7 77.7 78.5 78.5 45.4 0.8 82.3-36.1 81.5-81.5-0.8-42.8-35.7-77.7-78.5-78.5z"
  487. p-id="31598"
  488. ></path>
  489. </svg>
  490. </div>
  491. <div
  492. style="
  493. align-self: center;
  494. font-size: 16px;
  495. margin: 2px 0 0 5px;
  496. width: 110px;
  497. "
  498. >
  499. 今日派车数
  500. </div>
  501. </div>
  502. <div
  503. style="
  504. font-size: 36px;
  505. align-self: center;
  506. font-weight: 600;
  507. color: #014da1;
  508. "
  509. >
  510. {{ fleetData.upperLeftCarQuantity }}
  511. </div>
  512. <div style="align-self: center; color: #409eff">派车详情></div>
  513. </div>
  514. <div class="content-bottom">
  515. <div
  516. style="
  517. display: flex;
  518. align-self: center;
  519. min-width: 120px;
  520. margin-left: 5px;
  521. "
  522. >
  523. <div style="align-self: center">
  524. <svg
  525. t="1616402771353"
  526. class="icon"
  527. viewBox="0 0 1048 1024"
  528. version="1.1"
  529. xmlns="http://www.w3.org/2000/svg"
  530. p-id="29149"
  531. width="20"
  532. height="20"
  533. >
  534. <path
  535. d="M880.931574 1.385265c-82.95439-11.745754-55.058223 55.058223-55.058224 55.058223l60.931101 83.6885c88.093157 106.445898-33.034934 81.486171-33.034934 81.48617-77.081513 36.705482 0 82.95439 0 82.95439h110.116447v496.99223c-49.185346 69.740416-82.95439 0-82.95439 0V470.481328a106.445898 106.445898 0 0 0-82.95439-110.116447H715.022794a34.503153 34.503153 0 0 1-27.896167-27.896166V84.339655c0-41.11014-18.352741-51.387675-54.324113-53.590004S198.209604 30.749651 135.810284 30.749651a55.058223 55.058223 0 0 0-54.324113 55.058223v828.075679c-163.706451 56.526443-27.896166 110.116447-27.896167 110.116447h690.063066c107.914118-73.410964-55.058223-110.116447-55.058223-110.116447v-440.465787l4.404658-4.404657a73.410964 73.410964 0 0 1 105.711788 4.404657v357.511397a122.596311 122.596311 0 0 0 55.058224 82.95439h110.116447a198.209604 198.209604 0 0 0 82.954389-82.95439v-660.69868zM610.045115 345.682688a34.503153 34.503153 0 0 1-34.503154 34.503154H191.602617a34.503153 34.503153 0 0 1-34.503153-34.503154V148.207194a34.503153 34.503153 0 0 1 34.503153-34.503153h383.939344a34.503153 34.503153 0 0 1 34.503154 34.503153z"
  536. p-id="29150"
  537. ></path>
  538. </svg>
  539. </div>
  540. <div
  541. style="
  542. align-self: center;
  543. font-size: 16px;
  544. margin: 2px 0 0 5px;
  545. width: 110px;
  546. "
  547. >
  548. 可用车辆数
  549. </div>
  550. </div>
  551. <div
  552. style="
  553. font-size: 36px;
  554. align-self: center;
  555. font-weight: 600;
  556. color: #014da1;
  557. "
  558. >
  559. {{ fleetData.upperLeftOldCarQuantity }}
  560. </div>
  561. <div style="align-self: center; color: #409eff">派车详情></div>
  562. </div>
  563. </div>
  564. </chi-card>
  565. <chi-card
  566. title="新闻公告"
  567. iconName="el-icon-s-cooperation"
  568. :More="true"
  569. @seeMore="jumpMoreNews"
  570. >
  571. <div slot="content" style="height: 260px;" class="jingrun-news">
  572. <div
  573. style="padding: 4px 15px; font-size: 14px"
  574. v-for="(item, index) in tableDataTwo"
  575. :key="index"
  576. :style="{
  577. backgroundColor: index % 2 == 0 ? '#fafbfd' : '#FFFFFF',
  578. }"
  579. @click="openNewsDetails(item.noticeId)"
  580. >
  581. <span style="cursor: pointer">{{ item.noticeTitle }}</span>
  582. </div>
  583. </div>
  584. </chi-card>
  585. </div>
  586. <el-dialog
  587. title="新闻公告"
  588. :visible.sync="newsVisible"
  589. width="700px"
  590. v-dialogDrag
  591. :close-on-click-modal="false">
  592. <h3>{{ newsDetails.noticeTitle }}</h3>
  593. <p class="html-box" v-html="newsDetails.noticeContent"></p>
  594. <span slot="footer">
  595. <el-button @click="newsVisible = false">关闭</el-button>
  596. </span>
  597. </el-dialog>
  598. <div class="home-right">
  599. <chi-card title="运行车辆" iconName="el-icon-s-order" :More="true">
  600. <div slot="content" class="upper-right">
  601. <div
  602. style="display: flex; padding: 4px 15px; font-size: 14px"
  603. v-for="(item, index) in upperRights"
  604. :key="index"
  605. :style="{
  606. backgroundColor: index % 2 == 0 ? '#fafbfd' : '#FFFFFF',
  607. }"
  608. >
  609. <div style="width: 30%" @click="goPage(item.id)">
  610. <el-link type="primary" :underline="false">{{
  611. item.mblno
  612. }}</el-link>
  613. </div>
  614. <div style="width: 20%">{{ item.carregNo }}</div>
  615. <div style="width: 15%; color: #67c23a">
  616. {{ item.orderStatus | statusType }}
  617. </div>
  618. <div
  619. style="
  620. width: 35%;
  621. overflow: hidden;
  622. text-overflow: ellipsis;
  623. white-space: nowrap;
  624. "
  625. >
  626. {{ item.corpName }}
  627. </div>
  628. </div>
  629. </div>
  630. </chi-card>
  631. <chi-card title="业务待办" iconName="el-icon-s-order" :More="true">
  632. <div slot="content" class="upper-right2">
  633. <div
  634. style="
  635. font-size: 14px;
  636. display: flex;
  637. margin: 4px 15px;
  638. border-bottom: 1px dashed #e6ebf5;
  639. "
  640. >
  641. <div style="width: 30%" class="single_line">FK221516485645</div>
  642. <div style="width: 20%" class="single_line">运费运费运费</div>
  643. <div style="width: 15%" class="single_line">李刚</div>
  644. <div style="width: 15%; color: #67c23a" class="single_line">
  645. 待审批
  646. </div>
  647. <div style="width: 20%" class="single_line">2020/10/10</div>
  648. </div>
  649. <div style="font-size: 14px; display: flex; margin: 4px 15px">
  650. <div style="width: 30%" class="single_line">FK221516485645</div>
  651. <div style="width: 20%" class="single_line">运费运费运费</div>
  652. <div style="width: 15%" class="single_line">李刚</div>
  653. <div style="width: 15%; color: #67c23a" class="single_line">
  654. 待审批
  655. </div>
  656. <div style="width: 20%" class="single_line">2020/10/10</div>
  657. </div>
  658. </div>
  659. </chi-card>
  660. <!-- <chi-card title="审核列表" iconName="el-icon-s-order" :More="true">-->
  661. <!-- <div slot="content" class="upper-right2">-->
  662. <!-- <div-->
  663. <!-- style="-->
  664. <!-- font-size: 14px;-->
  665. <!-- display: flex;-->
  666. <!-- margin: 4px 15px;-->
  667. <!-- border-bottom: 1px dashed #e6ebf5;-->
  668. <!-- "-->
  669. <!-- >-->
  670. <!-- <div style="width: 30%" class="single_line">FK221516485645</div>-->
  671. <!-- <div style="width: 20%" class="single_line">运费运费运费</div>-->
  672. <!-- <div style="width: 15%" class="single_line">李刚</div>-->
  673. <!-- <div style="width: 15%; color: #67c23a">待审批</div>-->
  674. <!-- <div style="width: 20%" class="single_line">2020/10/10</div>-->
  675. <!-- </div>-->
  676. <!-- <div style="font-size: 14px; display: flex; margin: 4px 15px">-->
  677. <!-- <div style="width: 30%" class="single_line">FK221516485645</div>-->
  678. <!-- <div style="width: 20%" class="single_line">运费运费运费</div>-->
  679. <!-- <div style="width: 15%" class="single_line">李刚</div>-->
  680. <!-- <div style="width: 15%; color: #67c23a" class="single_line">-->
  681. <!-- 待审批-->
  682. <!-- </div>-->
  683. <!-- <div style="width: 20%" class="single_line">2020/10/10</div>-->
  684. <!-- </div>-->
  685. <!-- </div>-->
  686. <!-- </chi-card>-->
  687. </div>
  688. </div>
  689. <div v-if="sysType == 3">
  690. <div style="width: 100%;">
  691. <div id="distribution" style="width: 100%;height: 300px;"></div>
  692. </div>
  693. <div style="width: 100%;margin: 20px auto;float: left">
  694. <el-table :data="bookingData">
  695. <el-table-column prop="fName" align="center" label="船名"/>
  696. <el-table-column prop="fNo" align="center" label="航次"/>
  697. <el-table-column prop="portofloadName" align="center" label="起运港"/>
  698. <el-table-column prop="distinationName" align="center" label="目的港"/>
  699. <el-table-column prop="fWeight" align="center" label="容量TEU"/>
  700. <el-table-column prop="boxNumber" align="center" label="实装TEU"/>
  701. <el-table-column prop="fETD" align="center" label="预计开船">
  702. <template slot-scope="scope">
  703. <span>{{ scope.row.fETD?scope.row.fETD.slice(0, 10):'' }}</span>
  704. </template>
  705. </el-table-column>
  706. <el-table-column prop="fETA" align="center" label="预计到港">
  707. <template slot-scope="scope">
  708. <span>{{ scope.row.fETA?scope.row.fETA.slice(0, 10):'' }}</span>
  709. </template>
  710. </el-table-column>
  711. <el-table-column prop="fATD" align="center" label="实际开船">
  712. <template slot-scope="scope">
  713. <span>{{ scope.row.fATD?scope.row.fATD.slice(0, 10):'' }}</span>
  714. </template>
  715. </el-table-column>
  716. <el-table-column prop="fATA" align="center" label="实际到港">
  717. <template slot-scope="scope">
  718. <span>{{ scope.row.fATA?scope.row.fATA.slice(0, 10):'' }}</span>
  719. </template>
  720. </el-table-column>
  721. <el-table-column prop="fDays" align="center" label="航程"/>
  722. </el-table>
  723. </div>
  724. <div style="width: 100%;">
  725. <div style="width: 49%;float: left">
  726. <div
  727. style="
  728. display: flex;
  729. color: #515a6e;
  730. font-weight: 600;
  731. background-color: #f8f8f9;
  732. height: 42.6px;
  733. font-size: 13px;
  734. justify-content: space-between;
  735. border-bottom: 1px dashed #dfe6ec;
  736. "
  737. >
  738. <div class="home_stock_table">委托方</div>
  739. <div class="home_stock_table">日期</div>
  740. <div class="home_stock_table">提单号</div>
  741. <div class="home_stock_table">业务类型</div>
  742. <div class="home_stock_table_right">
  743. <div>操作</div>
  744. <el-link type="primary" @click="jump('/morePage/stock')"
  745. >更多></el-link
  746. >
  747. </div>
  748. </div>
  749. <div v-if="tableData.length > 0">
  750. <div
  751. style="display: flex;height: 42.6px;border-bottom: 1px dashed #dfe6ec;"
  752. v-for="(item, index) in tableData"
  753. :key="index"
  754. v-if="index < 5"
  755. >
  756. <div class="home_stock_table"> <p>{{ item.refno1 }}</p></div>
  757. <div class="home_stock_table">
  758. {{ item.sendTime ? item.sendTime.slice(0, 10):'' }}
  759. </div>
  760. <div class="home_stock_table" @click="approval(item)"><p>{{ item.refno3}}</p></div>
  761. <div class="home_stock_table">
  762. <span v-if="item.refno2 === 'SJRK'">入库</span>
  763. <span v-else-if="item.refno2 === 'SJCK'">出库</span>
  764. <span v-else-if="item.refno2 === 'HQZY'">货转</span>
  765. <span v-else-if="item.refno2 === 'CKDB'">调拨</span>
  766. <span v-else-if="item.refno2 === 'CCF'">仓储费</span>
  767. <span v-else-if="item.refno2 === 'HWTG'">货物通关</span>
  768. <span v-else-if="item.refno2 === 'ZYF'">作业费</span>
  769. <span v-else-if="item.refno2 === 'SF'">收费</span>
  770. <span v-else-if="item.refno2 === 'DZ'">对账</span>
  771. <span v-else-if="item.refno2 === 'FF'">付费</span>
  772. <span v-else-if="item.refno2 === 'JSCCF'">计算仓储费</span>
  773. <span v-else-if="item.refno2 === 'KHDZ'">凯和对账</span>
  774. <span v-else-if="item.refno2 === 'KHSF'">凯和收费</span>
  775. <span v-else-if="item.refno2 === 'KHFF'">凯和付费</span>
  776. <span v-else-if="item.refno2 === 'ApplyFP'">凯和开票申请</span>
  777. <span v-else-if="item.refno2 === 'KHDD'">凯和订单</span>
  778. <span v-else-if="item.refno2 === 'SE'">下单配船</span>
  779. <span v-else-if="item.refno2 === 'SJRKITEM'">入库明细审批</span>
  780. <span v-else-if="item.refno2 === 'SJCKITEM'">出库明细审批</span>
  781. <span v-else-if="item.refno2 === 'XGDD'">申请变更</span>
  782. <span v-else-if="item.refno2 === 'XGTJ'">提交变更</span>
  783. <span v-else-if="item.refno2 === 'DDSC'">申请删单</span>
  784. </div>
  785. <div class="home_stock_table" @click="approval(item)">
  786. 立即审批
  787. </div>
  788. </div>
  789. </div>
  790. <div
  791. v-else
  792. style="
  793. display: flex;
  794. justify-content: center;
  795. height: 213px;
  796. border-bottom: 1px solid #dfe6ec;
  797. "
  798. >
  799. <div style="align-self: center; color: #909399; font-size: 14px">
  800. 暂无数据
  801. </div>
  802. </div>
  803. </div>
  804. <div style="width: 49%;float: right">
  805. <el-table
  806. :data="tableDataTwo"
  807. :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
  808. :cell-style="cellStyle"
  809. style="margin-left: 20px"
  810. >
  811. <el-table-column
  812. prop="noticeTitle"
  813. :show-overflow-tooltip="true"
  814. label="消息中心"
  815. />
  816. <el-table-column prop="address" label="操作" width="80">
  817. <template slot-scope="scope">
  818. <span
  819. @click="querytoDo(scope.row.noticeContent)"
  820. style="cursor: pointer"
  821. >查看详情</span
  822. >
  823. </template>
  824. </el-table-column>
  825. </el-table>
  826. </div>
  827. </div>
  828. <div style="width: 100%;margin: 10px auto;float: left">
  829. <div id="bookingRanking" style="width: 100%;height: 300px;"></div>
  830. </div>
  831. <div style="width: 100%;margin: 10px auto;float: left">
  832. <div id="bookingRankingTwo" style="width: 100%;height: 300px;"></div>
  833. </div>
  834. <!-- 船名航次-->
  835. <div style="width: 100%;margin: 10px auto;float: left">
  836. <div id="voyage" style="width: 100%;height: 350px;"></div>
  837. </div>
  838. </div>
  839. <!-- 快捷入库-->
  840. <fast-in-stock
  841. ref="fastInStock"
  842. v-if="fastInStockVisble"
  843. @closeDialog="closeInStock"
  844. ></fast-in-stock>
  845. <!-- 快速出库-->
  846. <fast-out-stock
  847. ref="fastOutStock"
  848. v-if="fastOutStockVisble"
  849. @closeDialog="closeOutStock"
  850. ></fast-out-stock>
  851. </div>
  852. </template>
  853. <script>
  854. import { queryHomeInfo } from "@/api/fleet/home";
  855. import chiCard from "./chiCard.vue";
  856. import {
  857. listCorps,
  858. information,
  859. warehouse,
  860. inquiry,
  861. boxDistribution,
  862. shipDynamics,
  863. bookingSpace,
  864. locationRanking,
  865. getProfitData,
  866. remindExpirationData
  867. } from "../../src/api/index";
  868. import Cookies from "js-cookie";
  869. import fastInStock from '../../src/components/fastStorage/fastInStock/index'
  870. import fastOutStock from '../../src/components/fastStorage/fastOutStock/index'
  871. import {getToken} from "@/utils/auth";
  872. import {currentLogin} from "@/api/warehouseCheck";
  873. export default {
  874. name: "index",
  875. data() {
  876. return {
  877. fastInStockVisble: false,
  878. fastOutStockVisble: false,
  879. bookingData:[],
  880. editModel: {},
  881. // 版本号
  882. version: "3.2.1",
  883. select: "",
  884. text: "",
  885. dialogVisible: false,
  886. tableData: [],
  887. dataList:{
  888. addressName:[],
  889. boxNumber:[],
  890. bookingRanking:{
  891. text:[],
  892. textTwo:[],
  893. data:[],
  894. dataTwo:[]
  895. }
  896. },
  897. // 利润统计数据获得
  898. profitData: {
  899. xData: [],
  900. seriesData: [],
  901. },
  902. chart: [],
  903. warehouse: [],
  904. master: [],
  905. commodity: [],
  906. commoditytwo: [],
  907. name: [],
  908. tableDataTwo: [],
  909. fleetData: "",
  910. upperLeftCntrs: {},
  911. sysType: "",
  912. upperRights: [],
  913. // 新闻公告详情弹窗
  914. newsVisible: false,
  915. // 新闻公告内容
  916. newsDetails: {
  917. noticeTitle: '',
  918. noticeContent: ''
  919. },
  920. remindList: [],
  921. };
  922. },
  923. filters: {
  924. statusType(val) {
  925. switch (val) {
  926. case 10:
  927. return "车队安排";
  928. break;
  929. case 20:
  930. return "司机受理";
  931. break;
  932. case 30:
  933. return "司机出车";
  934. break;
  935. case 40:
  936. return "提箱";
  937. break;
  938. case 50:
  939. return "装卸货";
  940. break;
  941. case 60:
  942. return "还卸柜";
  943. break;
  944. case 70:
  945. return "费用确认";
  946. break;
  947. default:
  948. return "回单";
  949. }
  950. },
  951. },
  952. components: {
  953. chiCard,
  954. fastInStock,
  955. fastOutStock,
  956. },
  957. created() {
  958. this.getConfigKey("data_print_title").then((response) => {
  959. Cookies.set("companyName", response.msg);
  960. });
  961. this.sysType = Cookies.get("sysType");
  962. if (this.sysType == 2) {
  963. queryHomeInfo().then((response) => {
  964. this.fleetData = response.data;
  965. if (response.data.upperRight.length > 0) {
  966. this.upperRights = response.data.upperRight.slice(0, 10);
  967. }
  968. this.upperLeftCntrs = response.data.upperLeftCntrs;
  969. });
  970. }
  971. // console.log(this.sysType);
  972. },
  973. activated() {
  974. this.getList();
  975. this.warehouses();
  976. this.inquiry();
  977. remindExpirationData().then(res => {
  978. this.remindList = res.rows
  979. })
  980. this.dataList.addressName = []
  981. this.dataList.boxNumber = []
  982. this.dataList.bookingRanking.text = []
  983. this.dataList.bookingRanking.textTwo = []
  984. this.dataList.bookingRanking.data = []
  985. this.dataList.bookingRanking.dataTwo = []
  986. if (Number(this.sysType) === 3){
  987. boxDistribution().then(res =>{
  988. res.data.forEach(item =>{
  989. this.dataList.addressName.push(item.addressName)
  990. this.dataList.boxNumber.push(item.boxNumber)
  991. })
  992. this.boxDistribution()
  993. })
  994. let l = 0
  995. bookingSpace().then(res=>{
  996. res.data.forEach(item =>{
  997. this.dataList.bookingRanking.text.push(item.corpName)
  998. this.dataList.bookingRanking.data.push({
  999. name: item.corpName,
  1000. type: 'line',
  1001. stack: l,
  1002. data: [item.January, item.February, item.March, item.April, item.May, item.June, item.July,item.August,item.September,item.October,item.November,item.December]
  1003. })
  1004. })
  1005. l++
  1006. this.ranking()
  1007. })
  1008. locationRanking().then(res=>{
  1009. let i = 0
  1010. res.data.forEach(item =>{
  1011. this.dataList.bookingRanking.textTwo.push(item.corpName)
  1012. this.dataList.bookingRanking.dataTwo.push({
  1013. name: item.corpName,
  1014. type: 'line',
  1015. stack: i,
  1016. data: [item.January, item.February, item.March, item.April, item.May, item.June, item.July,item.August,item.September,item.October,item.November,item.December]
  1017. })
  1018. i++
  1019. })
  1020. this.rankingTwo()
  1021. })
  1022. shipDynamics().then(res=>{
  1023. console.log(res)
  1024. this.bookingData = res.data
  1025. })
  1026. this.profitData.xData = []
  1027. this.profitData.seriesData = []
  1028. getProfitData({pageSize: 24, pageNum: 1}).then(res => {
  1029. res.rows.forEach(item => {
  1030. if (!item.shipsName) {
  1031. item.shipsName = ''
  1032. }
  1033. if (!item.voyage) {
  1034. item.voyage = ''
  1035. }
  1036. let name = item.shipsName + '-' + item.voyage
  1037. this.profitData.xData.push(name)
  1038. this.profitData.seriesData.push((Number(item.profit) / 10000).toFixed(2))
  1039. // this.profitData.seriesData.push(item.profit)
  1040. })
  1041. this.oceanVessel()
  1042. })
  1043. }
  1044. },
  1045. methods: {
  1046. // 船名航次
  1047. oceanVessel() {
  1048. console.log(this.profitData.xData)
  1049. let myChart = this.$echarts.init(document.getElementById("voyage"));
  1050. const color = ['#EE6666', '#7DD2F3']
  1051. myChart.setOption({
  1052. title: {
  1053. text: '利润统计(前二十四)',
  1054. left: 'center'
  1055. },
  1056. tooltip: {
  1057. trigger: 'axis'
  1058. },
  1059. legend: {
  1060. orient: 'vertical',
  1061. left: 'right',
  1062. data: []
  1063. },
  1064. grid: {
  1065. // left: '10%',
  1066. bottom:'30%'
  1067. },
  1068. xAxis: {
  1069. axisLabel: {
  1070. rotate: 40
  1071. },
  1072. type: 'category',
  1073. boundaryGap: false,
  1074. data: this.profitData.xData,
  1075. // data: ['凯和志诚-02W1', '凯和志诚-02W2', '凯和志诚-03W3', '凯和志诚2111', '凯和志诚2110', '凯和志诚2110-4', '凯和志诚2114', '凯和志诚2116', '凯和志诚2118', '凯和志诚2118A', '凯和志诚2119N', '凯和志诚2120', '凯和志诚2122', '凯和志诚2123', '凯和志诚2124', '凯和志诚2125', '凯和志诚2127', '凯和志诚2126', '凯和志诚2128', '凯和志诚ABC', '凯和志诚2129', '凯和志诚K8101', '凯和志诚K8102', '凯和志诚K8102E',]
  1076. },
  1077. yAxis: {
  1078. type: 'value',
  1079. name: '万元'
  1080. },
  1081. series: [
  1082. {
  1083. type: 'line',
  1084. smooth: false,
  1085. data: this.profitData.seriesData,
  1086. // data:[1000,2112,333,4444,6323,11,234]
  1087. }
  1088. ]
  1089. })
  1090. },
  1091. //箱分布图表
  1092. ranking() {
  1093. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1094. let myChart = this.$echarts.init(document.getElementById("bookingRanking"));
  1095. // 绘制图表
  1096. myChart.setOption({
  1097. title: {
  1098. text: '订舱排名(前十)',
  1099. left: 'center'
  1100. },
  1101. tooltip: {
  1102. trigger: 'axis'
  1103. },
  1104. legend: {
  1105. orient: 'vertical',
  1106. left: 'right',
  1107. data: this.dataList.bookingRanking.text
  1108. },
  1109. grid: {
  1110. left: '3%',
  1111. right: '20%',
  1112. bottom: '3%',
  1113. containLabel: true
  1114. },
  1115. xAxis: {
  1116. type: 'category',
  1117. boundaryGap: false,
  1118. data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  1119. },
  1120. yAxis: {
  1121. type: 'value'
  1122. },
  1123. series: this.dataList.bookingRanking.data
  1124. });
  1125. },
  1126. //箱分布图表
  1127. rankingTwo() {
  1128. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1129. let myChart = this.$echarts.init(document.getElementById("bookingRankingTwo"));
  1130. // 绘制图表
  1131. myChart.setOption({
  1132. title: {
  1133. text: '应收款排名(前十)',
  1134. left: 'center'
  1135. },
  1136. tooltip: {
  1137. trigger: 'axis'
  1138. },
  1139. legend: {
  1140. orient: 'vertical',
  1141. left: 'right',
  1142. data: this.dataList.bookingRanking.textTwo
  1143. },
  1144. grid: {
  1145. left: '3%',
  1146. right: '20%',
  1147. bottom: '3%',
  1148. containLabel: true
  1149. },
  1150. xAxis: {
  1151. type: 'category',
  1152. boundaryGap: false,
  1153. data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  1154. },
  1155. yAxis: {
  1156. type: 'value'
  1157. },
  1158. series: this.dataList.bookingRanking.dataTwo
  1159. });
  1160. },
  1161. //箱分布图表
  1162. boxDistribution() {
  1163. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1164. let myChart = this.$echarts.init(document.getElementById("distribution"));
  1165. // 绘制图表
  1166. myChart.setOption({
  1167. title: {
  1168. text: "箱分布",
  1169. left: "center",
  1170. },
  1171. xAxis: {
  1172. type: 'category',
  1173. data: this.dataList.addressName
  1174. },
  1175. tooltip: {
  1176. trigger: 'axis'
  1177. },
  1178. yAxis: {
  1179. type: 'value'
  1180. },
  1181. toolbox: {
  1182. feature: {
  1183. saveAsImage: {}
  1184. }
  1185. },
  1186. series: [{
  1187. data: this.dataList.boxNumber,
  1188. type: 'line'
  1189. }]
  1190. });
  1191. },
  1192. goPage(id) {
  1193. this.$router.push({
  1194. path: "/track/cabinet",
  1195. query: { id: id },
  1196. });
  1197. },
  1198. //跳转审批页面
  1199. approval(row) {
  1200. console.log(row)
  1201. switch (row.refno2) {
  1202. case "CDZZ": {
  1203. this.$router.push({
  1204. path: "/business/inAndOutStock",
  1205. query: { id: row.billId }
  1206. })
  1207. break;
  1208. }
  1209. case "FYBG": {
  1210. this.$router.push({
  1211. path: "/business/costModify",
  1212. query: { id: row.billId }
  1213. })
  1214. break;
  1215. }
  1216. case "SJRK": {
  1217. this.$router.push({
  1218. path: "/business/inStock",
  1219. query: { id: row.billId},
  1220. });
  1221. break;
  1222. }
  1223. case "SJCK": {
  1224. this.$router.push({
  1225. path: "/business/outStock",
  1226. query: { id: row.billId},
  1227. });
  1228. break;
  1229. }
  1230. case "HQZY": {
  1231. this.$router.push({
  1232. path: "/business/goodsTransfer",
  1233. query: { id: row.billId},
  1234. });
  1235. break;
  1236. }
  1237. case "CKDB": {
  1238. this.$router.push({
  1239. path: "/business/stockTransfer",
  1240. query: { id: row.billId},
  1241. });
  1242. break;
  1243. }
  1244. case "HWTG": {
  1245. this.$router.push({
  1246. path: "/business/cargoClearance",
  1247. query: { id: row.billId},
  1248. });
  1249. break;
  1250. }
  1251. case "JSCCF": {
  1252. this.$router.push({
  1253. path: "/business/agreement",
  1254. query: { data: JSON.stringify(row) },
  1255. });
  1256. break;
  1257. }
  1258. case "CCF": {
  1259. this.$router.push({
  1260. path: "/agreement/agreementStorage",
  1261. query: { data: JSON.stringify(row) },
  1262. });
  1263. break;
  1264. }
  1265. case "ZYF": {
  1266. this.$router.push({
  1267. path: "/agreement/agreementTask",
  1268. query: { data: JSON.stringify(row) },
  1269. });
  1270. break;
  1271. }
  1272. case "SF": {
  1273. this.$router.push({
  1274. path: "/finance/charge",
  1275. query: { data: JSON.stringify(row) },
  1276. });
  1277. break;
  1278. }
  1279. case "DZ": {
  1280. this.$router.push({
  1281. path: "/finance/contrast",
  1282. query: { data: JSON.stringify(row) },
  1283. });
  1284. break;
  1285. }
  1286. case "FF": {
  1287. this.$router.push({
  1288. path: "/finance/payment",
  1289. query: { data: JSON.stringify(row) },
  1290. });
  1291. break;
  1292. }
  1293. case "ApplyFP": {
  1294. this.$router.push({
  1295. path: "/finance/chargeInvoice",
  1296. query: { data: JSON.stringify(row) },
  1297. });
  1298. break;
  1299. }
  1300. case "KHDZ": {
  1301. this.$router.push({
  1302. path: "/finance/contrast",
  1303. query: { data: JSON.stringify(row) },
  1304. });
  1305. break;
  1306. }
  1307. case "KHSF": {
  1308. this.$router.push({
  1309. path: "/finance/charge",
  1310. query: { data: JSON.stringify(row) },
  1311. });
  1312. break;
  1313. }
  1314. case "KHFF": {
  1315. this.$router.push({
  1316. path: "/finance/payment",
  1317. query: { data: JSON.stringify(row) },
  1318. });
  1319. break;
  1320. }
  1321. case "KHDD": {
  1322. this.$router.push({
  1323. path: "/domesticTrade/orderInformation",
  1324. query: { list: JSON.stringify(row) },
  1325. });
  1326. break;
  1327. }
  1328. case "SJRKITEM": {
  1329. this.$router.push({
  1330. path: "/business/inStock",
  1331. query: { id: row.billId},
  1332. });
  1333. break;
  1334. }
  1335. case "SJCKITEM": {
  1336. this.$router.push({
  1337. path: "/business/outStock",
  1338. query: { id: row.billId},
  1339. });
  1340. break;
  1341. }
  1342. case "XGDD": {
  1343. this.$router.push({
  1344. path: "/domesticTrade/orderInformation",
  1345. query: {testing:JSON.stringify(row)},
  1346. });
  1347. break;
  1348. }
  1349. case "XGTJ": {
  1350. this.$router.push({
  1351. path: "/domesticTrade/orderInformation",
  1352. query: {testing:JSON.stringify(row)},
  1353. });
  1354. break;
  1355. }
  1356. case "DDSC": {
  1357. this.$router.push({
  1358. path: "/domesticTrade/orderInformation",
  1359. query: {testing:JSON.stringify(row)},
  1360. });
  1361. break;
  1362. }
  1363. default: {
  1364. return this.$message.error("未知错误,无状态");
  1365. }
  1366. }
  1367. },
  1368. inquiry() {
  1369. let data = {
  1370. actId: "",
  1371. auditStatus: 'S'
  1372. };
  1373. inquiry(data).then((res) => {
  1374. res.data.map(e=>{
  1375. if(e.auditItem){
  1376. e.auditItem=e.auditItem.slice(0, 10)
  1377. }
  1378. })
  1379. this.tableData = res.data;
  1380. });
  1381. },
  1382. querytoDo(res) {
  1383. this.dialogVisible = true;
  1384. this.text = res;
  1385. },
  1386. handleClose(done) {
  1387. this.dialogVisible = false;
  1388. },
  1389. firstinventory(fId) {
  1390. // console.log(this.warehouse);
  1391. information(fId).then((response) => {
  1392. this.chart = response.data;
  1393. if (this.chart.whouseList.length !== 0) {
  1394. for (let index of this.chart.corpsListWhouse) {
  1395. this.master.push({
  1396. name: index.fName,
  1397. value: index.fGrossweightD,
  1398. });
  1399. this.name.push(index.fName);
  1400. }
  1401. for (let index of this.chart.goodslistWhouse) {
  1402. this.commodity.push(index.fName);
  1403. this.commoditytwo.push(index.fGrossweightD);
  1404. }
  1405. this.drawLine();
  1406. this.drawLinetwo();
  1407. this.commoDity();
  1408. } else {
  1409. this.chart = {
  1410. corpsListWhouse: [
  1411. {
  1412. balance: 0,
  1413. fCorpid: 58,
  1414. fGrossweightD: 0,
  1415. fName: "展示数据",
  1416. fTotalgross: 10000,
  1417. fWarehouseName: "展示数据",
  1418. },
  1419. ],
  1420. goodslistWhouse: [
  1421. {
  1422. balance: 0,
  1423. fGoodsid: 13,
  1424. fGrossweightD: 0,
  1425. fName: "展示商品",
  1426. fTotalgross: 10000,
  1427. fWarehouseName: "展示数据",
  1428. },
  1429. ],
  1430. whouseList: [
  1431. {
  1432. fGrossweightD: 0,
  1433. fName: "展示数据",
  1434. fTotalgross: 10000,
  1435. fWarehouseid: 36,
  1436. },
  1437. ],
  1438. };
  1439. for (let index of this.chart.corpsListWhouse) {
  1440. this.master.push({
  1441. name: index.fName,
  1442. value: index.fGrossweightD,
  1443. });
  1444. this.name.push(index.fName);
  1445. }
  1446. for (let index of this.chart.goodslistWhouse) {
  1447. this.commodity.push(index.fName);
  1448. this.commoditytwo.push(index.fGrossweightD);
  1449. }
  1450. this.drawLine();
  1451. this.drawLinetwo();
  1452. this.commoDity();
  1453. }
  1454. });
  1455. },
  1456. query() {
  1457. this.master = [];
  1458. this.commodity = [];
  1459. this.commoditytwo = [];
  1460. this.name = [];
  1461. if (this.select === "") {
  1462. return this.select;
  1463. } else {
  1464. information(this.select).then((response) => {
  1465. this.chart = response.data;
  1466. for (let index of this.chart.corpsListWhouse) {
  1467. this.master.push({
  1468. name: index.fName,
  1469. value: index.fGrossweightD,
  1470. });
  1471. this.name.push(index.fName);
  1472. }
  1473. for (let index of this.chart.goodslistWhouse) {
  1474. this.commodity.push(index.fName);
  1475. this.commoditytwo.push(index.fGrossweightD);
  1476. }
  1477. this.drawLine();
  1478. this.drawLinetwo();
  1479. this.commoDity();
  1480. });
  1481. }
  1482. },
  1483. jump(res) {
  1484. this.$router.push({ path: res });
  1485. },
  1486. //设置单元格边框
  1487. cellStyle({ row, column, rowIndex, columnIndex }) {
  1488. return "border-bottom: 1px dashed rgb(223, 230, 236)";
  1489. },
  1490. //查询消息中心
  1491. getList() {
  1492. this.loading = true;
  1493. listCorps(this.queryParams).then((response) => {
  1494. if (response.rows.length > 0) {
  1495. // this.tableDataTwo = response.rows.slice(0, 10);
  1496. this.tableDataTwo = response.rows
  1497. }
  1498. });
  1499. },
  1500. //查询仓库
  1501. warehouses() {
  1502. warehouse().then((response) => {
  1503. this.warehouse = [];
  1504. for (let index of response.rows) {
  1505. this.warehouse.push({
  1506. fName: index.fName,
  1507. fWarehouseid: index.fWarehouseid,
  1508. });
  1509. }
  1510. // console.log(this.warehouse);
  1511. this.firstinventory(this.warehouse[0].fWarehouseid);
  1512. });
  1513. },
  1514. goTarget(href) {
  1515. window.open(href, "_blank");
  1516. },
  1517. //仓库图表
  1518. drawLine() {
  1519. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1520. let myChart = this.$echarts.init(document.getElementById("box"));
  1521. // 绘制图表
  1522. myChart.setOption({
  1523. title: {
  1524. text: this.chart.whouseList[0].fName + "统计",
  1525. subtext: "实时数据",
  1526. left: "center",
  1527. },
  1528. tooltip: {
  1529. trigger: "item",
  1530. formatter: "{a} <br/>{b} : {c} ({d}%)",
  1531. },
  1532. legend: {
  1533. bottom: 10,
  1534. left: "center",
  1535. data: ["空闲库容", "占用库容"],
  1536. },
  1537. series: [
  1538. {
  1539. type: "pie",
  1540. name: "实时数据",
  1541. radius: "65%",
  1542. center: ["50%", "50%"],
  1543. selectedMode: "single",
  1544. data: [
  1545. {
  1546. label: {
  1547. backgroundColor: "#eee",
  1548. borderColor: "#777",
  1549. borderWidth: 1,
  1550. borderRadius: 4,
  1551. rich: {
  1552. title: {
  1553. color: "#eee",
  1554. align: "center",
  1555. },
  1556. abg: {
  1557. backgroundColor: "#333",
  1558. width: "100%",
  1559. align: "right",
  1560. height: 25,
  1561. borderRadius: [4, 4, 0, 0],
  1562. },
  1563. Sunny: {
  1564. height: 30,
  1565. align: "left",
  1566. },
  1567. Cloudy: {
  1568. height: 30,
  1569. align: "left",
  1570. },
  1571. Showers: {
  1572. height: 30,
  1573. align: "left",
  1574. },
  1575. weatherHead: {
  1576. color: "#333",
  1577. height: 24,
  1578. align: "left",
  1579. },
  1580. hr: {
  1581. borderColor: "#777",
  1582. width: "100%",
  1583. borderWidth: 0.5,
  1584. height: 0,
  1585. },
  1586. value: {
  1587. width: 20,
  1588. padding: [0, 20, 0, 30],
  1589. align: "left",
  1590. },
  1591. valueHead: {
  1592. color: "#333",
  1593. width: 20,
  1594. padding: [0, 20, 0, 30],
  1595. align: "center",
  1596. },
  1597. rate: {
  1598. width: 40,
  1599. align: "right",
  1600. padding: [0, 10, 0, 0],
  1601. },
  1602. rateHead: {
  1603. color: "#333",
  1604. width: 40,
  1605. align: "center",
  1606. padding: [0, 10, 0, 0],
  1607. },
  1608. },
  1609. },
  1610. },
  1611. {
  1612. value: this.chart.whouseList[0].fGrossweightD,
  1613. name: "占用库容",
  1614. },
  1615. {
  1616. value: parseFloat(
  1617. this.chart.whouseList[0].fTotalgross -
  1618. this.chart.whouseList[0].fGrossweightD
  1619. ).toFixed(1),
  1620. name: "空闲库容",
  1621. },
  1622. ],
  1623. emphasis: {
  1624. itemStyle: {
  1625. shadowBlur: 10,
  1626. shadowOffsetX: 0,
  1627. shadowColor: "rgba(0, 0, 0, 0.5)",
  1628. },
  1629. },
  1630. },
  1631. ],
  1632. });
  1633. },
  1634. drawLinetwo() {
  1635. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1636. let myChart = this.$echarts.init(document.getElementById("cargoOwner"));
  1637. // 绘制图表
  1638. myChart.setOption({
  1639. title: {
  1640. text: this.chart.whouseList[0].fName + "货权方统计",
  1641. subtext: "实时数据",
  1642. left: "center",
  1643. },
  1644. tooltip: {
  1645. trigger: "item",
  1646. formatter: "{a} <br/>{b}: {c} ({d}%)",
  1647. },
  1648. legend: {
  1649. bottom: 10,
  1650. left: "center",
  1651. data: this.name,
  1652. },
  1653. series: [
  1654. {
  1655. name: "访问来源",
  1656. type: "pie",
  1657. radius: ["40%", "60%"],
  1658. avoidLabelOverlap: false,
  1659. label: {
  1660. show: false,
  1661. position: "center",
  1662. },
  1663. emphasis: {
  1664. label: {
  1665. // show: true,
  1666. fontSize: "30",
  1667. fontWeight: "bold",
  1668. },
  1669. },
  1670. labelLine: {
  1671. show: false,
  1672. },
  1673. data: this.master,
  1674. },
  1675. ],
  1676. });
  1677. },
  1678. smartScreen(){
  1679. currentLogin().then(res=>{
  1680. const role = res.data.roles.some(item => item.roleKey == 'admin' || item.roleKey == 'IDC')
  1681. if (role){
  1682. this.getConfigKey("large.screen").then((response) => {
  1683. if (response.msg) {
  1684. window.open( 'http://119.3.74.195:9527/view/'+ response.msg +'?Authorization=' + getToken())
  1685. } else {
  1686. return this.$message.warning('模板开发中')
  1687. }
  1688. });
  1689. }else {
  1690. this.$message.warning('您无此权限查看面板');
  1691. }
  1692. })
  1693. },
  1694. commoDity() {
  1695. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1696. let myChart = this.$echarts.init(document.getElementById("commoDity"));
  1697. // 绘制图表
  1698. myChart.setOption({
  1699. title: {
  1700. text: this.chart.whouseList[0].fName + "商品统计",
  1701. subtext: "实时数据",
  1702. left: "center",
  1703. },
  1704. color: ["#3398DB"],
  1705. tooltip: {
  1706. trigger: "axis",
  1707. axisPointer: {
  1708. // 坐标轴指示器,坐标轴触发有效
  1709. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  1710. },
  1711. },
  1712. grid: {
  1713. left: "3%",
  1714. right: "4%",
  1715. bottom: "3%",
  1716. containLabel: true,
  1717. },
  1718. xAxis: [
  1719. {
  1720. type: "category",
  1721. data: this.commodity,
  1722. axisTick: {
  1723. alignWithLabel: true,
  1724. },
  1725. },
  1726. ],
  1727. yAxis: [
  1728. {
  1729. type: "value",
  1730. },
  1731. ],
  1732. series: [
  1733. {
  1734. name: "实时状态",
  1735. type: "bar",
  1736. barWidth: "60%",
  1737. data: this.commoditytwo,
  1738. },
  1739. ],
  1740. });
  1741. },
  1742. openNewsDetails(id) {
  1743. this.tableDataTwo.forEach(item => {
  1744. if (item.noticeId === id) {
  1745. this.newsDetails.noticeTitle = item.noticeTitle;
  1746. this.newsDetails.noticeContent = item.noticeContent
  1747. }
  1748. })
  1749. this.newsVisible = true
  1750. },
  1751. // 跳转到更多公告页面
  1752. jumpMoreNews() {
  1753. this.$router.push({
  1754. path: "/notice/seeMore",
  1755. });
  1756. },
  1757. // 弹窗
  1758. openDialog(name) {
  1759. if (name == 'inStock') {
  1760. this.fastInStockVisble = true
  1761. this.$nextTick(() => {
  1762. this.$refs.fastInStock.init()
  1763. })
  1764. }
  1765. if (name === 'outStock') {
  1766. // this.$message.warning('模块开发中')
  1767. this.fastOutStockVisble = true
  1768. this.$nextTick(() => {
  1769. this.$refs.fastOutStock.init()
  1770. })
  1771. }
  1772. },
  1773. // 关闭
  1774. closeInStock() {
  1775. this.fastInStockVisble = false
  1776. },
  1777. closeOutStock() {
  1778. this.fastOutStockVisble = false
  1779. }
  1780. },
  1781. };
  1782. </script>
  1783. <style scoped lang="scss">
  1784. .block {
  1785. width: 100%;
  1786. display: flex;
  1787. flex-wrap: wrap;
  1788. justify-content: space-around;
  1789. li div:hover {
  1790. background-color: #025184;
  1791. }
  1792. li:nth-child(6) div,
  1793. li:nth-child(7) div,
  1794. li:nth-child(8) div,
  1795. li:nth-child(9) div,
  1796. li:nth-child(10) div {
  1797. background-color: #2f4554;
  1798. }
  1799. li:nth-child(6) div:hover,
  1800. li:nth-child(7) div:hover,
  1801. li:nth-child(8) div:hover,
  1802. li:nth-child(9) div:hover,
  1803. li:nth-child(10) div:hover {
  1804. background-color: #2f4454d1;
  1805. }
  1806. li {
  1807. width: 8%;
  1808. margin-left: 10px;
  1809. text-align: center;
  1810. cursor: pointer;
  1811. margin-bottom: 15px;
  1812. div {
  1813. //margin-top: 18px;
  1814. background-color: #1c84c6;
  1815. color: #ffffff;
  1816. border-radius: 10px;
  1817. height: 35px;
  1818. display: flex;
  1819. align-items: center;
  1820. justify-content: center;
  1821. }
  1822. p {
  1823. font-size: 10px;
  1824. }
  1825. }
  1826. }
  1827. .home {
  1828. blockquote {
  1829. padding: 10px 20px;
  1830. margin: 0 0 20px;
  1831. font-size: 17.5px;
  1832. border-left: 5px solid #eee;
  1833. }
  1834. hr {
  1835. margin-top: 20px;
  1836. margin-bottom: 20px;
  1837. border: 0;
  1838. border-top: 1px solid #eee;
  1839. }
  1840. .col-item {
  1841. margin-bottom: 20px;
  1842. }
  1843. ul {
  1844. padding: 0;
  1845. margin: 0;
  1846. }
  1847. font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  1848. font-size: 13px;
  1849. color: #676a6c;
  1850. overflow-x: hidden;
  1851. ul {
  1852. list-style-type: none;
  1853. }
  1854. h4 {
  1855. margin-top: 0px;
  1856. }
  1857. h2 {
  1858. margin-top: 10px;
  1859. font-size: 26px;
  1860. font-weight: 100;
  1861. }
  1862. p {
  1863. margin-top: 10px;
  1864. b {
  1865. font-weight: 700;
  1866. }
  1867. }
  1868. .update-log {
  1869. ol {
  1870. display: block;
  1871. list-style-type: decimal;
  1872. margin-block-start: 1em;
  1873. margin-block-end: 1em;
  1874. margin-inline-start: 0;
  1875. margin-inline-end: 0;
  1876. padding-inline-start: 40px;
  1877. }
  1878. }
  1879. }
  1880. .home-fleet {
  1881. display: flex;
  1882. .home-left {
  1883. width: 40%;
  1884. padding: 0 10px;
  1885. }
  1886. .home-right {
  1887. width: 60%;
  1888. padding: 0 10px;
  1889. }
  1890. .content-top {
  1891. display: flex;
  1892. .content-top-left {
  1893. display: flex;
  1894. width: 50%;
  1895. height: 100px;
  1896. border-bottom: 1px solid #e6ebf5;
  1897. border-right: 1px solid #e6ebf5;
  1898. padding: 10px;
  1899. justify-content: space-between;
  1900. }
  1901. .content-top-right {
  1902. display: flex;
  1903. width: 50%;
  1904. height: 100px;
  1905. border-bottom: 1px solid #e6ebf5;
  1906. padding: 10px;
  1907. justify-content: space-between;
  1908. }
  1909. }
  1910. .content-bottom {
  1911. display: flex;
  1912. height: 81px;
  1913. border-bottom: 1px solid #e6ebf5;
  1914. padding: 10px;
  1915. justify-content: space-between;
  1916. }
  1917. .content-bottom:last-child {
  1918. border-bottom: 0px;
  1919. }
  1920. .upper-right {
  1921. padding: 10px 0;
  1922. //height: 260px;
  1923. height: 417px;
  1924. }
  1925. .upper-right2 {
  1926. padding: 10px 0;
  1927. height: 104px;
  1928. }
  1929. }
  1930. .single_line {
  1931. overflow: hidden;
  1932. text-overflow: ellipsis;
  1933. white-space: nowrap;
  1934. }
  1935. @media screen and (max-width: 920px) {
  1936. .home-fleet {
  1937. display: flex;
  1938. flex-direction: column;
  1939. .home-left {
  1940. width: 100%;
  1941. }
  1942. .home-right {
  1943. width: 100%;
  1944. }
  1945. }
  1946. }
  1947. </style>
  1948. <style lang="scss">
  1949. .text img {
  1950. max-width: 100%;
  1951. height: auto;
  1952. }
  1953. .home_stock_table {
  1954. display: flex;
  1955. width: 20%;
  1956. justify-content: center;
  1957. align-self: center;
  1958. p{
  1959. display: inline-block;
  1960. white-space: nowrap;
  1961. width: 100%;
  1962. overflow: hidden;
  1963. text-overflow:ellipsis;
  1964. }
  1965. }
  1966. .home_stock_table:hover{
  1967. color: #1c84c6;
  1968. cursor:pointer
  1969. }
  1970. .home_stock_table_right {
  1971. display: flex;
  1972. width: 20%;
  1973. justify-content: space-around;
  1974. align-self: center;
  1975. }
  1976. .jingrun-news {
  1977. overflow: auto;
  1978. }
  1979. .html-box p {
  1980. width: 100%;
  1981. }
  1982. .html-box p img {
  1983. display: block;
  1984. margin: 0 auto;
  1985. max-width: 100% !important;
  1986. }
  1987. </style>