From e1afd5d412da50ddb03d562c91570496dd26f449 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 12 六月 2026 10:09:18 +0800
Subject: [PATCH] 菜单调整,采购部分增加车牌号、运输单位/个人两个字段
---
src/pages/works.vue | 12 +++++-------
src/config/oaWorkbench.js | 8 ++++----
src/pages/procurementManagement/procurementLedger/detail.vue | 23 ++++++++++++++++++++++-
3 files changed, 31 insertions(+), 12 deletions(-)
diff --git a/src/config/oaWorkbench.js b/src/config/oaWorkbench.js
index e4f6d7a..c2e35a4 100644
--- a/src/config/oaWorkbench.js
+++ b/src/config/oaWorkbench.js
@@ -10,10 +10,10 @@
children: [
// { label: "鍛樺伐妗f", 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,
- }))
+ })),
);
diff --git a/src/pages/procurementManagement/procurementLedger/detail.vue b/src/pages/procurementManagement/procurementLedger/detail.vue
index 397d863..26721b1 100644
--- a/src/pages/procurementManagement/procurementLedger/detail.vue
+++ b/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>
\ No newline at end of file
+</style>
diff --git a/src/pages/works.vue b/src/pages/works.vue
index 65fd28a..46e017f 100644
--- a/src/pages/works.vue
+++ b/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: "浼氳绠$悊",
--
Gitblit v1.9.3