gongchunyi
7 天以前 32964ab7d650d4a6a4d038536603b6368060dacc
src/views/inventoryManagement/dispatchLog/Record.vue
@@ -66,6 +66,7 @@
            <el-table-column
               label="出库日期"
               prop="createTime"
               :formatter="formatTableDateYmd"
               show-overflow-tooltip
            />
            <el-table-column
@@ -120,10 +121,11 @@
<script setup>
import pagination from "@/components/PIMTable/Pagination.vue";
import { ref } from "vue";
import { ref, reactive, toRefs, getCurrentInstance, onMounted } from "vue";
import { ElMessageBox } from "element-plus";
import useUserStore from "@/store/modules/user";
import { getCurrentDate } from "@/utils/index.js";
import { parseTime } from "@/utils/ruoyi";
import {
   getStockOutPage,
   delStockOut,
@@ -134,6 +136,13 @@
const userStore = useUserStore();
const { proxy } = getCurrentInstance();
const formatTableDateYmd = (row, column, cellValue) => {
   if (cellValue == null || cellValue === "") {
      return "";
   }
   return parseTime(cellValue, "{y}-{m}-{d}") || "";
};
const tableData = ref([]);
const selectedRows = ref([]);
const tableLoading = ref(false);