磅单打印
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>磅单打印</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.0.239:8080/sf_public?url=sf_PrintRanking_db</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
&quot;billno&quot;:&quot;KT-THD-2024-09-22-0001&quot;, //通知单号
&quot;seq&quot;:&quot;1&quot;, //行号
&quot;type&quot;:&quot;1&quot; //类型 0送货 1提货
}</code></pre>
<h5>返回示例</h5>
<pre><code>//同步调用接口 返回值 true才能继续 否则抛异常
{
&quot;data&quot;: {
&quot;output&quot;: {
&quot;res&quot;: [
{ //有几个分录就有几个数组 需要循环打印
&quot;Inspection&quot;: { //需要判断有没有这个字段,有就打印带出质检,没有只打印磅单
&quot;entry&quot;: [
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;气味、滋味&quot;,
&quot;fxyz_textconclusion&quot;: &quot;正常&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.15,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;酸值&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;mgKOH/g&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 33.62,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;含皂量&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;mg/Kg&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;溶剂残留量&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;mg/Kg&quot;,
&quot;fxyz_textconclusion&quot;: &quot;未检出&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.01,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;不溶性杂质&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.01,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;水分及挥发物&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.01,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;过氧化值&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;g/100g&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;加热试验&quot;,
&quot;fxyz_textconclusion&quot;: &quot;无析出物&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 3.20,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;色泽&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
}
],
&quot;fxyz_carno&quot;: &quot;鲁Q202LG&quot;,
&quot;fxyz_results&quot;: &quot;0&quot;,
&quot;fxyz_date&quot;: &quot;2024-10-18 00:00:00&quot;,
&quot;fxyz_baseorgtp&quot;: &quot;棉籽油&quot;,
&quot;billno&quot;: &quot;HTB-JYD-2024-10-18-1056&quot;
},
&quot;Poundlist&quot;: {
&quot;fxyz_carrier&quot;: &quot;&quot;,
&quot;fxyz_transportconnum&quot;: &quot;&quot;,
&quot;fxyz_tare&quot;: 15520.00,
&quot;fxyz_customer&quot;: &quot;&quot;,
&quot;fxyz_net_weight&quot;: 34900.00,
&quot;fxyz_texts&quot;: &quot;&quot;,
&quot;fxyz_material&quot;: &quot;棉籽油&quot;,
&quot;fxyz_car_no&quot;: &quot;鲁Q202LG&quot;,
&quot;fxyz_time&quot;: &quot;2024-10-18 20:03:58&quot;,
&quot;fxyz_gross_weight&quot;: 50420.00,
&quot;fxyz_cnt&quot;: 33000.00,
&quot;billno&quot;: &quot;HTB-THD-2024-10-18-0005&quot;,
&quot;seq&quot;: &quot;1&quot;
}
},
{
&quot;Inspection&quot;: {
&quot;entry&quot;: [
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;气味、滋味&quot;,
&quot;fxyz_textconclusion&quot;: &quot;正常&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.15,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;酸值&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;mgKOH/g&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 33.62,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;含皂量&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;mg/Kg&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;溶剂残留量&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;mg/Kg&quot;,
&quot;fxyz_textconclusion&quot;: &quot;未检出&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.01,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;不溶性杂质&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.01,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;水分及挥发物&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.01,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;过氧化值&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;g/100g&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;加热试验&quot;,
&quot;fxyz_textconclusion&quot;: &quot;无析出物&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 3.20,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;色泽&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
}
],
&quot;fxyz_carno&quot;: &quot;鲁Q202LG&quot;,
&quot;fxyz_results&quot;: &quot;0&quot;,
&quot;fxyz_date&quot;: &quot;2024-10-18 00:00:00&quot;,
&quot;fxyz_baseorgtp&quot;: &quot;棉籽油&quot;,
&quot;billno&quot;: &quot;HTB-JYD-2024-10-18-1056&quot;
},
&quot;Poundlist&quot;: {
&quot;fxyz_carrier&quot;: &quot;&quot;,
&quot;fxyz_transportconnum&quot;: &quot;&quot;,
&quot;fxyz_tare&quot;: 15520.00,
&quot;fxyz_customer&quot;: &quot;&quot;,
&quot;fxyz_net_weight&quot;: 34900.00,
&quot;fxyz_texts&quot;: &quot;&quot;,
&quot;fxyz_material&quot;: &quot;棉籽油&quot;,
&quot;fxyz_car_no&quot;: &quot;鲁Q202LG&quot;,
&quot;fxyz_time&quot;: &quot;2024-10-18 20:03:58&quot;,
&quot;fxyz_gross_weight&quot;: 50420.00,
&quot;fxyz_cnt&quot;: 33000.00,
&quot;billno&quot;: &quot;HTB-THD-2024-10-18-0005&quot;,
&quot;seq&quot;: &quot;2&quot;
}
}
]
},
&quot;id&quot;: &quot;2066119746977298432&quot;
},
&quot;errorCode&quot;: &quot;0&quot;,
&quot;status&quot;: true
}
//旧参数是用来参考字段意思的 上面的是新的接口返回值
{
&quot;data&quot;: {
&quot;output&quot;: {
&quot;res&quot;: [
{
&quot;Poundlist&quot;: {
&quot;fxyz_customer&quot;: &quot;中粮饲料有限公司&quot;, //供应商
&quot;fxyz_net_weight&quot;: -200.00, //净重
&quot;fxyz_texts&quot;: &quot;&quot;,//备注
&quot;fxyz_material&quot;: &quot;棉籽油&quot;, //物料
&quot;fxyz_car_no&quot;: &quot;新AFE2230&quot;, //车号
&quot;fxyz_time&quot;: &quot;2024-09-22 16:55:45&quot;, //业务日期 显示2024-09-22不要时分秒
&quot;fxyz_gross_weight&quot;: 700.00, //毛重
&quot;fxyz_tare&quot;: 500.00, //皮重
&quot;billno&quot;: &quot;KT-THD-2024-09-22-0001&quot;, // 单据编号 KT-THD-2024-09-22-0001-1 通知单单号-行号
&quot;seq&quot;: &quot;1&quot;, //行号
&quot;fxyz_carrier&quot;: &quot;呼图壁县利锦机械租凭部&quot;, //承运人
&quot;fxyz_transportconnum&quot;: &quot;1152&quot;, //运输合同号
&quot;fxyz_cnt&quot;: 35120.00 //计划数量
}
},
{
&quot;Inspection&quot;: {
&quot;entry&quot;: [
{
&quot;fxyz_remark&quot;: &quot;&quot;, //备注
&quot;fxyz_indicatorvalue&quot;: 0.00, //指标值
&quot;fxyz_deducationrate&quot;: 0.00, //扣除率
&quot;fxyz_inspectitem&quot;: &quot;水分&quot;, //检验项目
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;, //指标单位
&quot;fxyz_textconclusion&quot;: &quot;&quot; //文字结论
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;杂质&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;含绒率&quot;,
&quot;fxyz_indicatorunit&quot;: &quot;%&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
},
{
&quot;fxyz_remark&quot;: &quot;&quot;,
&quot;fxyz_indicatorvalue&quot;: 0.00,
&quot;fxyz_deducationrate&quot;: 0.00,
&quot;fxyz_inspectitem&quot;: &quot;外观&quot;,
&quot;fxyz_textconclusion&quot;: &quot;&quot;
}
],
&quot;fxyz_carno&quot;: &quot;&quot;, //车号
&quot;fxyz_date&quot;: &quot;2024-09-23 00:00:00&quot;, //日期
&quot;fxyz_baseorgtp&quot;: &quot;毛籽&quot;, //物料
&quot;fxyz_results&quot;: &quot;0&quot;, //结论 0合格 1不合格
&quot;billno&quot;: &quot;KT-THD-2024-09-22-0001&quot; //单据编号
}
}
]
},
&quot;id&quot;: &quot;2046560847794288640&quot;
},
&quot;errorCode&quot;: &quot;0&quot;,
&quot;status&quot;: true
}
</code></pre>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=5b904922b62fac3f2f582993dd73c6cb&amp;file=file.png" alt="" /></p>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=4067f99f36c61fc57c5cd4a70c20bff3&amp;file=file.png" alt="" /></p>
<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;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>