feat(ctr): 新增合同附件列表功能并优化合同创建流程

- 在支出合同和收入合同页面添加查看附件列表功能
- 实现合同创建的多步骤流程,包括合同信息填写和付款信息填写
- 增加表单验证,确保合同信息和付款信息的完整性
- 优化合同类型切换逻辑,支持收入合同和支出合同的创建
- 在合同创建过程中添加临时数据保存功能,防止数据丢失
This commit is contained in:
tcy
2025-08-21 11:32:31 +08:00
parent 7c1f07eb7d
commit 6359daba49
6 changed files with 355 additions and 76 deletions

View File

@ -61,3 +61,14 @@ export const delExpensesContract = (id: string | number | Array<string | number>
method: 'delete'
});
};
/**
* 查看支出合同附件列表
* @param id
*/
export const getFileList = (data) => {
return request({
url: '/ctr/expensesContract/file/list',
method: 'get',
params: data
})
}

View File

@ -61,3 +61,14 @@ export const delIncomeContract = (id: string | number | Array<string | number>)
method: 'delete'
});
};
/**
* 查看收入合同附件列表
* @param id
*/
export const getFileList = (data) => {
return request({
url: '/ctr/incomeContract/file/list',
method: 'get',
params: data
})
}