From 1ca0e3c45254295042c4b2670286e58d564b1fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Sun, 15 Mar 2026 12:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E6=96=BD=E9=87=87?= =?UTF-8?q?=E8=B4=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasingrequisition/implement.vue | 27 +++++++++++++++---- .../purchase/purchasingrequisition/index.vue | 12 ++++++--- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/src/views/purchase/purchasingrequisition/implement.vue b/src/views/purchase/purchasingrequisition/implement.vue index 700c27b..55ad687 100644 --- a/src/views/purchase/purchasingrequisition/implement.vue +++ b/src/views/purchase/purchasingrequisition/implement.vue @@ -10,10 +10,15 @@
- - 自行组织采购 - 委托代理采购 - + + + @@ -97,12 +102,24 @@ import { Session } from '/@/utils/storage'; // ==================== 常量定义(与后端枚举保持一致) ==================== -/** 实施采购途径(与后端 ImplementTypeEnum 一致) */ +/** 实施采购途径(与后端 ImplementTypeEnum 及 add.vue 一致) */ +const IMPLEMENT_TYPE_OPTIONS = [ + { value: '1', label: '自行组织采购' }, + { value: '2', label: '委托代理采购' }, + { value: '140', label: '框架协议' }, + { value: '170', label: '网上商城' }, +] as const; + +/** 实施采购途径值 */ const IMPLEMENT_TYPE = { /** 自行组织采购 */ SELF_ORGANIZED: '1', /** 委托代理采购 */ ENTRUST_AGENT: '2', + /** 框架协议 */ + FRAMEWORK_AGREEMENT: '140', + /** 网上商城 */ + ONLINE_MALL: '170', } as const; /** 采购形式(与后端 PurchaseModeEnum 一致) */ diff --git a/src/views/purchase/purchasingrequisition/index.vue b/src/views/purchase/purchasingrequisition/index.vue index 60f8307..726991f 100644 --- a/src/views/purchase/purchasingrequisition/index.vue +++ b/src/views/purchase/purchasingrequisition/index.vue @@ -155,7 +155,11 @@ - +