liding
7 天以前 eff6f48a92f9318a95e95cc76c1685d4635d2040
供应商往来分页
已修改1个文件
19 ■■■■■ 文件已修改
src/views/procurementManagement/paymentLedger/index.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/paymentLedger/index.vue
@@ -96,7 +96,6 @@
import {getInfo} from "@/api/login.js";
const rowClick = (row) => {
  tableDataSon.value = Array.isArray(row.details) ? row.details : [];
  console.log("111",tableDataSon.value);
};
@@ -127,9 +126,8 @@
});
const totalSon = ref(0);
const isShowSummarySon = ref(true);
const detailPageNum = ref(1);
const detailPageSize = ref(10);
/** 搜索按钮操作 */
const handleQuery = () => {
@@ -148,11 +146,16 @@
};
const getList = () => {
  tableLoading.value = false;
  paymentLedgerList({ ...searchForm.value, ...page }).then((res) => {
    let result = res.data
  paymentLedgerList({
    ...searchForm.value,
    ...page,
    detailPageNum: detailPageNum.value, // 新增
    detailPageSize: detailPageSize.value // 新增
  }).then((res) => {
    let result = res.data;
    tableLoading.value = false;
    tableData.value = result;
    total.value = result.total;
    tableData.value = result.records || [];
    total.value = result.total || 0;
  });
};
// 表格选择数据