diff --git a/src/views/purchase/purchasingrequisition/add.vue b/src/views/purchase/purchasingrequisition/add.vue index d348954..964f47b 100644 --- a/src/views/purchase/purchasingrequisition/add.vue +++ b/src/views/purchase/purchasingrequisition/add.vue @@ -360,6 +360,21 @@ +
+ 采购代表/评委 + + +
参与人员
+
+ {{ dataForm.representorName }} + + {{ dataForm.representorType }} + +
+
+
+
+ ([]); @@ -648,6 +665,8 @@ const businessDeptList = ref([]); const schoolLeaderList = ref([]); const purchasingManagerList = ref([]); const businessLeaderList = ref([]); +/** 人员类型字典(采购代表/评委) */ +const representorTypeList = ref([]); const loading = ref(false); const helpDialogVisible = ref(false); @@ -724,6 +743,12 @@ const isSpecialType = (dictValue: string) => { return item ? dataForm.isSpecial === item.value : dataForm.isSpecial === dictValue; }; +// 辅助函数:根据人员类型值获取标签(采购代表/评委类型) +const getRepresentorTypeLabel = (value: string): string => { + const item = representorTypeList.value.find(item => item.value === value); + return item ? item.label : value; +}; + // 采购途径(与后端 purchasing_apply.purchase_channel 一致:1 自行采购 2 委托采购中心采购) const PURCHASE_CHANNEL = { SELF: '1', @@ -1262,6 +1287,8 @@ async function loadDetail(applyId: string | number) { fileFlowStatus: detail.fileFlowStatus ?? '', agentId: detail.agentId ?? '', agentName: detail.agentName ?? '', + representorName: detail.representorName ?? '', + representorType: detail.representorType ?? '', }); setCategoryCodePath(); try { diff --git a/src/views/purchase/purchasingrequisition/docProcess/DocProcessDialog.vue b/src/views/purchase/purchasingrequisition/docProcess/DocProcessDialog.vue index a6c9305..52b6269 100644 --- a/src/views/purchase/purchasingrequisition/docProcess/DocProcessDialog.vue +++ b/src/views/purchase/purchasingrequisition/docProcess/DocProcessDialog.vue @@ -6,6 +6,7 @@ destroy-on-close :close-on-click-modal="false" @close="handleClose"> + @@ -59,14 +60,14 @@ - - 保存草稿 - + + + + + + + + + + {{rowData.representorName}} ({{rowData.representorType}}) + + + + +
diff --git a/src/views/purchase/purchasingrequisition/docProcess/ReviewerSetting.vue b/src/views/purchase/purchasingrequisition/docProcess/ReviewerSetting.vue index 763e894..3939389 100644 --- a/src/views/purchase/purchasingrequisition/docProcess/ReviewerSetting.vue +++ b/src/views/purchase/purchasingrequisition/docProcess/ReviewerSetting.vue @@ -4,6 +4,7 @@ {{ currentRepresentor.teacherName }} ({{ currentRepresentor.teacherNo }}) + {{ getRepresentorTypeLabel(currentRepresentor.representorType) }} @@ -61,6 +62,17 @@ + + + + + + + @@ -74,6 +86,7 @@