门店云

门店云


原料汇总

<h5>简要描述</h5> <ul> <li>获取原料汇总</li> <li> <p>开发人员:陈杰</p> <h5>请求URL</h5> </li> <li><code>http://localhost:port/Retailing/GetMaterialSum</code></li> </ul> <h5>请求方式</h5> <ul> <li>Post</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>nodeCode</td> <td>是</td> <td>string</td> <td>节点编码</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code> { &amp;quot;nodeCode&amp;quot;: &amp;quot;1018&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>{ &amp;quot;OperateCode&amp;quot;:9998, &amp;quot;ErrorMessage&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;obj&amp;quot;: [  { &amp;quot;DeptCode&amp;quot;: &amp;quot;DEPT001&amp;quot;, &amp;quot;BillNumber&amp;quot;: &amp;quot;BN20240001&amp;quot;, &amp;quot;MasterInsideId&amp;quot;: 1001, &amp;quot;InsideId&amp;quot;: 1, &amp;quot;MaterialCode&amp;quot;: &amp;quot;MAT001&amp;quot;, &amp;quot;MaterialAmount&amp;quot;: 50.0, &amp;quot;TaxRate&amp;quot;: 0.13, &amp;quot;MaterialPrice&amp;quot;: 25.5, &amp;quot;MaterialMoney&amp;quot;: 1275.0, &amp;quot;MaterialTax&amp;quot;: 165.75, &amp;quot;ProductionDate&amp;quot;: &amp;quot;2024-01-15&amp;quot;, &amp;quot;Remark&amp;quot;: &amp;quot;材料采购明细&amp;quot;, &amp;quot;MaterialName&amp;quot;: &amp;quot;原材料A&amp;quot;, &amp;quot;MaterialSpec&amp;quot;: &amp;quot;标准规格&amp;quot;, &amp;quot;MaterialUnit&amp;quot;: &amp;quot;千克&amp;quot; } ] }</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;">OperateCode</td> <td style="text-align: left;">int</td> <td>状态码,9998:成功,其他:失败</td> </tr> <tr> <td style="text-align: left;">ErrorMessage</td> <td style="text-align: left;">string</td> <td>异常消息</td> </tr> <tr> <td style="text-align: left;">obj</td> <td style="text-align: left;">object</td> <td>返回的数据</td> </tr> </tbody> </table> <h1>备注</h1> <ul> <li>更多返回状态码请看首页的状态码描述</li> </ul>

页面列表

ITEM_HTML