文档
测试

我的报销单详情

POST
http://SERVER:PORT/v2/expenses/myFromInfo

请求参数

参数名
类型
描述
必填
type
int
1:差旅报销 2:日常报销 示例:1
必填
fromInfoId
int
报销单详情id 选填 type是差旅报销才需要 示例:213
必填
fromId
int
报销单id 示例:7
必填
fromType
int
1:办公费 2:招待费 3:交通费 4:邮寄费 5:住宿费 6:差旅费 示例:6
必填

响应参数

参数名
类型
描述
必填
fromJoinList
array
住宿费列表表
必填
id
id
住宿费表主键id
必填
taskId
String
任务id
必填
taskName
String
任务名字
必填
joinCity
String
入住城市
必填
joinTime
int
入住日期
必填
joinMember
String
入住人
必填
joinNum
int
入住人数
必填
joinDays
int
入住天数
必填
roomType
String
房间类型
必填
amount
int
报销金额
必填
createTime
int
创建时间
必填
fromInfoId
int
报销单详情id
必填
exceedInfo
String
超标原因
必填
fromMailList
array
邮寄费列表
必填
id
int
邮寄费表主键id
必填
taskId
String
任务id
必填
taskName
String
任务名字
必填
mailDate
int
邮寄日期
必填
mailType
String
邮件类型
必填
sender
String
寄件人
必填
addressee
String
收件人
必填
number
int
数量
必填
mailNumber
String
寄件单号
必填
mailAddress
String
寄(收)件地址
必填
info
String
事由
必填
amount
int
报销金额
必填
createTime
int
创建时间
必填
fromInfoId
int
报销单详情id
必填
fromServerList
array
招待费列表
必填
id
int
招待费表主键id
必填
taskId
String
任务id
必填
taskName
String
任务名字
必填
city
String
城市
必填
serverdate
int
招待日期
必填
amount
int
报销金额
必填
eatType
String
就餐类型
必填
eatNum
int
就餐人员
必填
serverInfo
String
招待事由
必填
remarks
String
备注
必填
createTime
int
创建时间
必填
fromInfoId
int
报销单详情id
必填
approvalId
String
招待费审批id
必填
approvalName
String
审批名字
必填
eatPerson
String
就餐人员名单
必填
fromTrafficList
array
交通费列表
必填
id
int
交通费表主键id
必填
taskId
String
任务id
必填
taskName
String
任务名字
必填
startPlace
String
出发地
必填
endPlace
String
目的地
必填
travelTime
int
乘车时间
必填
vehicle
String
交通工具
必填
travelInfo
String
乘车事由
必填
amount
int
报销金额
必填
createTime
int
创建时间
必填
fromInfoId
int
报销单详情id
必填
fromTravelList
array
差旅费列表
必填
id
int
差旅费表主键id 示例:7
必填
taskId
string
任务id 示例:202002027016
必填
taskName
string
任务名字 示例:湖南ETC二发系统
必填
startOff
string
出发地 示例:武汉
必填
endOff
string
目的地 示例:长沙
必填
startOfftime
int
出发日期 示例:1590456600
必填
vehicle
string
交通工具 示例:{"name":"汽车","value":"n3"}
必填
seats
object
座次/舱位 示例:null
必填
amount
object
报销金额 示例:null
必填
info
object
差旅明细 示例:null
必填
createTime
int
创建时间 示例:1596703293
必填
fromInfoId
int
报销单详情id 示例:213
必填
vehicleList
string
示例 :"飞机,火车,汽车"
必填
fromWorkList
array
办公费列表
必填
id
int
办公费表主键id
必填
taskId
String
任务id
必填
taskName
String
任务名字
必填
workName
String
办公用品名称
必填
buyDate
int
购买日期
必填
norms
String
规格
必填
number
int
数量
必填
amount
int
报销金额
必填
purpose
String
用途
必填
fromInfoId
int
必填
createTime
int
必填
travelDailyFromList
array
差旅报销的 相关报销 列表
必填
fromType
int
1:办公费 2:招待费 3:交通费 4:邮寄费 5:住宿费 6:差旅费 示例:1
必填
fromName
string
报销单名字 示例:办公费
必填
amount
object
金额 示例:null
必填
nums
object
数量 示例:null
必填
expensesInfo
差旅报销详情数据
必填
taskId
string
任务id 示例:1157104694957563905
必填
taskName
string
任务名字 示例:北京公交android 开发
必填
exceedReason
string
超标原因 示例:一线城市住宿标准350元/间,你已超出标准,请填写原因
必填
joinCity
string
入住城市 示例:北京
必填
vehicle
string
交通工具 示例:飞机,火车,汽车
必填
exceedAmount
int
超标金额 示例:350
必填

响应说明 / 示例

``` { "flag": true, "code": "1000", "data": { "fromJoinList": null, "fromMailList": null, "fromServerList": null, "fromTrafficList": null, "fromTravelList": [ { "id": 13, "taskId": "1157104694957563905", "taskName": "北京公交android 开发", "startOff": "武汉", "endOff": "北京", "startOfftime": 1576888200, "vehicle": "{\"name\":\"火车\",\"value\":\"n2\"}", "seats": null, "amount": null, "info": null, "createTime": 1596762660, "fromInfoId": 216 }, { "id": 14, "taskId": "1157104694957563905", "taskName": "北京公交android 开发", "startOff": "北京", "endOff": "武汉", "startOfftime": 1577449800, "vehicle": "{\"name\":\"火车\",\"value\":\"n2\"}", "seats": null, "amount": null, "info": null, "createTime": 1596762660, "fromInfoId": 216 } ], "fromWorkList": null, "travelDailyFromList": [ { "fromType": 1, "fromName": "办公费", "amount": null, "nums": null }, { "fromType": 2, "fromName": "招待费", "amount": null, "nums": null }, { "fromType": 3, "fromName": "交通费", "amount": null, "nums": null }, { "fromType": 4, "fromName": "邮寄费", "amount": null, "nums": null }, { "fromType": 5, "fromName": "住宿费", "amount": null, "nums": null } ], "expensesInfo": { "taskId": "1157104694957563905", "taskName": "北京公交android 开发", "exceedReason": "一线城市住宿标准350元/间,你已超出标准,请填写原因", "joinCity": "北京", "vehicle": "飞机,火车,汽车", "exceedAmount": 350 } }, "message": "成功" } ```