From ddd7b9af964842f308530907dc009a289fdf9ce6 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期一, 09 六月 2025 17:22:06 +0800 Subject: [PATCH] 开票台账删除 --- src/views/salesManagement/receiptPaymentHistory/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/salesManagement/receiptPaymentHistory/index.vue b/src/views/salesManagement/receiptPaymentHistory/index.vue index 4d7eaf5..290fb31 100644 --- a/src/views/salesManagement/receiptPaymentHistory/index.vue +++ b/src/views/salesManagement/receiptPaymentHistory/index.vue @@ -22,7 +22,7 @@ import { ref } from 'vue' import { Search } from "@element-plus/icons-vue"; import { - receiptPaymentHistoryList + receiptPaymentHistoryListPage } from "@/api/salesManagement/receiptPayment.js"; const { proxy } = getCurrentInstance() const tableColumn = ref([ @@ -72,7 +72,7 @@ const tableLoading = ref(false) const page = reactive({ current: 1, - size: 10, + size: 100, }) const total = ref(0) const data = reactive({ @@ -89,16 +89,16 @@ page.current = 1 getList() } -const pagination = ({ current, limit }) => { - page.current = current; - page.size = limit; +const pagination = (obj) => { + page.current = obj.page; + page.size = obj.limit; getList() } const getList = () => { tableLoading.value = true - receiptPaymentHistoryList({ ...searchForm.value, ...page }).then(res => { + receiptPaymentHistoryListPage({ ...searchForm.value, ...page }).then(res => { tableLoading.value = false - tableData.value = res.rows + tableData.value = res.records total.value = res.total }) } -- Gitblit v1.9.3