zhangwencui
7 天以前 e1afd5d412da50ddb03d562c91570496dd26f449
菜单调整,采购部分增加车牌号、运输单位/个人两个字段
已修改3个文件
43 ■■■■ 文件已修改
src/config/oaWorkbench.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/procurementManagement/procurementLedger/detail.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/works.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/config/oaWorkbench.js
@@ -10,10 +10,10 @@
    children: [
      // { label: "员工档案", icon: "/static/images/icon/renyuanxinzi.svg", path: OA_NAV.staffArchive },
      // { label: "员工合同", icon: "/static/images/icon/hetongguanli.svg", path: OA_NAV.staffContract },
      { label: "转正申请", icon: "/static/images/icon/hetongguanli.svg", path: OA_NAV.regularApply },
      { label: "调岗申请", icon: "/static/images/icon/renyuanxinzi.svg", path: OA_NAV.transferApply },
      // { label: "转正申请", icon: "/static/images/icon/hetongguanli.svg", path: OA_NAV.regularApply },
      // { label: "调岗申请", icon: "/static/images/icon/renyuanxinzi.svg", path: OA_NAV.transferApply },
      // { label: "离职申请", icon: "/static/images/icon/qingjiaguanli.svg", path: OA_NAV.resignApply },
      { label: "工作交接", icon: "/static/images/icon/gongchuguanli.svg", path: OA_NAV.workHandover },
      // { label: "工作交接", icon: "/static/images/icon/gongchuguanli.svg", path: OA_NAV.workHandover },
      // { label: "岗位管理", icon: "/static/images/icon/gongxuguanli.svg", path: OA_NAV.postManage },
    ],
  },
@@ -71,5 +71,5 @@
    ...item,
    module: module.name,
    moduleKey: module.key,
  }))
  })),
);
src/pages/procurementManagement/procurementLedger/detail.vue
@@ -56,6 +56,18 @@
                  :disabled="isReadOnly"
                  placeholder="请输入付款方式" />
      </up-form-item>
      <up-form-item label="车牌号"
                    prop="carPlateNumber">
        <up-input v-model="form.carPlateNumber"
                  :disabled="isReadOnly"
                  placeholder="请输入车牌号" />
      </up-form-item>
      <up-form-item label="运输单位/个人"
                    prop="transportUnitOrPerson">
        <up-input v-model="form.transportUnitOrPerson"
                  :disabled="isReadOnly"
                  placeholder="请输入运输单位/个人" />
      </up-form-item>
      <up-form-item label="签订日期"
                    required
                    prop="executionDate">
@@ -382,6 +394,8 @@
    supplierName: "",
    projectName: "",
    paymentMethod: "",
    carPlateNumber: "",
    transportUnitOrPerson: "",
    recorderId: "",
    recorderName: "",
    entryDate: "",
@@ -952,6 +966,11 @@
        approverNodes.value = [{ id: 1, userId: null, nickName: null }];
        nextApproverId = 2;
      }
      form.value.carPlateNumber =
        res?.carPlateNumber ?? editData.value?.carPlateNumber ?? "";
      form.value.transportUnitOrPerson =
        res?.transportUnitOrPerson ?? editData.value?.transportUnitOrPerson ?? "";
    });
    console.log(editData.value);
    // 填充基本信息
@@ -968,6 +987,8 @@
    form.value.id = editData.value.id || "";
    form.value.supplierId = editData.value.supplierId || "";
    form.value.executionDate = editData.value.executionDate || "";
    form.value.carPlateNumber = editData.value.carPlateNumber || "";
    form.value.transportUnitOrPerson = editData.value.transportUnitOrPerson || "";
  };
  const getSalesNoList = () => {
@@ -1500,4 +1521,4 @@
    color: #3b82f6;
    font-size: 14px;
  }
</style>
</style>
src/pages/works.vue
@@ -560,16 +560,14 @@
    },
  ]);
  // OA办公功能数据(纯前端配置,不参与后端权限过滤)
  const oaItems = reactive(
    OA_WORKBENCH_ITEMS.map(item => ({ ...item }))
  );
  const oaItems = reactive(OA_WORKBENCH_ITEMS.map(item => ({ ...item })));
  // 协同办公功能数据
  const collaborationItems = reactive([
    {
      icon: "/static/images/icon/xietongshenpi.svg",
      label: "协同审批",
    },
    // {
    //   icon: "/static/images/icon/xietongshenpi.svg",
    //   label: "协同审批",
    // },
    {
      icon: "/static/images/icon/huiyiguanli.svg",
      label: "会议管理",