diff --git a/vue/gold-system/src/views/managerecharge/rate.vue b/vue/gold-system/src/views/managerecharge/rate.vue index 35367f8..bc34a75 100644 --- a/vue/gold-system/src/views/managerecharge/rate.vue +++ b/vue/gold-system/src/views/managerecharge/rate.vue @@ -236,6 +236,14 @@ function formatDate(value) { const seconds = date.getSeconds().toString().padStart(2, "0"); return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; } +function formatDateTwe(value) { + if (!value) return ""; + const date = new Date(value); + const year = date.getFullYear(); + const month = (date.getMonth() + 1).toString().padStart(2, "0"); + const day = date.getDate().toString().padStart(2, "0"); + return `${year}-${month}-${day}`; +} //表格高度 const tableHeight = computed(function () { @@ -378,25 +386,32 @@ const checkNumber = function () { :height="tableHeight" style="width: 100%" > - - + + - + - + + + + - - +