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 @@ - +