chenrui
2 天以前 ece2dfeb926d728b10db38038e4d12e9e9851c24
src/views/basicData/supplierManage/index.vue
@@ -122,10 +122,12 @@
  {
    label: '供应商名称',
    prop: 'supplierName',
    width: 250,
  },
  {
    label: '公司地址',
    prop: 'companyAddress'
    prop: 'companyAddress',
    width: 220,
  },
  {
    label: '联系方式',
@@ -221,9 +223,9 @@
  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 = () => {
@@ -231,7 +233,7 @@
  listSupplier({...searchForm.value, ...page}).then(res => {
    tableLoading.value = false
    tableData.value = res.data.records
    total.value = res.total
    total.value = res.data.total
  })
}
// 表格选择数据