菜单

列表

基本信息

  • 用途说明:生产退料单列表查询接口(单据标识:wg_new_pick_rtn_bill)
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_cost/loadList?access_token=&authority_info=

headers参数

  • 所有的接口必须携带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
Appuserid 10102023 true 当前登录用户id

params参数

参数名称 参数类型 是否必填 参数说明
access_token string true 金蝶云通行证token
authority_info string true 见文档authority_info参数说明

body参数

参数名称 必选 类型 说明
entityName true String 单据标识:wg_new_pick_rtn_bill
andQfilters false Array

"andQfilters": [

{

   "property": "billno",

    "cp": "=",

    "value": "JK-20240219-00001"

}], //与条件

orQfilters false Array

orQfilters": [

{

     "property": "billno", //条件字段标识

     "cp": "=", //条件符号

     "value": "JK-20240219-00001" //条件值,like的要加%

}], //或条件

onlyBasic false Boolean

是否只获取基本信息,名称和编码

onlyCount false Boolean

是否只获取数量

haveMatPic false Boolean

是否返回物料图片

srcType false String

上一个页面单据类型

srcId false String

上一个页面单据id

exclude false Boolean

是否有排除的

level false String

基础资料查到哪一层,例:"1"

请求示例

{
    "pageindex": 1,
    "pagesize": 10,
    "entityName": "wg_new_pick_rtn_bill",
    "selectProperties": "billno,billdate,wg_wf_progress,wg_transtype,deptid,empid,billstatus",
    "andQfilters": [
        {
            "property": "billdate",
            "cp": ">=",
            "value": "2025-07-01"
        },
        {
            "property": "billdate",
            "cp": "<=",
            "value": "2025-07-31"
        }
    ],
    "orQfilters": [
        {
            "property": "billno",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "deptid.name",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "empid.name",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.materialid.number",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.materialid.name",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.auxpropid.name",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.materialid.model",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.wg_productid.number",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.wg_productid.name",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "project.name",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        },
        {
            "property": "material_entity.srcbillno",
            "cp": "like",
            "value": "%sctl-WG-20250704-00000001%"
        }
    ],
    "onlyBasic": false,
    "level": "2"
}

crul:

curl ^"https://api.kingdee.com/weigusoft/wg_cost/loadList?access_token=1752460583ed0aefabd40ef6d7d9c3be^&authority_info=suTn5vQKI76SVXWhBv+mJog3APYWO88oWZIS4jfts59b7mqQZ7Wm6SahvOKK+2U2^" ^
  -H ^"Accept: */*^" ^
  -H ^"Accept-Language: zh-CN,zh;q=0.9^" ^
  -H ^"Appuserid: 12888398^" ^
  -H ^"Connection: keep-alive^" ^
  -H ^"Content-Type: application/json;charset=UTF-8^" ^
  -H ^"Origin: http://localhost:5173^" ^
  -H ^"Referer: http://localhost:5173/^" ^
  -H ^"Sec-Fetch-Dest: empty^" ^
  -H ^"Sec-Fetch-Mode: cors^" ^
  -H ^"Sec-Fetch-Site: cross-site^" ^
  -H ^"User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1^" ^
  -H ^"X-GW-Router-Addr: https://tf-ek.jdy.com^" ^
  -H ^"access_token: 1752460583ed0aefabd40ef6d7d9c3be^" ^
  -H ^"accountId: 1675743896569628608^" ^
  -H ^"groupName: ns-isv5^" ^
  --data-raw ^"^{^\^"pageindex^\^":1,^\^"pagesize^\^":10,^\^"entityName^\^":^\^"wg_new_pick_rtn_bill^\^",^\^"selectProperties^\^":^\^"billno,billdate,wg_wf_progress,wg_transtype,deptid,empid,billstatus^\^",^\^"andQfilters^\^":^[^{^\^"property^\^":^\^"billdate^\^",^\^"cp^\^":^\^"^>=^\^",^\^"value^\^":^\^"2025-07-01^\^"^},^{^\^"property^\^":^\^"billdate^\^",^\^"cp^\^":^\^"^<=^\^",^\^"value^\^":^\^"2025-07-31^\^"^}^],^\^"orQfilters^\^":^[^{^\^"property^\^":^\^"billno^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"deptid.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"empid.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.materialid.number^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.materialid.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.auxpropid.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.materialid.model^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.wg_productid.number^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.wg_productid.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"project.name^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^},^{^\^"property^\^":^\^"material_entity.srcbillno^\^",^\^"cp^\^":^\^"like^\^",^\^"value^\^":^\^"^%^sctl-WG-20250704-00000001^%^\^"^}^],^\^"onlyBasic^\^":false,^\^"level^\^":^\^"2^\^"^}^"

响应示例

{
    "data": {
        "currentPageSize": 10,
        "currentPageIndex": 1,
        "totalPages": 1,
        "count": 1,
        "list": [
            {
                "empid_departmenid_longnumber": "100000!BM00002",
                "empid_departmenid_masterid": "1358532443941896192",
                "deptid_isleaf": true,
                "empid_number": "ZY00004",
                "deptid_name": "测试部门",
                "empid_id": "1394084520470297600",
                "empid_name": "董素敏",
                "empid_gender": "0",
                "deptid_longnumber": "100000!BM00002",
                "empid_email": "2673922272@qq.com",
                "id": "2251495259013925888",
                "empid_wechat": "",
                "deptid_number": "BM00002",
                "deptid_enable": "1",
                "billstatus": "C",
                "wg_wf_progress": null,
                "empid_mobile": "18851851158",
                "empid_departmenid_number": "BM00002",
                "deptid_masterid": "1358532443941896192",
                "empid_hiredate": "",
                "deptid_id": "1358532443941896192",
                "empid_departmenid_id": "1358532443941896192",
                "wg_transtype": "1",
                "deptid_fcomment": "",
                "billdate": "2025-07-04",
                "empid_enable": "1",
                "empid_birthday": "",
                "billno": "sctl-WG-20250704-00000001",
                "empid_departmenid_name": "测试部门"
            }
        ],
        "qtycount": 0,
        "allamount": 0
    },
    "errorCode": "success",
    "status": true,
    "success": true
}

分享文章
最近修改: 2025-08-01