spring
9 天以前 4e64eeb2a807adc9153fd9cd61b498b99c1f6f2c
src/views/procurementManagement/invoiceEntry/index.vue
@@ -165,14 +165,14 @@
const tableLoading = ref(false)
const page = reactive({
  current: 1,
  size: 10,
  size: 100,
})
const total = ref(0)
const fileList = ref([])
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 = []
    })