src/views/procurementManagement/invoiceEntry/index.vue
@@ -28,13 +28,6 @@
              clearable
          />
        </el-form-item>
        <el-form-item label="项目名称">
          <el-input
              v-model="filters.projectName"
              placeholder="请输入项目名称"
              clearable
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="getTableData"> 搜索 </el-button>
          <el-button @click="resetFilters"> 重置 </el-button>
@@ -117,9 +110,10 @@
  resetFilters,
  onCurrentChange,
} = usePaginationApi(
  gePurchaseListPage,
    gePurchaseListPage,
  {
    purchaseContractNumber: undefined,
    isInvoice:1,
  },
  [
    {
@@ -141,11 +135,6 @@
      label: "供应商名称",
      prop: "supplierName",
      width:300
    },
    {
      label: "项目名称",
      prop: "projectName",
      width:400
    },
    {
      label: "录入人",
@@ -198,11 +187,11 @@
};
const handleAdd = (type) => {
  if (selectedRows.value.length !== 1) {
    proxy.$modal.msgWarning("请先选中一条数据");
  if (selectedRows.value.length < 1) {
    proxy.$modal.msgWarning("请至少选中一条数据");
    return;
  }
  modalRef.value.open(type, selectedRows.value[0].id);
  modalRef.value.open(type, selectedRows.value);
};
const handleEdit = (type, id) => {