入库单单价默认展示
station/merchandise_profile/update
接口描述
商品设置
Method
POST
request
show_sku_outer_id int O 商品ID展现方式, 0系统分配商品ID, 1自定义编码
show_tax_rate int O 税额展示 0为关闭, 1为开启
suggest_price int O 建议价格区间 0为关闭, 1为开启
response
{
"msg": "ok",
"code": 0,
"data": null
}
station/bshop_profile/update
接口描述
商城设置
Method
POST
request
allow_order_remark int O 商户订单备注 0为关闭, 1为开启
default_settle_way int O 默认结算方式 1为先货后款。2为先款后货
response
{
"msg": "ok",
"code": 0,
"data": null
}
station/stock_profile/update
接口描述
商城设置
Method
POST
request
allow_multi_batch int O 扫码入库规则 0为同一规格商品单批次入库, 1为同一规格商品多批次入库
in_stock_price_warning int O 入库单价预警维度 1为近七天入库均价 2为最高入库单价
weigh_stock_in int O 地磅称重入库 0为关闭, 1为开启
weigh_check int O 地磅称重盘点 0为关闭, 1为开启
purchase_sheet_ref_price int O 0为不设置,1为供应商最近询价,2供应商最近采购价,3供应商最近入库价,4库存均价,5最近询价,6最近入库价
in_stock_ref_price int O 0为不设置,1为供应商最近询价,3供应商最近入库价,,5最近询价,6最近入库价
response
{
"msg": "ok",
"code": 0,
"data": null
}
station/sorting_profile/update
接口描述
商城设置
Method
POST
request
generate_sort_num_rule int O 分拣序号生成规则,1按订单生成分拣序号, 2按线路生成分拣序号-线路内按商户分配分拣序号, 3按线路生成分拣序号-线路内同商户不合并分拣序号
sorting_product_code_type int O 分拣商品码 1为关闭, 2为开启
response
{
"msg": "ok",
"code": 0,
"data": null
}
stock/in_stock_sheet/material/new_detail
接口描述
入库单详情
Method
GET
request
response
{
"msg": "ok",
"code": 0,
"data": {
........................
last_in_stock_price:{ 供应商最近入库价
earlier:[ list 其他供应商列表
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
]
newest: 当前供应商
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
}
last_purchase_price: { 供应商最近采购价
earlier:[ list 其他供应商列表
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
]
newest: 当前供应商
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
}
last_quote_price: { 供应商最近询价
earlier:[ list 其他供应商列表
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
]
newest: 当前供应商
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
}
latest_in_stock_price float 最近入库价
latest_quote_price float 最近询价
stock_avg_price float 库存均价
max_stock_unit_price float 最高入库单价
}
}
purchase/purchase_spec/ref_price
接口描述
入库单参考价格
Method
GET
request
spec_id M string 采购规格id
settle_supplier_id M string 供应商id
response
{
"msg": "ok",
"code": 0,
"data": {
last_in_stock_price:{ 供应商最近入库价
earlier:[ list 其他供应商列表
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
]
newest: 当前供应商
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
}
last_purchase_price: { 供应商最近采购价
earlier:[ list 其他供应商列表
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
]
newest: 当前供应商
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
}
last_quote_price: { 供应商最近询价
earlier:[ list 其他供应商列表
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
]
newest: 当前供应商
{
price float 价格
purchase_supplier_id string 供应商id
purchase_supplier_name string 供应商名称
}
}
latest_in_stock_price float 最近入库价
latest_quote_price float 最近询价
stock_avg_price float 库存均价
max_stock_unit_price float 最高入库单价
}
}