盘点保存
<h5>简要描述</h5>
<ul>
<li>临时盘点保存,批号调整保存,逻辑仓调整保存</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>counting/maker/save</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">header</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>策略类型(inventoryMaker)</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
&quot;dataSource&quot;: 4,
&quot;countingType&quot;: 4,
&quot;orderType&quot;: {
&quot;id&quot;: &quot;560465299032371221&quot;
},
&quot;warehouse&quot;: {
&quot;id&quot;: &quot;560456239167959042&quot;
},
&quot;storer&quot;: {
&quot;id&quot;: &quot;170246841399840768&quot;
},
&quot;operator&quot;: &quot;ADMIN&quot;,
&quot;details&quot;: [
{
&quot;quantity&quot;: 0,
&quot;sku&quot;: {
&quot;id&quot;: &quot;991669669742080000&quot;,
&quot;customer&quot;: null,
&quot;custNo&quot;: null
},
&quot;location&quot;: {
&quot;id&quot;: &quot;958808404817188668&quot;
},
&quot;inventoryState&quot;: 1
},
{
&quot;sku&quot;: {
&quot;id&quot;: null,
&quot;customer&quot;: null,
&quot;custNo&quot;: null,
&quot;lot&quot;: {
&quot;id&quot;: &quot;991669669331038208&quot;
},
&quot;item&quot;: {
&quot;id&quot;: &quot;933760521197424640&quot;
},
&quot;pack&quot;: {
&quot;id&quot;: &quot;988383510072979456&quot;
},
&quot;batch&quot;: {
&quot;id&quot;: &quot;991669669398147072&quot;
},
&quot;color&quot;: {
&quot;id&quot;: &quot;927883232507826176&quot;
},
&quot;size&quot;: {
&quot;id&quot;: &quot;927883233552207872&quot;
},
&quot;model&quot;: {
&quot;id&quot;: &quot;26203059471023800&quot;
},
&quot;storageRoom&quot;: {
&quot;id&quot;: &quot;460799890038061959&quot;,
&quot;no&quot;: &quot;正常仓&quot;
}
},
&quot;quantity&quot;: 0,
&quot;location&quot;: {
&quot;id&quot;: &quot;958808404817188668&quot;
},
&quot;inventoryState&quot;: 1
}
]
}
</code></pre>
<h5>成功返回示例</h5>
<pre><code>{
&quot;success&quot;: true,
&quot;result&quot;: null
}
</code></pre>
<h5>成功返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">success</td>
<td style="text-align: left;">boolean</td>
<td>成功标识</td>
</tr>
<tr>
<td style="text-align: left;">result</td>
<td style="text-align: left;">json</td>
<td>结果集</td>
</tr>
</tbody>
</table>