| src/views/inventoryManagement/dispatchLog/Record.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/inventoryManagement/receiptManagement/Record.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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); src/views/inventoryManagement/receiptManagement/Record.vue
@@ -68,6 +68,7 @@ show-overflow-tooltip/> <el-table-column label="入库时间" prop="createTime" :formatter="formatTableDateYmd" show-overflow-tooltip/> <el-table-column label="产品大类" prop="productName" @@ -122,9 +123,17 @@ import { findAllQualifiedStockInRecordTypeOptions, findAllUnQualifiedStockInRecordTypeOptions, } from "@/api/basicData/enum.js"; import {parseTime} from "@/utils/ruoyi"; const {proxy} = getCurrentInstance(); const formatTableDateYmd = (row, column, cellValue) => { if (cellValue == null || cellValue === "") { return ""; } return parseTime(cellValue, "{y}-{m}-{d}") || ""; }; const props = defineProps({ type: { type: String,