Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

...

Info

在实现HTTP服务时,每个请求的 HttpHeaders 需要设置为以下格式:

Code Block
headers: new HttpHeaders({
    'Content-Type': 'application/json'
}),
responseType: 'arraybuffer' as 'json' 


获取库存明细

...

POST /smartfin/api/v1/stockmgmt/select

...

  • wh_id - 与库存关联的仓储ID。

  • wh_add, wh_entity, wh_name - 仓储的相关细节。

更新 / 输入库存明细

...

更新URL:
POST/smartfin/api/v1/stockmgmt/execution_update

输入URL:
POST/smartfin/api/v1/stockmgmt/execution_insert

...

Code Block
insert_list - array[object]

Code Block
update_list - array[object]

响应:

删除库存明细

...

DELETE/smartfin/api/v1/stockmgmt/delete

...

  • 将被更新的合同ID(当传递有效合同ID时,将更新合同的库存明细,如出入库数量、未出入库数量等)。

响应: