新增+修改
<h5>简要描述</h5>
<ul>
<li>新增、编辑通用接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8000/scm/sale/quotation/insertandupdate</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>请求参数示例</h5>
<pre><code>{
"billNo": "q001",
"bizDate": "2021-07-21",
"saleOrgCode": "1.03.03.11",
"customerNumber": "1.004",
"noticeId": "8395e3a0a4a09bcfc083986ad28f1548",
"originPigFarmNumber": "1.002",
"materialId": "aa008edc838978056aa607ef3be44c69",
"rounds": "1",
"state": "save",
"result": "中标",
"quotationEntryJa": [
{
"number": "qe001",
"quoAmount": "10",
"quantity": "22",
"quoDate": "2021-7-22 10:10:10",
"rounds": "1"
},
{
"number": "qe002",
"quoAmount": "12",
"quantity": "22",
"quoDate": "2021-7-22 10:30:10",
"rounds": "1"
}
]
}
</code></pre>
<h5>json字段说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">billNo</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>编码</td>
</tr>
<tr>
<td style="text-align: left;">bizDate</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>业务日期</td>
</tr>
<tr>
<td style="text-align: left;">saleOrgCode</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>公司编码</td>
</tr>
<tr>
<td style="text-align: left;">customerNumber</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>客户编码</td>
</tr>
<tr>
<td style="text-align: left;">noticeId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>竞价公告id</td>
</tr>
<tr>
<td style="text-align: left;">originPigFarmNumber</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>来源猪场编码</td>
</tr>
<tr>
<td style="text-align: left;">materialId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>物料id</td>
</tr>
<tr>
<td style="text-align: left;">rounds</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>当前轮次</td>
</tr>
<tr>
<td style="text-align: left;">state</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>当前阶段状态</td>
</tr>
<tr>
<td style="text-align: left;">result</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>竞价结果</td>
</tr>
<tr>
<td style="text-align: left;">quotationEntryJa</td>
<td style="text-align: left;">是</td>
<td>array</td>
<td>分录</td>
</tr>
<tr>
<td style="text-align: left;">quoAmount</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>报价单价</td>
</tr>
<tr>
<td style="text-align: left;">quantity</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>报价数量</td>
</tr>
<tr>
<td style="text-align: left;">quoDate</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>报价日期</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p>通过选noticeId,带出来源猪场、物料、当前轮次、当前阶段状态</p>