DMS-ERP 对接接口文档


出入库明细

<h4><strong>请求路径 URL:</strong></h4> <ul> <li><code>/openApi/plistInventoryFlowSheetDetailPage</code></li> </ul> <h4><strong>请求方式:</strong></h4> <ul> <li><code>GET</code></li> </ul> <h4><strong>Header 信息:</strong></h4> <table> <thead> <tr> <th>header 头</th> <th>值</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>appId</td> <td>97A3AB74-7B39-4AAF-B3F8-808F484C0987</td> <td>应用ID</td> </tr> <tr> <td>timestamp</td> <td>获取当前时间戳</td> <td>时间戳</td> </tr> <tr> <td>signature</td> <td>生成请求签名</td> <td>签名,生成规则见「签名生成规则」</td> </tr> </tbody> </table> <h4><strong>参数:</strong></h4> <p>&gt; 说明:form-data 格式。</p> <table> <thead> <tr> <th>参数名</th> <th>是否必选</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>shopId</td> <td>是</td> <td>text 文本</td> <td>dms门店 ID</td> </tr> <tr> <td>type</td> <td>是</td> <td>text 文本</td> <td>是否分页 1-不分页 2-分页</td> </tr> <tr> <td>pageIndex</td> <td>否</td> <td>text 文本</td> <td>当前页面</td> </tr> <tr> <td>pageSize</td> <td>否</td> <td>text 文本</td> <td>每页大小</td> </tr> <tr> <td>goodsCode</td> <td>否</td> <td>text 文本</td> <td>商品编码、名称</td> </tr> <tr> <td>curGoodsCode</td> <td>否</td> <td>text 文本</td> <td>当前商品编码</td> </tr> <tr> <td>bizType</td> <td>否</td> <td>text 文本</td> <td>出入库类型,支持多选,逗号分割。类型:维修领料,维修退料,销售出库,销售,销售退货入库,采购入库,采购,采购退货,采购退货出库,盘盈入库,盘亏出库,转仓出库,转仓入库,调拨出库,调拨入库,调拨作废,其他入库,其他出库,期初入库,成本调整出库,成本调整入库</td> </tr> <tr> <td>createTimeStart</td> <td>否</td> <td>text 文本</td> <td>开始出入库日期,日期拼接 00:00:00</td> </tr> <tr> <td>createTimeEnd</td> <td>否</td> <td>text 文本</td> <td>结束出入库日期,日期拼接 23:59:59</td> </tr> <tr> <td>brand</td> <td>否</td> <td>text 文本</td> <td>品牌</td> </tr> <tr> <td>spec</td> <td>否</td> <td>text 文本</td> <td>规格型号、出厂编码、OE号</td> </tr> <tr> <td>storageName</td> <td>否</td> <td>text 文本</td> <td>仓库ID</td> </tr> <tr> <td>scanCode</td> <td>否</td> <td>text 文本</td> <td>条形码</td> </tr> <tr> <td>bizObject</td> <td>否</td> <td>text 文本</td> <td>业务对象</td> </tr> <tr> <td>code</td> <td>否</td> <td>text 文本</td> <td>单号</td> </tr> <tr> <td>bizCode</td> <td>否</td> <td>text 文本</td> <td>关联单号</td> </tr> <tr> <td>pCode</td> <td>否</td> <td>text 文本</td> <td>批次号</td> </tr> </tbody> </table> <h4><strong>返回值示例:</strong></h4> <pre><code>{ &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot;, &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: { &amp;quot;RowSum&amp;quot;: { &amp;quot;NoTaxCostMoney&amp;quot;: 88690473290.8244, &amp;quot;qtyReal&amp;quot;: 1814327.93, &amp;quot;CostMoney&amp;quot;: 93133761166.8217 }, &amp;quot;totalSize&amp;quot;: 7497, &amp;quot;list&amp;quot;: [ { &amp;quot;ShopName&amp;quot;: &amp;quot;连锁一号测试店铺&amp;quot;, &amp;quot;__row_number__&amp;quot;: 1, &amp;quot;CostMoney&amp;quot;: 0.0000, &amp;quot;GoodsCode&amp;quot;: &amp;quot;24580021&amp;quot;, &amp;quot;Unit&amp;quot;: &amp;quot;副&amp;quot;, &amp;quot;BizObject&amp;quot;: &amp;quot;11113333&amp;quot;, &amp;quot;sid&amp;quot;: &amp;quot;407F8907-12C9-4AFB-AC27-076797249944&amp;quot;, &amp;quot;NoTaxCostMoney1&amp;quot;: 0.0000, &amp;quot;NoTaxCostMoney&amp;quot;: 0.0000, &amp;quot;balance&amp;quot;: 0.0000, &amp;quot;StorageName&amp;quot;: &amp;quot;一号店默认仓&amp;quot;, &amp;quot;qtyReal&amp;quot;: 1.00, &amp;quot;PCode&amp;quot;: &amp;quot;P202406070003&amp;quot;, &amp;quot;ID&amp;quot;: &amp;quot;79527BC2-8ED0-49C3-81EC-D58D80518951&amp;quot;, &amp;quot;CostPrice&amp;quot;: 0.0000, &amp;quot;NoTaxCostPrice&amp;quot;: 0.0000, &amp;quot;BizID&amp;quot;: &amp;quot;7EE92A29-DADE-4266-BB5F-21F7075D6CC0&amp;quot;, &amp;quot;BizCode&amp;quot;: &amp;quot;QTRK202406070001&amp;quot;, &amp;quot;PlateNumber&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;OEMCode&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;CreateTime&amp;quot;: &amp;quot;2024-06-07 11:12:26&amp;quot;, &amp;quot;nobalance&amp;quot;: 0.0000, &amp;quot;BizType&amp;quot;: &amp;quot;其他入库&amp;quot;, &amp;quot;Code&amp;quot;: &amp;quot;RKD202406070001&amp;quot;, &amp;quot;CostMoney1&amp;quot;: 0.0000, &amp;quot;GoodsName&amp;quot;: &amp;quot;前刹车片606&amp;quot;, &amp;quot;Brand&amp;quot;: &amp;quot;TEXTAR&amp;quot;, &amp;quot;Type&amp;quot;: 1, &amp;quot;curGoodsCode&amp;quot;: &amp;quot;24580021&amp;quot;, &amp;quot;SupplierName&amp;quot;: &amp;quot;11113333&amp;quot;, &amp;quot;FactoryCode&amp;quot;: &amp;quot;2458002&amp;quot;, &amp;quot;NewQty&amp;quot;: 1.00, &amp;quot;Spec&amp;quot;: &amp;quot;2458002&amp;quot; } ] } }</code></pre> <h4>返回值参数说明:</h4> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>msg</td> <td>string</td> <td>描述</td> </tr> <tr> <td>code</td> <td>int</td> <td>状态码, 0 为成功 1 为失败</td> </tr> <tr> <td>CreateTime</td> <td>string</td> <td>出入库时间</td> </tr> <tr> <td>GoodsCode</td> <td>string</td> <td>商品编码</td> </tr> <tr> <td>GoodsName</td> <td>string</td> <td>商品名称</td> </tr> <tr> <td>curGoodsCode</td> <td>string</td> <td>当前商品编码</td> </tr> <tr> <td>Unit</td> <td>string</td> <td>单位</td> </tr> <tr> <td>Brand</td> <td>string</td> <td>品牌</td> </tr> <tr> <td>Spec</td> <td>string</td> <td>规格型号</td> </tr> <tr> <td>FactoryCode</td> <td>string</td> <td>出厂编码</td> </tr> <tr> <td>OEMCode</td> <td>string</td> <td>OE号</td> </tr> <tr> <td>Code</td> <td>string</td> <td>单号</td> </tr> <tr> <td>BizCode</td> <td>string</td> <td>关联单号</td> </tr> <tr> <td>BizObject</td> <td>string</td> <td>业务对象</td> </tr> <tr> <td>Type</td> <td>string</td> <td>类型 1入库单2出库单</td> </tr> <tr> <td>BizType</td> <td>string</td> <td>出/入库类型</td> </tr> <tr> <td>StorageName</td> <td>string</td> <td>仓库</td> </tr> <tr> <td>PCode</td> <td>string</td> <td>批次号</td> </tr> <tr> <td>SupplierName</td> <td>string</td> <td>供应商</td> </tr> <tr> <td>qtyReal</td> <td>string</td> <td>出/入库数量</td> </tr> <tr> <td>CostPrice</td> <td>string</td> <td>单位成本</td> </tr> <tr> <td>NoTaxCostPrice</td> <td>string</td> <td>单位成本(未税)</td> </tr> <tr> <td>CostMoney</td> <td>string</td> <td>出/入库成本</td> </tr> <tr> <td>NoTaxCostMoney</td> <td>string</td> <td>出/入库成本(未税)</td> </tr> <tr> <td>NewQty</td> <td>string</td> <td>结存数量</td> </tr> <tr> <td>balance</td> <td>string</td> <td>结存金额</td> </tr> <tr> <td>nobalance</td> <td>string</td> <td>结存金额(未税)</td> </tr> <tr> <td>ShopName</td> <td>string</td> <td>门店</td> </tr> </tbody> </table>

页面列表

ITEM_HTML