index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. <template>
  2. <div class="shift-performance-container">
  3. <a-tabs v-model:activeKey="activeKey" type="card">
  4. <a-tab-pane key="chart">
  5. <template #tab>
  6. <span>
  7. <Icon icon="ant-design:appstore-outlined" :size="14" style="margin: 0" />
  8. 图表
  9. </span>
  10. </template>
  11. <a-spin wrapperClassName="shift-performance-chart-container" :spinning="loading">
  12. <div class="chart-container">
  13. <a-row :gutter="[20, 20]">
  14. <a-col :span="24">
  15. <div class="workbench-header">
  16. <div class="workbench-header-top-title flex">
  17. <div> 当前日期:<a-date-picker v-model:value="currentDate" @change="(date) => getShiftInfo(3, date)" /> </div>
  18. <div class="shift-performance-tags flex-1">
  19. <a-tag :color="shiftColor[index]" @click="() => (currentShift = index)" v-for="(item, index) in shiftPerformanceColumns">
  20. {{ item.createTime ? item.createTime.substring(5, 16) : '' }} ~
  21. {{ item.changeShiftTime ? item.changeShiftTime.substring(5, 16) : '' }}
  22. 【{{ getTeamShift(item.shift, item.shiftGroup) }}】
  23. <span class="current-shift" :style="{ background: shiftColor[index] }" v-if="index === currentShift"></span>
  24. </a-tag>
  25. </div>
  26. </div>
  27. <div class="flex flex-1 items-center">
  28. <div class="statistic-wrapper">
  29. <a-card v-for="item in statisticColums" :bodyStyle="{ padding: '0 10px' }">
  30. <a-statistic
  31. :title="item.title"
  32. :value="
  33. shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift][item.dataIndex]
  34. ? shiftPerformanceColumns[currentShift][item.dataIndex]
  35. : 0
  36. "
  37. />
  38. </a-card>
  39. </div>
  40. <div class="chart-wrapper-right ml-5">
  41. <a-button
  42. size="large"
  43. type="primary"
  44. @click="openDetailModal(true, { record: shiftPerformanceColumns[currentShift], ccmNo: machine, isUpdate: true })"
  45. >
  46. 浇铸炉次
  47. </a-button>
  48. <a-button
  49. size="large"
  50. type="primary"
  51. style="margin-left: 10px"
  52. @click="
  53. openPrintOriginalRecordsModal(true, {
  54. ccmNo: machine,
  55. queryType: '2',
  56. shiftText: '',
  57. time:
  58. shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift].changeShiftTime
  59. ? dayjs(shiftPerformanceColumns[currentShift].changeShiftTime).subtract(3, 'hour').format('YYYY-MM-DD HH:mm:ss')
  60. : '',
  61. curShiftInfo: {
  62. shift: shiftPerformanceColumns[currentShift] ? shiftPerformanceColumns[currentShift].shift : '',
  63. shiftGroup: shiftPerformanceColumns[currentShift] ? shiftPerformanceColumns[currentShift].shiftGroup : '',
  64. },
  65. changeShiftId: shiftPerformanceColumns[currentShift] ? shiftPerformanceColumns[currentShift].id : '',
  66. })
  67. "
  68. >
  69. 原始数据
  70. </a-button>
  71. </div>
  72. </div>
  73. </div>
  74. </a-col>
  75. </a-row>
  76. <div class="chart-wrapper">
  77. <a-row :gutter="[10, 10]">
  78. <!-- 定尺明细 -->
  79. <a-col :span="8">
  80. <a-card title="定尺明细" :bordered="false">
  81. <Chart
  82. :list="
  83. shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift].sizeDetailsList
  84. ? shiftPerformanceColumns[currentShift].sizeDetailsList
  85. : []
  86. "
  87. />
  88. </a-card>
  89. </a-col>
  90. <!-- 行车吊运 -->
  91. <a-col :span="8" class="driving-wrapper">
  92. <a-card title="行车吊运" :bordered="false">
  93. <template v-if="shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift].liftingBillDetailsList">
  94. <div class="driving-list" v-for="(item, index) in shiftPerformanceColumns[currentShift].liftingBillDetailsList" :key="index">
  95. <div class="driving-title">
  96. <div class="title-line"></div>
  97. <div class="title-txt">{{ item.vehicleNumber }}</div>
  98. </div>
  99. <a-row :gutter="20">
  100. <a-col :span="8" v-if="machine == '6'">
  101. <div class="driving-list-item">
  102. <div class="driving-item">热送</div>
  103. <div class="flex statistic">
  104. <a-statistic title="支数" class="statistic-left" :value="item.hotSendAmont || 0" />
  105. <a-statistic title="重量/t" :value="item.hotSendWeight ? item.hotSendWeight.toFixed(3) : 0" />
  106. </div>
  107. </div>
  108. </a-col>
  109. <a-col :span="8">
  110. <div class="driving-list-item">
  111. <div class="driving-item">热装</div>
  112. <div class="flex statistic">
  113. <a-statistic title="支数" class="statistic-left" :value="item.hotChargingAmont || 0" />
  114. <a-statistic title="重量/t" :value="item.hotChargingWeight ? item.hotChargingWeight.toFixed(3) : 0" />
  115. </div>
  116. </div>
  117. </a-col>
  118. <a-col :span="8">
  119. <div class="driving-list-item">
  120. <div class="driving-item">堆垛</div>
  121. <div class="flex statistic">
  122. <a-statistic title="支数" class="statistic-left" :value="item.stackingAmont || 0" />
  123. <a-statistic title="重量/t" :value="item.amontWeight ? item.amontWeight.toFixed(3) : 0" />
  124. </div>
  125. </div>
  126. </a-col>
  127. </a-row>
  128. </div>
  129. </template>
  130. <a-empty v-else />
  131. </a-card>
  132. </a-col>
  133. <!-- 热送信息 -->
  134. <a-col class="hot-send-wrapper" :span="8">
  135. <a-card :bordered="false" class="hot-send-card" :bodyStyle="{ padding: '0' }">
  136. <template #title>
  137. <div class="title flex">
  138. <span>热送信息:</span>
  139. <div class="statistic-wrapper flex">
  140. <a-card v-for="item in hotSendCols" :bodyStyle="{ padding: '0 10px' }">
  141. <a-statistic
  142. :title="item.title"
  143. :value-style="{ color: '#3b5999' }"
  144. :value="shiftPerformanceColumns[currentShift] ? shiftPerformanceColumns[currentShift][item.dataIndex] : 0"
  145. />
  146. </a-card>
  147. </div>
  148. </div>
  149. </template>
  150. <!-- 棒一 -->
  151. <a-card v-if="machine == '5'" :title="chartColumns['rollClubOneDetails']" :bordered="false">
  152. <Chart
  153. :list="
  154. shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift]['rollClubOneDetails']
  155. ? shiftPerformanceColumns[currentShift]['rollClubOneDetails']
  156. : []
  157. "
  158. />
  159. </a-card>
  160. <!-- 高线 -->
  161. <a-card v-if="machine == '6'" :title="chartColumns['rollClubHeightDetails']" :bordered="false">
  162. <Chart
  163. :list="
  164. shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift]['rollClubHeightDetails']
  165. ? shiftPerformanceColumns[currentShift]['rollClubHeightDetails']
  166. : []
  167. "
  168. />
  169. </a-card>
  170. </a-card>
  171. </a-col>
  172. </a-row>
  173. <div class="title flex">
  174. <span>装运信息:</span>
  175. <div class="statistic-wrapper flex">
  176. <a-card v-for="item in hotChargeCols" :bodyStyle="{ padding: '0 10px' }">
  177. <a-statistic
  178. :title="item.title"
  179. :value-style="{ color: '#2e9900' }"
  180. :value="shiftPerformanceColumns[currentShift] ? shiftPerformanceColumns[currentShift][item.dataIndex] : 0"
  181. />
  182. </a-card>
  183. </div>
  184. </div>
  185. <a-row :gutter="[10, 10]">
  186. <a-col :span="8" v-for="item in chargeColumns">
  187. <a-card :title="chartColumns[item]" :bordered="false">
  188. <Chart
  189. :list="
  190. shiftPerformanceColumns[currentShift] && shiftPerformanceColumns[currentShift][item]
  191. ? shiftPerformanceColumns[currentShift][item]
  192. : []
  193. "
  194. />
  195. </a-card>
  196. </a-col>
  197. </a-row>
  198. </div>
  199. </div>
  200. </a-spin>
  201. </a-tab-pane>
  202. <a-tab-pane key="list">
  203. <template #tab>
  204. <span>
  205. <Icon icon="ant-design:bars-outlined" :size="14" style="margin: 0" />
  206. 列表
  207. </span>
  208. </template>
  209. <BasicTable @register="registerTable">
  210. <template v-slot:bodyCell="{ column, record, index, text }">
  211. <template v-if="column.dataIndex.includes('liftingBillDetailsList')">
  212. <div class="liftingBillDetailsList-content">
  213. <div class="liftingBillDetailsList-wrap" v-for="item in record.liftingBillDetailsList">{{ item[column.dataIndex[1]] }}</div>
  214. </div>
  215. </template>
  216. </template>
  217. </BasicTable>
  218. </a-tab-pane>
  219. </a-tabs>
  220. </div>
  221. <history @register="registerDetailModal" />
  222. <!-- 打印原始数据 -->
  223. <printOriginalRecords @register="registerPrintOriginalRecordsModal" />
  224. </template>
  225. <script lang="ts" setup>
  226. import { BasicTable } from '/@/components/Table';
  227. import { useListPage } from '/@/hooks/system/useListPage';
  228. import { columns, searchFormSchema } from './ShiftPerformance.data';
  229. import { list } from './ShiftPerformance.api';
  230. import { getMachineNum } from '../hotDelivery/common.data';
  231. import { isJsonArrayString } from '/@/utils/is';
  232. import { BasicColumn } from '/@/components/Table';
  233. import { onMounted, ref } from 'vue';
  234. import Icon from '/@/components/Icon';
  235. import AStatistic from 'ant-design-vue/lib/statistic/Statistic';
  236. import { getTeamShift } from '../Dashboard/dashboard.api';
  237. import Chart from '../Dashboard/components/chart.vue';
  238. import type { Dayjs } from 'dayjs';
  239. import dayjs from 'dayjs';
  240. import { useModal } from '/@/components/Modal';
  241. import history from './components/history.vue';
  242. import printOriginalRecords from '../operator/components/printOriginalRecords.vue';
  243. const currentDate = ref<Dayjs>(dayjs());
  244. // 棒线堆垛明细
  245. const [registerDetailModal, { openModal: openDetailModal }] = useModal();
  246. // 注册打印原始记录modal
  247. const [registerPrintOriginalRecordsModal, { openModal: openPrintOriginalRecordsModal }] = useModal();
  248. const machine = getMachineNum();
  249. const changeColumns = [
  250. 'sizeDetailsList',
  251. 'rollClubOneDetails',
  252. 'rollClubTwoDetails',
  253. 'rollClubThreeDetails',
  254. 'rollClubHeightDetails',
  255. 'rollClubShipDetails',
  256. ];
  257. const chartColumns = {
  258. rollClubOneDetails: '棒一明细',
  259. rollClubTwoDetails: '棒二明细',
  260. rollClubThreeDetails: '棒三明细',
  261. rollClubHeightDetails: '高线明细',
  262. rollClubShipDetails: '上若明细',
  263. };
  264. const chargeColumns = ['rollClubTwoDetails', 'rollClubThreeDetails', 'rollClubShipDetails'];
  265. // 定义 columnsObj 类型
  266. type ColumnsObjType = Record<string, { title: string; align: string; dataIndex: any[]; width: number; ellipsis: boolean }[]>;
  267. const activeKey = ref('chart');
  268. const statisticColums = [
  269. {
  270. title: '当班总数',
  271. dataIndex: 'shiftSum',
  272. },
  273. {
  274. title: '当班总重',
  275. dataIndex: 'shiftProduct',
  276. },
  277. {
  278. title: '起垛支数',
  279. dataIndex: 'shiftStackAmount',
  280. },
  281. {
  282. title: '起垛重量',
  283. dataIndex: 'shiftStackWeight',
  284. },
  285. {
  286. title: '判废支数',
  287. dataIndex: 'wasteAmount',
  288. },
  289. {
  290. title: '判废重量',
  291. dataIndex: 'wasteBlankOutput',
  292. },
  293. ];
  294. const hotSendCols = [
  295. {
  296. title: '热送支数',
  297. dataIndex: 'shiftHotsendAmount',
  298. },
  299. {
  300. title: '热送重量',
  301. dataIndex: 'shiftHotsendWeight',
  302. },
  303. ];
  304. const hotChargeCols = [
  305. {
  306. title: '装运总车次',
  307. dataIndex: 'allCarNum',
  308. },
  309. {
  310. title: '装运总支数',
  311. dataIndex: 'counts',
  312. },
  313. {
  314. title: '装运总重量',
  315. dataIndex: 'blankOutputs',
  316. },
  317. {
  318. title: '热装支数',
  319. dataIndex: 'shiftHotfeignAmount',
  320. },
  321. {
  322. title: '热装重量',
  323. dataIndex: 'shiftHotfeignWeight',
  324. },
  325. ];
  326. const shiftPerformanceColumns = ref<any>([]);
  327. const shiftColor = ['#f50', '#2db7f5', '#87d068'];
  328. const currentShift = ref(0);
  329. //注册table数据
  330. const { tableContext } = useListPage({
  331. tableProps: {
  332. title: '',
  333. api: list,
  334. beforeFetch: (params) => {
  335. return Object.assign(params, { ccmNo: machine });
  336. },
  337. afterFetch: (data) => {
  338. if (data.length > 0) {
  339. const tabColumns = getColumns();
  340. // 初始化 columnsObj 并明确类型
  341. const columnsObj: ColumnsObjType = {};
  342. data.forEach((item) => {
  343. const keys = Object.keys(item);
  344. keys.forEach((ele) => {
  345. if (changeColumns.includes(ele) && item[ele] && isJsonArrayString(item[ele])) {
  346. let obj = {};
  347. if (!columnsObj[ele]) columnsObj[ele] = [];
  348. JSON.parse(item[ele]).forEach((v) => {
  349. const has = columnsObj[ele].find((vs) => vs.dataIndex[1] === v.size);
  350. if (!has) {
  351. columnsObj[ele].push({
  352. title: v.size,
  353. align: 'center',
  354. dataIndex: [ele, v.size],
  355. ellipsis: false,
  356. width: 150,
  357. });
  358. }
  359. obj[v.size] = v.nums + '支 | ' + v.blankOutput + '/t';
  360. });
  361. item[ele] = obj;
  362. } else if (ele === 'liftingBillDetailsList' && isJsonArrayString(item[ele])) {
  363. let obj: any = [];
  364. JSON.parse(item[ele]).forEach((v) => {
  365. obj.push({
  366. vehicleNumber: v.vehicleNumber,
  367. hotCharging: v.hotChargingAmont + '支 | ' + v.hotChargingWeight.toFixed(4) + '/t',
  368. hotSend: v.hotSendAmont + '支 | ' + v.hotSendWeight.toFixed(4) + '/t',
  369. stacking: v.stackingAmont + '支 | ' + v.amontWeight.toFixed(4) + '/t',
  370. });
  371. });
  372. item[ele] = obj;
  373. }
  374. });
  375. });
  376. const newColumns = tabColumns.map((item) => {
  377. if (columnsObj[item.dataIndex as string]) {
  378. return { ...item, children: columnsObj[item.dataIndex as string] };
  379. } else {
  380. return item;
  381. }
  382. }) as BasicColumn[];
  383. setColumns(newColumns);
  384. }
  385. return data;
  386. },
  387. columns,
  388. canResize: false,
  389. formConfig: {
  390. //labelWidth: 120,
  391. schemas: searchFormSchema,
  392. autoSubmitOnEnter: true,
  393. showAdvancedButton: true,
  394. fieldMapToNumber: [],
  395. fieldMapToTime: [
  396. ['changeShiftTime', ['changeShiftTime_begin', 'changeShiftTime_end'], 'YYYY-MM-DD'],
  397. ['createTime', ['createTime_begin', 'createTime_end'], 'YYYY-MM-DD'],
  398. ],
  399. },
  400. showActionColumn: false,
  401. striped: true,
  402. actionColumn: {
  403. width: 150,
  404. title: '操作',
  405. fixed: 'right',
  406. },
  407. },
  408. });
  409. // 获取班次信息,三条
  410. const loading = ref(false);
  411. const getShiftInfo = async (pageSize: number = 3, date?: Dayjs) => {
  412. try {
  413. loading.value = true;
  414. const createTime_begin = date ? date.subtract(1, 'day').format('YYYY-MM-DD 23:55:00') : undefined;
  415. const createTime_end = date ? date.add(1, 'day').format('YYYY-MM-DD 00:05:00') : undefined;
  416. const res = await list({
  417. ccmNo: machine,
  418. pageNo: 1,
  419. pageSize: pageSize,
  420. column: 'createTime',
  421. order: 'asc',
  422. ...(date ? { createTime_begin, createTime_end } : {}),
  423. });
  424. const { records } = res;
  425. const arr = (records || []).map((item: any) => {
  426. const keys = Object.keys(item);
  427. keys.forEach((ele) => {
  428. if (changeColumns.includes(ele) && item[ele] && isJsonArrayString(item[ele])) {
  429. item[ele] = JSON.parse(item[ele]).map((v: any) => {
  430. return {
  431. size: v.size,
  432. weight: v.blankOutput,
  433. nums: v.nums,
  434. };
  435. });
  436. } else if (ele === 'liftingBillDetailsList' && isJsonArrayString(item[ele])) {
  437. item[ele] = JSON.parse(item[ele] || '[]');
  438. }
  439. });
  440. return item;
  441. });
  442. // if (pageSize === 4) {
  443. // arr.splice(0, 1);
  444. // }
  445. shiftPerformanceColumns.value = arr
  446. .filter((item) => item.createTime && item.changeShiftTime) // 过滤掉 createTime 为空的数据
  447. .sort((a, b) => {
  448. const dateA = new Date(a.createTime).getTime(); // 转换为时间戳
  449. const dateB = new Date(b.createTime).getTime(); // 转换为时间戳
  450. if (isNaN(dateA) || isNaN(dateB)) {
  451. console.warn('Invalid date detected:', a.createTime, b.createTime);
  452. return 0; // 如果日期无效,视为相等
  453. }
  454. return dateA - dateB; // 按时间戳排序
  455. });
  456. currentShift.value = shiftPerformanceColumns.value.length > 0 ? shiftPerformanceColumns.value.length - 1 : 0;
  457. } catch (error) {
  458. console.error(error);
  459. } finally {
  460. loading.value = false;
  461. }
  462. };
  463. const [registerTable, { getColumns, setColumns }] = tableContext;
  464. onMounted(() => {
  465. getShiftInfo(4, dayjs());
  466. });
  467. </script>
  468. <style lang="less" scoped>
  469. .shift-performance-container {
  470. width: 100%;
  471. height: 100%;
  472. padding: 10px;
  473. .ant-tabs {
  474. height: 100%;
  475. :deep(.ant-tabs-content) {
  476. height: 100%;
  477. }
  478. }
  479. .chart-container {
  480. height: 100%;
  481. display: flex;
  482. flex-direction: column;
  483. .workbench-header {
  484. display: flex;
  485. margin-bottom: 30px;
  486. min-height: 40px;
  487. .workbench-header-top-title {
  488. margin-right: 20px;
  489. padding-top: 6px;
  490. font-weight: bold;
  491. font-size: 18px;
  492. color: #1a1a1a;
  493. line-height: 26px;
  494. text-align: left;
  495. font-style: normal;
  496. .txt {
  497. color: rgba(107, 208, 0, 1);
  498. }
  499. }
  500. .statistic-wrapper {
  501. flex: 1;
  502. display: flex;
  503. flex-wrap: wrap;
  504. gap: 20px 10px;
  505. padding-top: 3px;
  506. .ant-card {
  507. height: fit-content;
  508. }
  509. }
  510. .ant-statistic {
  511. display: flex;
  512. align-items: center;
  513. gap: 10px;
  514. :deep(.ant-statistic-title) {
  515. width: 80px;
  516. margin: 0;
  517. color: #000;
  518. font-size: 16px;
  519. }
  520. }
  521. }
  522. .shift-performance-tags {
  523. margin-left: 10px;
  524. .ant-tag {
  525. padding: 6px 6px;
  526. position: relative;
  527. cursor: pointer;
  528. margin-bottom: 20px;
  529. }
  530. .current-shift {
  531. position: absolute;
  532. display: inline-block;
  533. width: 60px;
  534. height: 4px;
  535. border-radius: 4px;
  536. bottom: -8px;
  537. left: 50%;
  538. transform: translateX(-30px);
  539. }
  540. }
  541. .chart-wrapper {
  542. flex: 1;
  543. // background-color: #fff;
  544. .driving-wrapper {
  545. .driving-list {
  546. margin-bottom: 4px;
  547. padding: 12px;
  548. background: #fafafa;
  549. border-radius: 4px;
  550. &:last-child {
  551. margin-bottom: 0;
  552. }
  553. .driving-title {
  554. display: flex;
  555. align-items: center;
  556. margin-bottom: 8px;
  557. font-weight: 500;
  558. font-size: 16px;
  559. color: #333333;
  560. line-height: 24px;
  561. padding-bottom: 12px;
  562. border-bottom: 1px solid #e6e6e6;
  563. .title-line {
  564. width: 4px;
  565. height: 22px;
  566. background: #90e2a4;
  567. border-radius: 4px;
  568. margin-right: 4px;
  569. }
  570. }
  571. .driving-list-item {
  572. background: #ffffff;
  573. border-radius: 4px;
  574. padding: 8px;
  575. .driving-item {
  576. font-weight: 500;
  577. font-size: 12px;
  578. color: #333333;
  579. line-height: 22px;
  580. }
  581. .ant-statistic {
  582. display: flex;
  583. flex-direction: column-reverse;
  584. &.statistic-left {
  585. min-width: 60px;
  586. }
  587. :deep(.ant-statistic-title) {
  588. font-weight: 400;
  589. font-size: 12px;
  590. color: #c8c8c8;
  591. line-height: 16px;
  592. }
  593. :deep(.ant-statistic-content-value-int),
  594. :deep(.ant-statistic-content-value-decimal) {
  595. font-weight: 500;
  596. font-size: 16px;
  597. color: #666666;
  598. line-height: 18px;
  599. }
  600. }
  601. }
  602. }
  603. }
  604. .ant-card {
  605. height: 100%;
  606. }
  607. .title {
  608. align-items: center;
  609. color: #000;
  610. font-size: 16px;
  611. padding: 10px 0;
  612. .statistic-wrapper {
  613. flex: 1;
  614. display: flex;
  615. flex-wrap: wrap;
  616. gap: 20px 10px;
  617. align-items: center;
  618. .ant-card {
  619. height: fit-content;
  620. }
  621. .ant-statistic {
  622. display: flex;
  623. align-items: center;
  624. gap: 10px;
  625. :deep(.ant-statistic-title) {
  626. width: 80px;
  627. margin: 0;
  628. color: #000;
  629. font-size: 16px;
  630. }
  631. }
  632. }
  633. }
  634. }
  635. }
  636. .hot-send-wrapper {
  637. .hot-send-card {
  638. background-color: transparent;
  639. }
  640. }
  641. .jeecg-basic-table {
  642. padding: 0;
  643. }
  644. :deep(.ant-table-cell) {
  645. .liftingBillDetailsList-content {
  646. margin-top: -12px;
  647. margin-bottom: -12px;
  648. margin-left: -8px;
  649. margin-right: -8px;
  650. }
  651. .liftingBillDetailsList-wrap {
  652. border-bottom: 1px solid #f0f0f0;
  653. line-height: 36px;
  654. &:last-child {
  655. border-bottom: none;
  656. }
  657. }
  658. }
  659. }
  660. </style>