1.采购管理-优化:不是本条数据录入人不可修改数据。表格展示优化、来票操作后,不能再次编辑。未进行开票、来票操作的台账可以进行编辑
已修改5个文件
21 ■■■■ 文件已修改
src/hooks/usePaginationApi.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/invoiceEntry/components/Modal.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/invoiceEntry/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/procurementInvoiceLedger/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/procurementLedger/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/hooks/usePaginationApi.jsx
@@ -28,7 +28,7 @@
  /** 分页配置 */
  const pagination = reactive({
    pageSize: 10,
    pageSize: 100,
    currentPage: 1,
    pageSizes: [10, 15, 20],
    total: 0,
src/views/procurementManagement/invoiceEntry/components/Modal.vue
@@ -220,10 +220,12 @@
  {
    label: "产品大类",
    prop: "productCategory",
        width: 120,
  },
  {
    label: "规格型号",
    prop: "specificationModel",
        width: 120,
  },
  {
    label: "单位",
src/views/procurementManagement/invoiceEntry/index.vue
@@ -116,12 +116,12 @@
    {
      label: "供应商名称",
      prop: "supplierName",
      width:200
      width:300
    },
    {
      label: "项目名称",
      prop: "projectName",
      width:150
      width:400
    },
    {
      label: "录入人",
src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -152,7 +152,7 @@
    {
      label: "客户名称",
      prop: "customerName",
      width: 150,
      width: 240,
    },
    {
      label: "供应商名称",
src/views/procurementManagement/procurementLedger/index.vue
@@ -94,7 +94,7 @@
        <el-table-column
          label="项目名称"
          prop="projectName"
          width="100"
          width="420"
          show-overflow-tooltip
        />
        <el-table-column
@@ -134,6 +134,7 @@
              type="primary"
              size="small"
              @click="openForm('edit', scope.row)"
                            :disabled="scope.row.receiptPaymentAmount>0 || scope.row.recorderName !== userStore.nickName"
              >编辑</el-button
            >
          </template>
@@ -288,7 +289,7 @@
          <el-table-column label="规格型号" prop="specificationModel" />
          <el-table-column label="单位" prop="unit" width="70" />
          <el-table-column label="数量" prop="quantity" width="70" />
          <el-table-column label="税率(%)" prop="taxRate" width="70" />
          <el-table-column label="税率(%)" prop="taxRate" width="80" />
          <el-table-column
            label="含税单价(元)"
            prop="taxInclusiveUnitPrice"
@@ -988,6 +989,12 @@
const handleDelete = () => {
  let ids = [];
  if (selectedRows.value.length > 0) {
        // 检查是否有他人维护的数据
        const unauthorizedData = selectedRows.value.filter(item => item.recorderName !== userStore.nickName);
        if (unauthorizedData.length > 0) {
            proxy.$modal.msgWarning("不可删除他人维护的数据");
            return;
        }
    ids = selectedRows.value.map((item) => item.id);
  } else {
    proxy.$modal.msgWarning("请选择数据");