| | |
| | | const tableColumn = ref([ |
| | | { |
| | | label: '客户名称', |
| | | prop: 'customerName' |
| | | prop: 'customerName', |
| | | }, |
| | | { |
| | | label: '纳税人识别码', |
| | |
| | | { |
| | | dataType: "action", |
| | | label: "操作", |
| | | align: 'center', |
| | | operation: [ |
| | | { |
| | | name: "编辑", |
| | |
| | | } |
| | | ElMessageBox.confirm( |
| | | '选中的内容将被删除,是否确认删除?', |
| | | '导出', { |
| | | '删除提示', { |
| | | confirmButtonText: '确认', |
| | | cancelButtonText: '取消', |
| | | type: 'warning', |
| | | } |
| | | ).then(() => { |
| | | tableLoading.value = true |
| | | delCustomer(ids).then(res => { |
| | | proxy.$modal.msgSuccess("删除成功") |
| | | getList() |
| | | }).finally(() => { |
| | | tableLoading.value = false |
| | | }) |
| | | getList() |
| | | }).catch(() => { |
| | | proxy.$modal.msg("已取消") |
| | | }) |