菜单

报工保存

接口URL:https://api.kingdee.com/weigusoft/wg_wm/wg_procedure_rpt?access_token=

Content-Type:application/json

请求方式:post

接口备注:暂无描述

请求头参数:

  • 所有的接口必须携带header参数
参数名称 参数示例 是否必填 参数说明
Content-Type application/json true 固定传:application/json
groupName ns-v7g6 true 分组名称,获取授权信息时返回的groupName
accountId 16xxxxxxxxxxxx true 账套ID,获取授权信息时返回的accountId
X-GW-Router-Addr https://tf.jdy.com true IDC域名,获取授权信息时返回的domain
 

请求体参数:

参数名

示例值

参数类型

是否必填

参数描述

actualEfficiency

0

String

暂无描述

actualHours

0

String

暂无描述

actualMinutes

0

String

暂无描述

actualSecond

0 String

暂无描述

amount

2

Number

金额

auditor

1697011644833483776

String

生产人员id

badAmount

0

Number

不良品数

baseunitId(计划单详情获取)

1

String

是 

单位

customfield

[]

Array

自定义字段

deptid(职员列表获取)

deptid

 

 

部门id

endTime

2025-02-08 10:48:13:00

String

 是

报工结束时间

eqId

1698579125066905600

String

设备id

estimatedSalary

10

Number

预计工资

fcomplianceEfficiency

默认0

String

暂无描述

flag

新增true,编辑false

Boolean

新增编辑标识

goodAmount

2

Number

良品数

gxId(计划单详情接口获取)

1702369519638531072

String

工序基础资料

imageUrls

jdyattachmentimage/

1683187060740048426/

791275939898/

1683187060740048426/

202502/api/apiForm/1

/attachments/

729656228409507840/

E5B7A5E58D951.png

多个图片的话用空格隔开

String

图片

manId(职员列表获取)

1697011644833483776

String

 是

生产人员id

materialId(计划单详情接口获取)

2034034294178978816

String

产品id

pricingMethod(计划单详情接口获取)

piece

String

计价方式

proceed

否false/是true

Boolean

是否忽略警告

process

GXJH-20250206-000320

String

工序计划单号

processName

GXJH-20250206-000320

String

工序任务单号

processProgress

0

String

暂无描述

processStatus

C

String

工序状态

processplan

GXJH-20250206-0003

String

工序计划单号

remark

 

String

备注

reportHours

2

Number

报工时长小时

reportMinutes

1

Number

报工时长分钟

salaryPrice

8.0000

String

工资单价

source

默认B,手机端

String

报工来源

standardEfficiency

默认0

String

暂无描述

standardHours

默认0

String

暂无描述

standardMinutes

默认0

String

暂无描述

standardSecond

默认0

String

暂无描述

startTime

2025-02-08 08:42:13:00

String

报工开始时间

wgBadItems

[]

Array

不良品项

wg_weight_device

没有传空

 

称重设备id

请求示例:

{"flag":true,"source":"B","gxId":"1702369519638531072","process":"GXJH-20250206-000320","processplan":"GXJH-20250206-0003","processName":"GXJH-20250206-000320","auditor":"1697011644833483776","materialId":"2034034294178978816","baseunitId":"1","processStatus":"C","manId":"1697011644833483776","deptid":"1697221606960547840","goodAmount":2,"badAmount":5,"amount":7,"processProgress":"0","startTime":"2025-02-08 03:27:13:00","endTime":"2025-02-08 10:48:13:00","reportHours":7,"reportMinutes":21,"standardEfficiency":"0","standardHours":"0","standardMinutes":"0","standardSecond":"0","actualEfficiency":"0","actualHours":"0","actualMinutes":"0","actualSecond":"0","fcomplianceEfficiency":0,"pricingMethod":"piece","salaryPrice":"8.0000","estimatedSalary":16,"wgBadItems":[{"badCauser":[{"auxinfoId":"1723820480479114240"}],"causeAmount":1},{"badCauser":[{"auxinfoId":"1722961536890267648"}],"causeAmount":1},{"badCauser":[{"auxinfoId":"1722957948763885568"}],"causeAmount":1},{"badCauser":[{"auxinfoId":"1722957810762868736"}],"causeAmount":1},{"badCauser":[{"auxinfoId":"1722957695671193600"}],"causeAmount":1}],"imageUrls":"jdyattachmentimage/1683187060740048426/791275939898/1683187060740048426/202502/api/apiForm/1/attachments/729656228409507840/E5B7A5E58D951.png","eqId":"1698579125066905600","proceed":false,"remark":"222","wg_weight_device":"","customfield":[{"k":"custom_field__1__4kepqzvn0u5w","v":"自定义1"},{"k":"custom_field__1__4oct299h528s","v":"自定义2"}]}

相应示例:(成功200,失败201)

{
    "data": {
        "messge": "操作成功",
        "billid": "2145684819428790276"
    },
    "errorCode": "success",
    "status": true,
    "success": true
}

 

分享文章
最近修改: 2025-03-26