index.vue 63 KB

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