gaoluyang
2026-05-25 b87f35ad442544fa3892def5c2979357eb76e4d7
src/views/procurementManagement/thePaymentLedger/index.vue
@@ -33,7 +33,8 @@
<script setup>
import { ref } from "vue";
import { Search } from "@element-plus/icons-vue";
import { registrationList } from "@/api/procurementManagement/paymentEntry.js";
import dayjs from "dayjs";
// import { registrationList } from "@/api/procurementManagement/paymentLedger.js";
const tableColumn = ref([
  {
    label: "付款日期",
@@ -54,6 +55,8 @@
  {
    label: "登记日期",
    prop: "registrationtDate",
    formatData: cell =>
      cell ? dayjs(cell).format("YYYY-MM-DD HH:mm:ss") : "-",
  },
]);
const tableData = ref([]);
@@ -89,11 +92,11 @@
};
const getList = () => {
  tableLoading.value = true;
  registrationList({ ...searchForm.value, ...page }).then((res) => {
    tableLoading.value = false;
    tableData.value = res.rows;
    total.value = res.total;
  });
  // registrationList({ ...searchForm.value, ...page }).then((res) => {
  //   tableLoading.value = false;
  //   tableData.value = res.rows;
  //   total.value = res.total;
  // });
};
getList();
</script>