要货单-保存单据
更新时间:2022-03-21 11:31
描述

保存要货单

URL

{你的ERP域名}/api_v2/yhd/preserve

HTTP请求方式

post

是否需要登录

false

请求参数
字段 必选 类型及范围 说明
appid true string 应用ID(appId)
sign true string 签名参数
yhd_code true string 商品要货单单据号
pt_user_id true int 用户ID
stores_id true int 门店ID
jbr_name true string 经办人名称
s_d_id false string 部门ID
addtime false string 单据日期 标准时间格式
demand_date false string 需求时间 标准时间格式
remark false string 单据备注
is_loss false int 是否报损 2是 其他否 默认否
goods true string 商品要货信息 json字符串
goods[][barcode_id] true int 商品条码ID
goods[][price] true string 单价
goods[][xnum] true string 要货数量
goods[][conversion] true string 换算率
goods[][goods_id] true int 商品规格ID
goods[][price_tax] false string 含税单价
goods[][total] false string 总金额
goods[][total_tax] false string 含税总金额
goods[][purchase_tax_rate] false string 税率
goods[][remark] false string 商品备注
goods[][produce_date] false string 生产日期
goods[]lot_num false string 批号
goods[]pici_id false int 批次ID
target_url false string target_url
target_method false string target_method
target_title false string target_title
colse_dialogs false string colse_dialogs
返回字段说明
字段 类型及范围 说明
status string 状态 y=成功 n=失败
info html 提示信息
data array 返回的数据
TIPS

保存要货单