账单列表页
<p><strong>简要描述:</strong> </p>
<ul>
<li>账单列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sales-order-app/trans-action-list</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">customer_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>客户id</td>
</tr>
<tr>
<td style="text-align: left;">time</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>时间 格式:2020-04</td>
</tr>
<tr>
<td style="text-align: left;">etime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>结束时间 格式:2020-04 如果是有开始时间和结束时间 需要加一个结束时间</td>
</tr>
<tr>
<td style="text-align: left;">erp_type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>1销售出库 2销售退货 3客户充值 4客户提现 5收款核销 6收款红冲 7铺货转销售 8期初 9其它应收</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>每页展示数 默认6</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"list": {
"2020-07": [
{
"id": "2425715",
"erp_type": "1",
"erp_id": "1",
"org_id": "1",
"org_type": "1",
"account_id": "0",
"area_id": "0",
"related_account_id": "0",
"transaction_type": "0",
"order_id": "2096303",
"order_sn": "WO20071502096303",
"type": "0",
"amount": "26839.1600",
"balance": "0.0000",
"balance_amount": "-26839.1600",
"cash_amount": "0.0000",
"bank_amount": "0.0000",
"credit_balance": "0.0000",
"remark": "",
"other_org_id": "53392",
"other_org_type": "2",
"other_account_id": "0",
"business_type": "1",
"created_org_id": "0",
"updated_org_id": "0",
"created_at": "1594792220",
"created_id": "939",
"updated_at": "1594792957",
"updated_id": "0",
"deleted": "0",
"area_name": "加盟事业部",
"org_name": "JM-丁小伟",
"short_name": "丁小伟",
"business_type_name": "销售出库",
"created_name": "苏延珂",
"cash_bank": "0.00",
"created_time": "07-15 13:50:20"
}
]
},
"total": "15"
}
}
</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;">business_type_name</td>
<td style="text-align: left;">string</td>
<td>单类型名称</td>
</tr>
<tr>
<td style="text-align: left;">order_sn</td>
<td style="text-align: left;">string</td>
<td>单号</td>
</tr>
<tr>
<td style="text-align: left;">amount</td>
<td style="text-align: left;">string</td>
<td>金额</td>
</tr>
<tr>
<td style="text-align: left;">cash_bank</td>
<td style="text-align: left;">string</td>
<td>款</td>
</tr>
<tr>
<td style="text-align: left;">credit_balance</td>
<td style="text-align: left;">string</td>
<td>帐</td>
</tr>
<tr>
<td style="text-align: left;">balance_amount</td>
<td style="text-align: left;">string</td>
<td>预</td>
</tr>
<tr>
<td style="text-align: left;">balance</td>
<td style="text-align: left;">string</td>
<td>期末应收</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>