feat: 采购申请表单添加部门自行采购会议纪要字段

- 新增 FILE_TYPE_MAP.deptSelfMeetingMinutes('140') 文件类型
- 添加 deptSelfMeetingMinutes 表单字段
- 部门自行采购且预算金额<2000 元时显示必填上传组件
- 新增 purchasingfiles.ts API 文件
This commit is contained in:
吴红兵
2026-03-03 17:30:07 +08:00
parent 5baf4061e0
commit 744be39480
2 changed files with 49 additions and 7 deletions

View File

@@ -0,0 +1,35 @@
/*
* Copyright (c) 2018-2025, cyweb All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form to reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the pig4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
*/
import request from '/@/utils/request';
/**
* 获取文件类型列表
*/
export function getFileTypes() {
return request({
url: '/purchase/purchasingfiles/file-types',
method: 'get'
});
}
/**
* 获取 140 部门自行采购会议纪要文件类型
*/
export function getDeptSelfMeetingFiletype() {
return '140';
}