gongchunyi
18 小时以前 6667bb3072b48d6f3114bd717862c302e3583335
fix: 库存数量格式化
已修改1个文件
6 ■■■■■ 文件已修改
src/views/inventoryManagement/stockReport/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/stockReport/index.vue
@@ -187,7 +187,8 @@
                           v-if="searchForm.reportType === 'inout'" />
          <el-table-column label="现在库存"
                           prop="currentStock"
                           align="center" />
                           align="center"
                           :formatter="formattedNumber" />
          <el-table-column label="来源"
                           prop="recordType"
                           v-if="searchForm.reportType !== 'inout'"
@@ -217,6 +218,7 @@
  import { ElMessage } from "element-plus";
  import * as echarts from "echarts";
  import pagination from "@/components/PIMTable/Pagination.vue";
  import { tableAmountFormatter } from "@/utils/numberFormat";
  import {
    getStockInventoryInAndOutReportList,
    getStockInventoryReportList,
@@ -227,6 +229,8 @@
  } from "@/api/basicData/enum.js";
  const { proxy } = getCurrentInstance();
  // 数字列格式化
  const formattedNumber = tableAmountFormatter;
  // 响应式数据
  const tableLoading = ref(false);
  const trendChart = ref(null);