文档
测试

获取项目详情

GET
https://test.52miaosuan.com:8090/miaosuan/finance/project/detail/{financeProjectId}

接口描述

获取项目财务详情

请求头

参数名
类型
描述
必填
user_id
int
用户编号
必填

请求参数

参数名
类型
描述
必填
page_index
int
分页页码
必填
page_size
int
每页显示的条数
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
id
int
项目财务ID
必填
status
int
项目财务状态,0 - 待录入,1 - 进行中,2 - 收款完成
必填
contractVOS
array
合同列表
必填
id
int
合同ID
必填
company_id
int
公司ID
必填
finance_project_id
int
项目财务ID
必填
contract_name
string
合同名称
必填
contract_amount
float
合同金额
必填
paid_period
int
合同计划付款期数
必填
already_paid_period
int
合同已付款期数
必填
amount_way
int
付款方式,0 - 按比率,1 - 按金额
必填
first_num
int
第一期数量,如果是固定比率,返回的是是比率值,如果是固定金额,则是具体的金额大小
必填
second_num
int
第二期数量,如果是固定比率,返回的是是比率值,如果是固定金额,则是具体的金额大小
必填
third_num
float
第三期数量,如果是固定比率,返回的是是比率值,如果是固定金额,则是具体的金额大小
必填
fourth_num
int
第四期数量,如果是固定比率,返回的是是比率值,如果是固定金额,则是具体的金额大小
必填
related_files
array
合同附件列表
必填
file_name
string
文件名
必填
file_url
string
文件链接
必填
file_id
int
文件ID
必填
company_id
int
公司ID
必填
creator_id
int
创建人ID
必填
budget_id
int
预算ID
必填
project_name
string
项目名称
必填
owner_name
string
业主名称
必填
total_contract_amount
float
合同总金额
必填
current_amount
int
当前余额
必填
finished_income
int
已收总金额
必填
unfinished_income
int
未收总金额
必填
finished_expenses
int
已付总金额
必填
unfinished_expenses
int
未付总金额
必填
total_flow_number
int
总流水笔数
必填
income_flow_number
int
收入流水笔数
必填
expense_flow_number
int
支出流水笔数
必填
unfinished_expense_number
int
应付未付流水笔数
必填
create_time
string
示例:2021-01-14 03:28:40
必填
update_time
string
示例:2021-01-14 03:55:53
必填
creator_name
string
录入人名称
必填

说明 / 示例

```json { "code": 0, "msg": "成功", "data": { "id": 1, "status": 0, "contractVOS": [ { "id": 1, "company_id": 1, "finance_project_id": 1, "contract_name": "ceshi12", "contract_amount": 300.8, "paid_period": 4, "already_paid_period": 2, "amount_way": 1, "first_num": 100, "second_num": 40, "third_num": 20.8, "fourth_num": 40, "related_files": [ { "file_name": "test.png", "file_url": "http://xxxx", "file_id: 1 } ] } ], "company_id": 1, "creator_id": 1, "creator_name": "张师兄", "budget_id": 1, "project_name": "sdfafd", "owner_name": "sdfa", "total_contract_amount": 300.8, "current_amount": 0, "finished_income": 0, "unfinished_income": 0, "finished_expenses": 0, "unfinished_expenses": 0, "total_flow_number": 0, "income_flow_number": 0, "expense_flow_number": 0, "unfinished_expense_number": 0, "create_time": "2021-01-14 03:28:40", "update_time": "2021-01-14 03:55:53" } } ```