index.vue 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013
  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. if (this.sysType == 1) {
  978. remindExpirationData().then(res => {
  979. this.remindList = res.rows
  980. })
  981. }
  982. this.dataList.addressName = []
  983. this.dataList.boxNumber = []
  984. this.dataList.bookingRanking.text = []
  985. this.dataList.bookingRanking.textTwo = []
  986. this.dataList.bookingRanking.data = []
  987. this.dataList.bookingRanking.dataTwo = []
  988. if (Number(this.sysType) === 3){
  989. boxDistribution().then(res =>{
  990. res.data.forEach(item =>{
  991. this.dataList.addressName.push(item.addressName)
  992. this.dataList.boxNumber.push(item.boxNumber)
  993. })
  994. this.boxDistribution()
  995. })
  996. let l = 0
  997. bookingSpace().then(res=>{
  998. res.data.forEach(item =>{
  999. this.dataList.bookingRanking.text.push(item.corpName)
  1000. this.dataList.bookingRanking.data.push({
  1001. name: item.corpName,
  1002. type: 'line',
  1003. stack: l,
  1004. 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]
  1005. })
  1006. })
  1007. l++
  1008. this.ranking()
  1009. })
  1010. locationRanking().then(res=>{
  1011. let i = 0
  1012. res.data.forEach(item =>{
  1013. this.dataList.bookingRanking.textTwo.push(item.corpName)
  1014. this.dataList.bookingRanking.dataTwo.push({
  1015. name: item.corpName,
  1016. type: 'line',
  1017. stack: i,
  1018. 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]
  1019. })
  1020. i++
  1021. })
  1022. this.rankingTwo()
  1023. })
  1024. shipDynamics().then(res=>{
  1025. console.log(res)
  1026. this.bookingData = res.data
  1027. })
  1028. this.profitData.xData = []
  1029. this.profitData.seriesData = []
  1030. getProfitData({pageSize: 24, pageNum: 1}).then(res => {
  1031. res.rows.forEach(item => {
  1032. if (!item.shipsName) {
  1033. item.shipsName = ''
  1034. }
  1035. if (!item.voyage) {
  1036. item.voyage = ''
  1037. }
  1038. let name = item.shipsName + '-' + item.voyage
  1039. this.profitData.xData.push(name)
  1040. this.profitData.seriesData.push((Number(item.profit) / 10000).toFixed(2))
  1041. // this.profitData.seriesData.push(item.profit)
  1042. })
  1043. this.oceanVessel()
  1044. })
  1045. }
  1046. },
  1047. methods: {
  1048. // 船名航次
  1049. oceanVessel() {
  1050. console.log(this.profitData.xData)
  1051. let myChart = this.$echarts.init(document.getElementById("voyage"));
  1052. const color = ['#EE6666', '#7DD2F3']
  1053. myChart.setOption({
  1054. title: {
  1055. text: '利润统计(前二十四)',
  1056. left: 'center'
  1057. },
  1058. tooltip: {
  1059. trigger: 'axis'
  1060. },
  1061. legend: {
  1062. orient: 'vertical',
  1063. left: 'right',
  1064. data: []
  1065. },
  1066. grid: {
  1067. // left: '10%',
  1068. bottom:'30%'
  1069. },
  1070. xAxis: {
  1071. axisLabel: {
  1072. rotate: 40
  1073. },
  1074. type: 'category',
  1075. boundaryGap: false,
  1076. data: this.profitData.xData,
  1077. // 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',]
  1078. },
  1079. yAxis: {
  1080. type: 'value',
  1081. name: '万元'
  1082. },
  1083. series: [
  1084. {
  1085. type: 'line',
  1086. smooth: false,
  1087. data: this.profitData.seriesData,
  1088. // data:[1000,2112,333,4444,6323,11,234]
  1089. }
  1090. ]
  1091. })
  1092. },
  1093. //箱分布图表
  1094. ranking() {
  1095. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1096. let myChart = this.$echarts.init(document.getElementById("bookingRanking"));
  1097. // 绘制图表
  1098. myChart.setOption({
  1099. title: {
  1100. text: '订舱排名(前十)',
  1101. left: 'center'
  1102. },
  1103. tooltip: {
  1104. trigger: 'axis'
  1105. },
  1106. legend: {
  1107. orient: 'vertical',
  1108. left: 'right',
  1109. data: this.dataList.bookingRanking.text
  1110. },
  1111. grid: {
  1112. left: '3%',
  1113. right: '20%',
  1114. bottom: '3%',
  1115. containLabel: true
  1116. },
  1117. xAxis: {
  1118. type: 'category',
  1119. boundaryGap: false,
  1120. data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  1121. },
  1122. yAxis: {
  1123. type: 'value'
  1124. },
  1125. series: this.dataList.bookingRanking.data
  1126. });
  1127. },
  1128. //箱分布图表
  1129. rankingTwo() {
  1130. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1131. let myChart = this.$echarts.init(document.getElementById("bookingRankingTwo"));
  1132. // 绘制图表
  1133. myChart.setOption({
  1134. title: {
  1135. text: '应收款排名(前十)',
  1136. left: 'center'
  1137. },
  1138. tooltip: {
  1139. trigger: 'axis'
  1140. },
  1141. legend: {
  1142. orient: 'vertical',
  1143. left: 'right',
  1144. data: this.dataList.bookingRanking.textTwo
  1145. },
  1146. grid: {
  1147. left: '3%',
  1148. right: '20%',
  1149. bottom: '3%',
  1150. containLabel: true
  1151. },
  1152. xAxis: {
  1153. type: 'category',
  1154. boundaryGap: false,
  1155. data: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  1156. },
  1157. yAxis: {
  1158. type: 'value'
  1159. },
  1160. series: this.dataList.bookingRanking.dataTwo
  1161. });
  1162. },
  1163. //箱分布图表
  1164. boxDistribution() {
  1165. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1166. let myChart = this.$echarts.init(document.getElementById("distribution"));
  1167. // 绘制图表
  1168. myChart.setOption({
  1169. title: {
  1170. text: "箱分布",
  1171. left: "center",
  1172. },
  1173. xAxis: {
  1174. type: 'category',
  1175. data: this.dataList.addressName
  1176. },
  1177. tooltip: {
  1178. trigger: 'axis'
  1179. },
  1180. yAxis: {
  1181. type: 'value'
  1182. },
  1183. toolbox: {
  1184. feature: {
  1185. saveAsImage: {}
  1186. }
  1187. },
  1188. series: [{
  1189. data: this.dataList.boxNumber,
  1190. type: 'line'
  1191. }]
  1192. });
  1193. },
  1194. goPage(id) {
  1195. this.$router.push({
  1196. path: "/track/cabinet",
  1197. query: { id: id },
  1198. });
  1199. },
  1200. //跳转审批页面
  1201. approval(row) {
  1202. console.log(row)
  1203. switch (row.refno2) {
  1204. case "CDZZ": {
  1205. this.$router.push({
  1206. path: "/business/inAndOutStock",
  1207. query: { id: row.billId }
  1208. })
  1209. break;
  1210. }
  1211. case "FYBG": {
  1212. this.$router.push({
  1213. path: "/business/costModify",
  1214. query: { id: row.billId }
  1215. })
  1216. break;
  1217. }
  1218. case "SJRK": {
  1219. this.$router.push({
  1220. path: "/business/inStock",
  1221. query: { id: row.billId},
  1222. });
  1223. break;
  1224. }
  1225. case "SJCK": {
  1226. this.$router.push({
  1227. path: "/business/outStock",
  1228. query: { id: row.billId},
  1229. });
  1230. break;
  1231. }
  1232. case "HQZY": {
  1233. this.$router.push({
  1234. path: "/business/goodsTransfer",
  1235. query: { id: row.billId},
  1236. });
  1237. break;
  1238. }
  1239. case "CKDB": {
  1240. this.$router.push({
  1241. path: "/business/stockTransfer",
  1242. query: { id: row.billId},
  1243. });
  1244. break;
  1245. }
  1246. case "HWTG": {
  1247. this.$router.push({
  1248. path: "/business/cargoClearance",
  1249. query: { id: row.billId},
  1250. });
  1251. break;
  1252. }
  1253. case "JSCCF": {
  1254. this.$router.push({
  1255. path: "/business/agreement",
  1256. query: { data: JSON.stringify(row) },
  1257. });
  1258. break;
  1259. }
  1260. case "CCF": {
  1261. this.$router.push({
  1262. path: "/agreement/agreementStorage",
  1263. query: { data: JSON.stringify(row) },
  1264. });
  1265. break;
  1266. }
  1267. case "ZYF": {
  1268. this.$router.push({
  1269. path: "/agreement/agreementTask",
  1270. query: { data: JSON.stringify(row) },
  1271. });
  1272. break;
  1273. }
  1274. case "SF": {
  1275. this.$router.push({
  1276. path: "/finance/charge",
  1277. query: { data: JSON.stringify(row) },
  1278. });
  1279. break;
  1280. }
  1281. case "DZ": {
  1282. this.$router.push({
  1283. path: "/finance/contrast",
  1284. query: { data: JSON.stringify(row) },
  1285. });
  1286. break;
  1287. }
  1288. case "FF": {
  1289. this.$router.push({
  1290. path: "/finance/payment",
  1291. query: { data: JSON.stringify(row) },
  1292. });
  1293. break;
  1294. }
  1295. case "ApplyFP": {
  1296. this.$router.push({
  1297. path: "/finance/chargeInvoice",
  1298. query: { data: JSON.stringify(row) },
  1299. });
  1300. break;
  1301. }
  1302. case "KHDZ": {
  1303. this.$router.push({
  1304. path: "/finance/contrast",
  1305. query: { data: JSON.stringify(row) },
  1306. });
  1307. break;
  1308. }
  1309. case "KHSF": {
  1310. this.$router.push({
  1311. path: "/finance/charge",
  1312. query: { data: JSON.stringify(row) },
  1313. });
  1314. break;
  1315. }
  1316. case "KHFF": {
  1317. this.$router.push({
  1318. path: "/finance/payment",
  1319. query: { data: JSON.stringify(row) },
  1320. });
  1321. break;
  1322. }
  1323. case "KHDD": {
  1324. this.$router.push({
  1325. path: "/domesticTrade/orderInformation",
  1326. query: { list: JSON.stringify(row) },
  1327. });
  1328. break;
  1329. }
  1330. case "SJRKITEM": {
  1331. this.$router.push({
  1332. path: "/business/inStock",
  1333. query: { id: row.billId},
  1334. });
  1335. break;
  1336. }
  1337. case "SJCKITEM": {
  1338. this.$router.push({
  1339. path: "/business/outStock",
  1340. query: { id: row.billId},
  1341. });
  1342. break;
  1343. }
  1344. case "XGDD": {
  1345. this.$router.push({
  1346. path: "/domesticTrade/orderInformation",
  1347. query: {testing:JSON.stringify(row)},
  1348. });
  1349. break;
  1350. }
  1351. case "XGTJ": {
  1352. this.$router.push({
  1353. path: "/domesticTrade/orderInformation",
  1354. query: {testing:JSON.stringify(row)},
  1355. });
  1356. break;
  1357. }
  1358. case "DDSC": {
  1359. this.$router.push({
  1360. path: "/domesticTrade/orderInformation",
  1361. query: {testing:JSON.stringify(row)},
  1362. });
  1363. break;
  1364. }
  1365. default: {
  1366. return this.$message.error("未知错误,无状态");
  1367. }
  1368. }
  1369. },
  1370. inquiry() {
  1371. let data = {
  1372. actId: "",
  1373. auditStatus: 'S'
  1374. };
  1375. inquiry(data).then((res) => {
  1376. res.data.map(e=>{
  1377. if(e.auditItem){
  1378. e.auditItem=e.auditItem.slice(0, 10)
  1379. }
  1380. })
  1381. this.tableData = res.data;
  1382. });
  1383. },
  1384. querytoDo(res) {
  1385. this.dialogVisible = true;
  1386. this.text = res;
  1387. },
  1388. handleClose(done) {
  1389. this.dialogVisible = false;
  1390. },
  1391. firstinventory(fId) {
  1392. // console.log(this.warehouse);
  1393. information(fId).then((response) => {
  1394. this.chart = response.data;
  1395. if (this.chart.whouseList.length !== 0) {
  1396. for (let index of this.chart.corpsListWhouse) {
  1397. this.master.push({
  1398. name: index.fName,
  1399. value: index.fGrossweightD,
  1400. });
  1401. this.name.push(index.fName);
  1402. }
  1403. for (let index of this.chart.goodslistWhouse) {
  1404. this.commodity.push(index.fName);
  1405. this.commoditytwo.push(index.fGrossweightD);
  1406. }
  1407. this.drawLine();
  1408. this.drawLinetwo();
  1409. this.commoDity();
  1410. } else {
  1411. this.chart = {
  1412. corpsListWhouse: [
  1413. {
  1414. balance: 0,
  1415. fCorpid: 58,
  1416. fGrossweightD: 0,
  1417. fName: "展示数据",
  1418. fTotalgross: 10000,
  1419. fWarehouseName: "展示数据",
  1420. },
  1421. ],
  1422. goodslistWhouse: [
  1423. {
  1424. balance: 0,
  1425. fGoodsid: 13,
  1426. fGrossweightD: 0,
  1427. fName: "展示商品",
  1428. fTotalgross: 10000,
  1429. fWarehouseName: "展示数据",
  1430. },
  1431. ],
  1432. whouseList: [
  1433. {
  1434. fGrossweightD: 0,
  1435. fName: "展示数据",
  1436. fTotalgross: 10000,
  1437. fWarehouseid: 36,
  1438. },
  1439. ],
  1440. };
  1441. for (let index of this.chart.corpsListWhouse) {
  1442. this.master.push({
  1443. name: index.fName,
  1444. value: index.fGrossweightD,
  1445. });
  1446. this.name.push(index.fName);
  1447. }
  1448. for (let index of this.chart.goodslistWhouse) {
  1449. this.commodity.push(index.fName);
  1450. this.commoditytwo.push(index.fGrossweightD);
  1451. }
  1452. this.drawLine();
  1453. this.drawLinetwo();
  1454. this.commoDity();
  1455. }
  1456. });
  1457. },
  1458. query() {
  1459. this.master = [];
  1460. this.commodity = [];
  1461. this.commoditytwo = [];
  1462. this.name = [];
  1463. if (this.select === "") {
  1464. return this.select;
  1465. } else {
  1466. information(this.select).then((response) => {
  1467. this.chart = response.data;
  1468. for (let index of this.chart.corpsListWhouse) {
  1469. this.master.push({
  1470. name: index.fName,
  1471. value: index.fGrossweightD,
  1472. });
  1473. this.name.push(index.fName);
  1474. }
  1475. for (let index of this.chart.goodslistWhouse) {
  1476. this.commodity.push(index.fName);
  1477. this.commoditytwo.push(index.fGrossweightD);
  1478. }
  1479. this.drawLine();
  1480. this.drawLinetwo();
  1481. this.commoDity();
  1482. });
  1483. }
  1484. },
  1485. jump(res) {
  1486. this.$router.push({ path: res });
  1487. },
  1488. //设置单元格边框
  1489. cellStyle({ row, column, rowIndex, columnIndex }) {
  1490. return "border-bottom: 1px dashed rgb(223, 230, 236)";
  1491. },
  1492. //查询消息中心
  1493. getList() {
  1494. this.loading = true;
  1495. listCorps(this.queryParams).then((response) => {
  1496. if (response.rows.length > 0) {
  1497. // this.tableDataTwo = response.rows.slice(0, 10);
  1498. this.tableDataTwo = response.rows
  1499. }
  1500. });
  1501. },
  1502. //查询仓库
  1503. warehouses() {
  1504. warehouse().then((response) => {
  1505. this.warehouse = [];
  1506. for (let index of response.rows) {
  1507. this.warehouse.push({
  1508. fName: index.fName,
  1509. fWarehouseid: index.fWarehouseid,
  1510. });
  1511. }
  1512. // console.log(this.warehouse);
  1513. this.firstinventory(this.warehouse[0].fWarehouseid);
  1514. });
  1515. },
  1516. goTarget(href) {
  1517. window.open(href, "_blank");
  1518. },
  1519. //仓库图表
  1520. drawLine() {
  1521. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1522. let myChart = this.$echarts.init(document.getElementById("box"));
  1523. // 绘制图表
  1524. myChart.setOption({
  1525. title: {
  1526. text: this.chart.whouseList[0].fName + "统计",
  1527. subtext: "实时数据",
  1528. left: "center",
  1529. },
  1530. tooltip: {
  1531. trigger: "item",
  1532. formatter: "{a} <br/>{b} : {c} ({d}%)",
  1533. },
  1534. legend: {
  1535. bottom: 10,
  1536. left: "center",
  1537. data: ["空闲库容", "占用库容"],
  1538. },
  1539. series: [
  1540. {
  1541. type: "pie",
  1542. name: "实时数据",
  1543. radius: "65%",
  1544. center: ["50%", "50%"],
  1545. selectedMode: "single",
  1546. data: [
  1547. {
  1548. label: {
  1549. backgroundColor: "#eee",
  1550. borderColor: "#777",
  1551. borderWidth: 1,
  1552. borderRadius: 4,
  1553. rich: {
  1554. title: {
  1555. color: "#eee",
  1556. align: "center",
  1557. },
  1558. abg: {
  1559. backgroundColor: "#333",
  1560. width: "100%",
  1561. align: "right",
  1562. height: 25,
  1563. borderRadius: [4, 4, 0, 0],
  1564. },
  1565. Sunny: {
  1566. height: 30,
  1567. align: "left",
  1568. },
  1569. Cloudy: {
  1570. height: 30,
  1571. align: "left",
  1572. },
  1573. Showers: {
  1574. height: 30,
  1575. align: "left",
  1576. },
  1577. weatherHead: {
  1578. color: "#333",
  1579. height: 24,
  1580. align: "left",
  1581. },
  1582. hr: {
  1583. borderColor: "#777",
  1584. width: "100%",
  1585. borderWidth: 0.5,
  1586. height: 0,
  1587. },
  1588. value: {
  1589. width: 20,
  1590. padding: [0, 20, 0, 30],
  1591. align: "left",
  1592. },
  1593. valueHead: {
  1594. color: "#333",
  1595. width: 20,
  1596. padding: [0, 20, 0, 30],
  1597. align: "center",
  1598. },
  1599. rate: {
  1600. width: 40,
  1601. align: "right",
  1602. padding: [0, 10, 0, 0],
  1603. },
  1604. rateHead: {
  1605. color: "#333",
  1606. width: 40,
  1607. align: "center",
  1608. padding: [0, 10, 0, 0],
  1609. },
  1610. },
  1611. },
  1612. },
  1613. {
  1614. value: this.chart.whouseList[0].fGrossweightD,
  1615. name: "占用库容",
  1616. },
  1617. {
  1618. value: parseFloat(
  1619. this.chart.whouseList[0].fTotalgross -
  1620. this.chart.whouseList[0].fGrossweightD
  1621. ).toFixed(1),
  1622. name: "空闲库容",
  1623. },
  1624. ],
  1625. emphasis: {
  1626. itemStyle: {
  1627. shadowBlur: 10,
  1628. shadowOffsetX: 0,
  1629. shadowColor: "rgba(0, 0, 0, 0.5)",
  1630. },
  1631. },
  1632. },
  1633. ],
  1634. });
  1635. },
  1636. drawLinetwo() {
  1637. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1638. let myChart = this.$echarts.init(document.getElementById("cargoOwner"));
  1639. // 绘制图表
  1640. myChart.setOption({
  1641. title: {
  1642. text: this.chart.whouseList[0].fName + "货权方统计",
  1643. subtext: "实时数据",
  1644. left: "center",
  1645. },
  1646. tooltip: {
  1647. trigger: "item",
  1648. formatter: "{a} <br/>{b}: {c} ({d}%)",
  1649. },
  1650. legend: {
  1651. bottom: 10,
  1652. left: "center",
  1653. data: this.name,
  1654. },
  1655. series: [
  1656. {
  1657. name: "访问来源",
  1658. type: "pie",
  1659. radius: ["40%", "60%"],
  1660. avoidLabelOverlap: false,
  1661. label: {
  1662. show: false,
  1663. position: "center",
  1664. },
  1665. emphasis: {
  1666. label: {
  1667. // show: true,
  1668. fontSize: "30",
  1669. fontWeight: "bold",
  1670. },
  1671. },
  1672. labelLine: {
  1673. show: false,
  1674. },
  1675. data: this.master,
  1676. },
  1677. ],
  1678. });
  1679. },
  1680. smartScreen(){
  1681. currentLogin().then(res=>{
  1682. const role = res.data.roles.some(item => item.roleKey == 'admin' || item.roleKey == 'IDC')
  1683. if (role){
  1684. this.getConfigKey("large.screen").then((response) => {
  1685. if (response.msg) {
  1686. window.open( 'http://119.3.74.195:9527/view/'+ response.msg +'?Authorization=' + getToken())
  1687. } else {
  1688. return this.$message.warning('模板开发中')
  1689. }
  1690. });
  1691. }else {
  1692. this.$message.warning('您无此权限查看面板');
  1693. }
  1694. })
  1695. },
  1696. commoDity() {
  1697. // 基于准备好的dom,初始化echarts实例,所以只能在mounted中调用
  1698. let myChart = this.$echarts.init(document.getElementById("commoDity"));
  1699. // 绘制图表
  1700. myChart.setOption({
  1701. title: {
  1702. text: this.chart.whouseList[0].fName + "商品统计",
  1703. subtext: "实时数据",
  1704. left: "center",
  1705. },
  1706. color: ["#3398DB"],
  1707. tooltip: {
  1708. trigger: "axis",
  1709. axisPointer: {
  1710. // 坐标轴指示器,坐标轴触发有效
  1711. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  1712. },
  1713. },
  1714. grid: {
  1715. left: "3%",
  1716. right: "4%",
  1717. bottom: "3%",
  1718. containLabel: true,
  1719. },
  1720. xAxis: [
  1721. {
  1722. type: "category",
  1723. data: this.commodity,
  1724. axisTick: {
  1725. alignWithLabel: true,
  1726. },
  1727. },
  1728. ],
  1729. yAxis: [
  1730. {
  1731. type: "value",
  1732. },
  1733. ],
  1734. series: [
  1735. {
  1736. name: "实时状态",
  1737. type: "bar",
  1738. barWidth: "60%",
  1739. data: this.commoditytwo,
  1740. },
  1741. ],
  1742. });
  1743. },
  1744. openNewsDetails(id) {
  1745. this.tableDataTwo.forEach(item => {
  1746. if (item.noticeId === id) {
  1747. this.newsDetails.noticeTitle = item.noticeTitle;
  1748. this.newsDetails.noticeContent = item.noticeContent
  1749. }
  1750. })
  1751. this.newsVisible = true
  1752. },
  1753. // 跳转到更多公告页面
  1754. jumpMoreNews() {
  1755. this.$router.push({
  1756. path: "/notice/seeMore",
  1757. });
  1758. },
  1759. // 弹窗
  1760. openDialog(name) {
  1761. if (name == 'inStock') {
  1762. this.fastInStockVisble = true
  1763. this.$nextTick(() => {
  1764. this.$refs.fastInStock.init()
  1765. })
  1766. }
  1767. if (name === 'outStock') {
  1768. // this.$message.warning('模块开发中')
  1769. this.fastOutStockVisble = true
  1770. this.$nextTick(() => {
  1771. this.$refs.fastOutStock.init()
  1772. })
  1773. }
  1774. },
  1775. // 关闭
  1776. closeInStock() {
  1777. this.fastInStockVisble = false
  1778. },
  1779. closeOutStock() {
  1780. this.fastOutStockVisble = false
  1781. }
  1782. },
  1783. };
  1784. </script>
  1785. <style scoped lang="scss">
  1786. .block {
  1787. width: 100%;
  1788. display: flex;
  1789. flex-wrap: wrap;
  1790. justify-content: space-around;
  1791. li div:hover {
  1792. background-color: #025184;
  1793. }
  1794. li:nth-child(6) div,
  1795. li:nth-child(7) div,
  1796. li:nth-child(8) div,
  1797. li:nth-child(9) div,
  1798. li:nth-child(10) div {
  1799. background-color: #2f4554;
  1800. }
  1801. li:nth-child(6) div:hover,
  1802. li:nth-child(7) div:hover,
  1803. li:nth-child(8) div:hover,
  1804. li:nth-child(9) div:hover,
  1805. li:nth-child(10) div:hover {
  1806. background-color: #2f4454d1;
  1807. }
  1808. li {
  1809. width: 8%;
  1810. margin-left: 10px;
  1811. text-align: center;
  1812. cursor: pointer;
  1813. margin-bottom: 15px;
  1814. div {
  1815. //margin-top: 18px;
  1816. background-color: #1c84c6;
  1817. color: #ffffff;
  1818. border-radius: 10px;
  1819. height: 35px;
  1820. display: flex;
  1821. align-items: center;
  1822. justify-content: center;
  1823. }
  1824. p {
  1825. font-size: 10px;
  1826. }
  1827. }
  1828. }
  1829. .home {
  1830. blockquote {
  1831. padding: 10px 20px;
  1832. margin: 0 0 20px;
  1833. font-size: 17.5px;
  1834. border-left: 5px solid #eee;
  1835. }
  1836. hr {
  1837. margin-top: 20px;
  1838. margin-bottom: 20px;
  1839. border: 0;
  1840. border-top: 1px solid #eee;
  1841. }
  1842. .col-item {
  1843. margin-bottom: 20px;
  1844. }
  1845. ul {
  1846. padding: 0;
  1847. margin: 0;
  1848. }
  1849. font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  1850. font-size: 13px;
  1851. color: #676a6c;
  1852. overflow-x: hidden;
  1853. ul {
  1854. list-style-type: none;
  1855. }
  1856. h4 {
  1857. margin-top: 0px;
  1858. }
  1859. h2 {
  1860. margin-top: 10px;
  1861. font-size: 26px;
  1862. font-weight: 100;
  1863. }
  1864. p {
  1865. margin-top: 10px;
  1866. b {
  1867. font-weight: 700;
  1868. }
  1869. }
  1870. .update-log {
  1871. ol {
  1872. display: block;
  1873. list-style-type: decimal;
  1874. margin-block-start: 1em;
  1875. margin-block-end: 1em;
  1876. margin-inline-start: 0;
  1877. margin-inline-end: 0;
  1878. padding-inline-start: 40px;
  1879. }
  1880. }
  1881. }
  1882. .home-fleet {
  1883. display: flex;
  1884. .home-left {
  1885. width: 40%;
  1886. padding: 0 10px;
  1887. }
  1888. .home-right {
  1889. width: 60%;
  1890. padding: 0 10px;
  1891. }
  1892. .content-top {
  1893. display: flex;
  1894. .content-top-left {
  1895. display: flex;
  1896. width: 50%;
  1897. height: 100px;
  1898. border-bottom: 1px solid #e6ebf5;
  1899. border-right: 1px solid #e6ebf5;
  1900. padding: 10px;
  1901. justify-content: space-between;
  1902. }
  1903. .content-top-right {
  1904. display: flex;
  1905. width: 50%;
  1906. height: 100px;
  1907. border-bottom: 1px solid #e6ebf5;
  1908. padding: 10px;
  1909. justify-content: space-between;
  1910. }
  1911. }
  1912. .content-bottom {
  1913. display: flex;
  1914. height: 81px;
  1915. border-bottom: 1px solid #e6ebf5;
  1916. padding: 10px;
  1917. justify-content: space-between;
  1918. }
  1919. .content-bottom:last-child {
  1920. border-bottom: 0px;
  1921. }
  1922. .upper-right {
  1923. padding: 10px 0;
  1924. //height: 260px;
  1925. height: 417px;
  1926. }
  1927. .upper-right2 {
  1928. padding: 10px 0;
  1929. height: 104px;
  1930. }
  1931. }
  1932. .single_line {
  1933. overflow: hidden;
  1934. text-overflow: ellipsis;
  1935. white-space: nowrap;
  1936. }
  1937. @media screen and (max-width: 920px) {
  1938. .home-fleet {
  1939. display: flex;
  1940. flex-direction: column;
  1941. .home-left {
  1942. width: 100%;
  1943. }
  1944. .home-right {
  1945. width: 100%;
  1946. }
  1947. }
  1948. }
  1949. </style>
  1950. <style lang="scss">
  1951. .text img {
  1952. max-width: 100%;
  1953. height: auto;
  1954. }
  1955. .home_stock_table {
  1956. display: flex;
  1957. width: 20%;
  1958. justify-content: center;
  1959. align-self: center;
  1960. p{
  1961. display: inline-block;
  1962. white-space: nowrap;
  1963. width: 100%;
  1964. overflow: hidden;
  1965. text-overflow:ellipsis;
  1966. }
  1967. }
  1968. .home_stock_table:hover{
  1969. color: #1c84c6;
  1970. cursor:pointer
  1971. }
  1972. .home_stock_table_right {
  1973. display: flex;
  1974. width: 20%;
  1975. justify-content: space-around;
  1976. align-self: center;
  1977. }
  1978. .jingrun-news {
  1979. overflow: auto;
  1980. }
  1981. .html-box p {
  1982. width: 100%;
  1983. }
  1984. .html-box p img {
  1985. display: block;
  1986. margin: 0 auto;
  1987. max-width: 100% !important;
  1988. }
  1989. </style>