预计提成
<p><strong>简要描述:</strong> </p>
<ul>
<li>预计提成</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/app/report/salesman-commission</code>
<strong>请求方式:</strong></li>
<li>POST / GET</li>
</ul>
<p><strong>参数请求:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>固定值 2</td>
</tr>
<tr>
<td style="text-align: left;">time_type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>1本月 3本季度</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"final_amount": 0,
"list": [
{
"ka_kpi": 55,
"ka_amount": 98467,
"list": [
{
"diff_amount": 141347.36,
"final_amount": 1149.12
},
{
"diff_amount": 160347.36,
"final_amount": 1824
},
{
"diff_amount": 179347.36,
"final_amount": 2351.25
}
]
},
{
"ka_kpi": 0,
"ka_amount": 0,
"list": [
{
"diff_amount": 141347.36,
"final_amount": 598.5
},
{
"diff_amount": 160347.36,
"final_amount": 950
},
{
"diff_amount": 179347.36,
"final_amount": 1045
}
]
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">final_amount</td>
<td style="text-align: left;">float</td>
<td>目前预计可拿提成</td>
</tr>
<tr>
<td style="text-align: left;">list</td>
<td style="text-align: left;">array</td>
<td>ka_kpi: KA占比 <br/> ka_amount: KA再完成额 <br/> list=> diff_amount 再完成销售额 final_amount 提成金额</td>
</tr>
</tbody>
</table>