Lingxing
切换旧版

查询采购变更单列表

POST/erp/sc/routing/purchase/purchaseChangeOrder/changeOrderList

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/purchase/purchaseChangeOrder/changeOrderListHTTPSPOST1

请求参数

search_field_timestring
筛选时间类型,创建时间:create_time, 更新时间:update_time,不填时默认创建时间
start_datestring
开始时间
end_datestring
结束时间
offsetinteger必填
分页偏移量
lengthinteger必填
分页长度
multi_search_fieldstring
搜索单号字段,变更单号:order_sn;采购单号:purchase_order_sn
multi_search_valuearray<any>
批量搜索的单号值

请求示例

{
	"search_field_time":"create_time",
    "offset": 0,
    "length": 20,
    "start_date": "2024-08-02",
    "end_date": "2024-08-02",
    "multi_search_field":"purchase_order_sn",
    "multi_search_value":["test-01","test-02"]
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
响应消息
示例 操作成功
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 8DFEE1CA-EC9B-F401-5D41-9F95251D5D50
response_timestring必填
响应时间
示例 2020-09-21 15:48:58
dataarray<object>必填
数据
隐藏子属性
totalinteger必填
总数
示例 338
listarray<object>必填
列表数据
隐藏子属性
order_snstring必填
变更单号
示例 POC220505001
create_timestring必填
创建时间
示例 2022-05-05 15:08:43
supplier_namestring必填
供应商
示例 默认供应商
old_supplier_namestring必填
旧供应商
示例 默认旧供应商
widstring必填
仓库id
示例 1
old_widstring必填
旧仓库id
示例 1
ware_house_namestring必填
仓库
示例 fq本地仓库1
old_ware_house_namestring必填
旧仓库
示例 旧仓库
create_realnamestring必填
创建人
示例 冯x
opt_realnamestring必填
采购员
示例 安安
remarkstring必填
备注
statusinteger必填
状态标识码:
-1 已驳回
0 待审核
1 已处理
示例 1
status_textstring必填
状态文本
示例 已处理
iconstring必填
货币符号
示例 ¥
amountnumber必填
金额
old_amountnumber必填
旧金额
item_listarray<object>必填
变更单商品子项
隐藏子属性
widarray<any>必填
仓库id
old_widarray<any>必填
旧仓库id
ware_house_namestring必填
仓库
示例 本地仓库
old_ware_house_namestring必填
旧仓库
示例 旧仓库
spustring必填
spu
spu_namestring必填
spu名称
product_namestring必填
品名
示例 木牛流马
product_idstring必填
产品id
skustring必填
SKU
示例 mu123
attributestring必填
属性信息
隐藏子属性
attr_idinteger必填
属性id
attr_namestring必填
属性名
attr_valuestring必填
属性值
fnskustring必填
FNSKU
示例 X002JICY5VCR
pricestring必填
含税单价
示例 0.00
old_pricestring必填
旧含税单价
示例 0.00
price_without_taxnumber必填
不含税单价
old_price_without_taxnumber必填
旧不含税单价
tax_ratenumber必填
税率
old_tax_ratenumber必填
旧税率
quantity_realnumber必填
实际采购量
示例 250
old_quantity_realnumber必填
旧实际采购量
示例 200
amountnumber必填
金额
示例 0
old_amountnumber必填
旧金额
示例 0
sellerarray<object>必填
店铺列表
隐藏子属性
midinteger必填
站点id
sidinteger必填
店铺id
seller_namestring必填
店铺名称
country_namestring必填
国家
mskuarray<any>必填
msku
is_taxinteger必填
是否含税
示例 1
is_auxinteger必填
是否辅料
示例 0
expect_arrive_timestring必填
预计到货时间
old_expect_arrive_timestring必填
原预计到货时间

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "AABB891A-8A17-94C0-4DBA-0399C4641320",
    "response_time": "2022-05-26 10:54:41",
    "data": [
        {
            "order_sn": "POC230524011",
            "create_time": "2023-05-24 15:35:26",
            "supplier_name": "A0516供应商115",
            "old_supplier_name": "A0516供应商115",
            "wid": 1,
            "old_wid": 1,
            "ware_house_name": "默认仓库",
            "old_ware_house_name": "默认仓库",
            "create_realname": "超级管理员",
            "opt_realname": "超级管理员",
            "old_opt_realname": "超级管理员",
            "remark": "备注xx",
            "status": 1,
            "status_text": "已处理",
            "icon": "¥",
            "amount": "200.00",
            "old_amount": "100.00",
            "item_list": [
                {
                    "wid": 1,
                    "old_wid": 1,
                    "ware_house_name": "默认仓库",
                    "old_ware_house_name": "默认仓库",
                    "spu": "140141010",
                    "spu_name": "770",
                    "product_name": "调拨单删除",
                    "product_id": "17797",
                    "sku": "0007-1",
                    "attribute": [
                        {
                            "attr_id": 590,
                            "attr_name": "ZDH属性",
                            "attr_value": "ZDH属性值"
                        }
                    ],
                    "is_aux": 0,
                    "seller": [],
                    "msku": [],
                    "fnsku": "",
                    "price": "10.0000",
                    "old_price": "10.0000",
                    "price_without_tax": "8.8496",
                    "old_price_without_tax": "8.8496",
                    "tax_rate": "13.00",
                    "old_tax_rate": "13.00",
                    "amount": "200.00",
                    "old_amount": "100.00",
                    "is_tax": 1,
                    "quantity_real": 20,
                    "old_quantity_real": 10
                }
            ]
        }
    ],
    "total": 1
}