unknown
2023-11-14 9c331d555ce7e82b4226556770a81c444442bb37
web/src/views/GoodManage/CostStatistics/RawCost.vue
@@ -1,3 +1,4 @@
<!-- 物资管理=>消耗统计=>原材料消耗 -->
<template>
  <div class="main">
    <div class="main_header">
@@ -54,7 +55,7 @@
        <div class="main_middle_matter">
            <div class="middle_items" v-for="(item,index) in showDatas" :key="index">
                <div class="middle_items_text">{{item.materialName}}</div>
                <div class="middle_items_datas">{{item.materialValue}}</div>
                <div class="middle_items_datas">{{item.materialValue | toFloat }}</div>
            </div>
        </div>
    </div>
@@ -125,8 +126,13 @@
        },
    }
  },
  filters: {
    toFloat(value) {
        return value && value !== '0' ? value.split('.')[0] + '.00' : 0
    }
  },
  mounted() {
    // this.searchButtonInfo()
    this.searchButtonInfo()
    this.getAllTypes()
  },
  methods: {
@@ -391,8 +397,7 @@
        justify-content: space-between;
        .middle_items{
            width: 150px;
            height: 80px;
            padding: 0.6% 2.4%;
            background: url('../../../assets/stir_img.png') no-repeat;
            background-size: 100% 100%;
            display: flex;