gaoluyang
2025-12-09 539231de1e68f45a6f11bc88df665cc1f161941f
src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -60,7 +60,7 @@
      >
        <template #commonFilesRef="{ row }">
          <el-dropdown @command="(command) => handleCommand(command, row)">
            <el-button link :icon="Files" type="danger"> 附件 </el-button>
            <el-button link :icon="Files" :type="row.commonFiles.length !== 0 ? 'success' : 'danger'"> 附件 </el-button>
            <template #dropdown>
              <el-dropdown-menu>
                <el-dropdown-item
@@ -81,15 +81,13 @@
          <el-button
            type="primary"
            text
            @click="openEdit(row.id)"
                  :disabled="row.issUerId !== userStore.id"
            @click="openEdit(row)"
          >
            编辑
          </el-button>
          <el-button
            type="primary"
            text
                  :disabled="row.issUerId !== userStore.id"
            @click="handleDelete(row)"
          >
            删除
@@ -162,8 +160,8 @@
      width: 150,
    },
    {
      label: "客户名称",
      prop: "customerName",
      label: "项目名称",
      prop: "projectName",
      width: 240,
    },
    {
@@ -185,12 +183,9 @@
      label: "合同金额(元)",
      prop: "taxInclusiveTotalPrice",
      width: 200,
      formatData: (cell) => {
        return cell ? parseFloat(cell).toFixed(2) : 0;
      },
    },
    {
      label: "开票日期",
      label: "来票日期",
      prop: "createdAt",
      width: 110,
    },
@@ -198,17 +193,11 @@
      label: "开票金额",
      prop: "ticketsAmount",
      width: 200,
      formatData: (cell) => {
        return cell ? parseFloat(cell).toFixed(2) : 0;
      },
    },
    {
      label: "不含税金额",
      prop: "unTicketsPrice",
      width: 200,
      formatData: (cell) => {
        return cell ? parseFloat(cell).toFixed(2) : 0;
      },
    },
    {
      label: "增值税",
@@ -289,8 +278,9 @@
  });
};
const changePage = ({ page }) => {
const changePage = ({ page, limit }) => {
  pagination.currentPage = page;
   pagination.pageSize = limit;
  onCurrentChange(page);
};
@@ -310,8 +300,8 @@
  modalRef.value.handleImport(id);
};
const openEdit = (id) => {
  editmodalRef.value.open(id);
const openEdit = (row) => {
  editmodalRef.value.open(row);
};
// 上传成功后做什么