| | |
| | | { |
| | | label: '供应商名称', |
| | | prop: 'supplierName', |
| | | width: 250, |
| | | }, |
| | | { |
| | | label: '公司地址', |
| | | prop: 'companyAddress' |
| | | prop: 'companyAddress', |
| | | width: 220, |
| | | }, |
| | | { |
| | | label: '联系方式', |
| | |
| | | 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 = () => { |
| | |
| | | listSupplier({...searchForm.value, ...page}).then(res => { |
| | | tableLoading.value = false |
| | | tableData.value = res.data.records |
| | | total.value = res.total |
| | | total.value = res.data.total |
| | | }) |
| | | } |
| | | // 表格选择数据 |