gaoluyang
2025-05-16 761f38e975bc4f4d6973eb92996504928e1b30b0
src/views/basicData/customerFile/index.vue
@@ -20,7 +20,7 @@
    </div>
  </div>
  <div class="table_list">
    <PIMTable :column="tableColumn" :tableData="tableData" :page="page" :handleSelectionChange="handleSelectionChange"
    <PIMTable :column="tableColumn" :tableData="tableData" :page="page" :isSelection="true" :handleSelectionChange="handleSelectionChange"
              :tableLoading="tableLoading" @pagination="pagination" :total="total"></PIMTable>
  </div>
  <el-dialog v-model="dialogFormVisible" :title="operationType === 'add' ? '新增客户信息' : '编辑客户信息'" width="70%" @close="closeDia">
@@ -105,7 +105,7 @@
const tableColumn = ref([
  {
    label: '客户名称',
    prop: 'customerName'
    prop: 'customerName',
  },
  {
    label: '纳税人识别码',
@@ -134,6 +134,7 @@
  {
    dataType: "action",
    label: "操作",
    align: 'center',
    operation: [
      {
        name: "编辑",
@@ -281,16 +282,19 @@
  }
  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("已取消")
  })