costAccounting.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <div class="Index">
  3. <h2 style="margin-bottom: 20px;padding-bottom:7px;border-bottom:2px solid #ddd">成本核算</h2>
  4. <header class="header">
  5. <div class="left">
  6. <E-Cost></E-Cost>
  7. </div>
  8. <div class="right">
  9. <E-Profit></E-Profit>
  10. </div>
  11. </header>
  12. <section class="section">
  13. <h2>批次数据</h2>
  14. <ul class="ul">
  15. <li class="li">
  16. <span class="title">出肉率</span>
  17. <span class="content">67.8%</span>
  18. </li>
  19. <li class="li">
  20. <span class="title">排酸损耗</span>
  21. <span class="content">1.52%</span>
  22. </li>
  23. <li class="li">
  24. <span class="title">总销售额</span>
  25. <span class="content">68653.18元</span>
  26. </li>
  27. <li class="li">
  28. <span class="title">利润率</span>
  29. <span class="content">19.68%</span>
  30. </li>
  31. </ul>
  32. </section>
  33. </div>
  34. </template>
  35. <script>
  36. import ECost from './cost_echarts/E-Cost'
  37. import EProfit from "./cost_echarts/E-Profit";
  38. export default {
  39. name: "Index",
  40. components: {
  41. EProfit,
  42. ECost
  43. },
  44. data() {
  45. return {};
  46. },
  47. created() {},
  48. methods: {
  49. }
  50. };
  51. </script>
  52. <style lang="scss" scoped>
  53. .Index {
  54. .header {
  55. display: flex;
  56. padding-right: 11%;
  57. .left {
  58. width: 50%;
  59. height: 400px;
  60. }
  61. .right {
  62. width: 50%;
  63. height: 400px;
  64. }
  65. }
  66. .section {
  67. margin: 110px 0 0 0;
  68. padding: 10px 10px 10px 10px;
  69. border: 1px solid #ccc;
  70. border-radius: 10px;
  71. h2{
  72. color: #292929;
  73. }
  74. .ul {
  75. display: flex;
  76. justify-content: space-around;
  77. padding: 40px 8% 80px 8%;
  78. .li {
  79. height: 80px;
  80. width: 180px;
  81. background-color: #ddd;
  82. border-radius: 10px;
  83. padding: 10px 0;
  84. display: flex;
  85. flex-direction: column;
  86. justify-content: space-around;
  87. align-items: center;
  88. .title {
  89. font-size: 22px;
  90. font-weight: 600;
  91. color: #444;
  92. }
  93. .content {
  94. font-size: 22px;
  95. font-weight: 600;
  96. color: rgb(48, 115, 240);
  97. }
  98. }
  99. }
  100. }
  101. }
  102. </style>