chenrui
昨天 ece2dfeb926d728b10db38038e4d12e9e9851c24
src/views/procurementManagement/invoiceEntry/index.vue
@@ -172,7 +172,7 @@
import {
  addOrUpdateRegistration,
  delRegistration,
  gePurchaseList,
  gePurchaseListPage,
  getInfo,
  getProduct,
  getPurchaseNoById,
@@ -213,16 +213,16 @@
  page.current = 1
  getList()
}
const paginationChange = ({ current, limit }) => {
  page.current = current;
  page.size = limit;
const paginationChange = (obj) => {
  page.current = obj.page;
  page.size = obj.limit;
  getList()
}
const getList = () => {
  tableLoading.value = true
  gePurchaseList({ ...searchForm.value, ...page }).then(res => {
  gePurchaseListPage({ ...searchForm.value, ...page }).then(res => {
    tableLoading.value = false
    tableData.value = res.rows
    tableData.value = res.records;
    tableData.value.map(item => {
      item.children = []
    })