添加项目财务支出子类型
POST
https://test.52miaosuan.com:8090/miaosuan/finance/project/sub_out_type/add
接口描述
添加项目财务支出子类型
请求头
参数名
类型
描述
必填
user_id
int
用户编号
必填
请求参数
参数名
类型
描述
必填
out_type
int
0: 主材费,1: 辅料费,2: 人工费,9: 其他
必填
sub_type_name
String
子类型名称
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
id
int
项目ID
必填
status
int
项目财务状态枚举,0 - 待录入,1 - 进行中,2 - 收款完成
必填
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
支出流水笔数
必填
create_time
string
创建时间,示例:2021-01-14 03:28:40
必填
update_time
string
更新时间,示例:2021-01-14 03:55:53
必填
total_num
int
示例:1
必填