Commit 57c15faf by 王军业

更新数据库和接口

1 parent 0a569597
......@@ -92,6 +92,9 @@
<li class="toctree-l2"><a class="reference internal" href="#id6">1.5. 发货信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id7">1.6. 工程验收信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id8">1.7. 附件表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id9">1.8. 合同编号表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id10">1.9. 项目表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id11">1.10. 客户表</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a></li>
......@@ -185,88 +188,69 @@
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>contract_code</td>
<tr class="row-even"><td>contract_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>合同编号(主键),通过
code服务进行选择</td>
<td>合同id</td>
</tr>
<tr class="row-odd"><td>salesperson_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>销售员,通过code服
务进行选择</td>
<td>销售员id</td>
</tr>
<tr class="row-even"><td>project_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>项目名称,通过code服务
进行选择</td>
<td>项目id</td>
</tr>
<tr class="row-odd"><td>customer_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>客户名称,通过code服务
进行选择</td>
<td>客户id</td>
</tr>
<tr class="row-even"><td>location_province</td>
<tr class="row-even"><td>province</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>项目所在地的省份</td>
</tr>
<tr class="row-odd"><td>location_city</td>
<tr class="row-odd"><td>city</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>项目所在地的市</td>
</tr>
<tr class="row-even"><td>location_area</td>
<tr class="row-even"><td>county</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>项目所在地的县(区)</td>
</tr>
<tr class="row-odd"><td>quality_cycle</td>
<tr class="row-odd"><td>guarantee_period</td>
<td><em></em></td>
<td>int</td>
<td>&lt;=16</td>
<td>&#160;</td>
<td></td>
<td>质保周期,通过code服务进
行选择</td>
<td>质保周期,单位是月</td>
</tr>
<tr class="row-even"><td>sign_date</td>
<td><em></em></td>
<td>date</td>
<td>&lt;=16</td>
<td>&#160;</td>
<td></td>
<td>签订时间</td>
</tr>
<tr class="row-odd"><td>year</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=4</td>
<td></td>
<td>所属年份</td>
</tr>
<tr class="row-even"><td>month</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=2</td>
<td></td>
<td>所属月份</td>
</tr>
<tr class="row-odd"><td>product_line_type</td>
<td><em></em></td>
<td>string</td>
......@@ -283,25 +267,25 @@ code服务进行选择</td>
<td>合同状态,通过code服务进
行选择</td>
</tr>
<tr class="row-odd"><td>contract_nature</td>
<tr class="row-odd"><td>contract_type</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>合同性质,通过code服务进
<td>合同类型,通过code服务进
行选择</td>
</tr>
<tr class="row-even"><td>contract_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>合同金额</td>
</tr>
<tr class="row-odd"><td>deduct_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>抵扣金额</td>
</tr>
......@@ -312,38 +296,24 @@ code服务进行选择</td>
<td></td>
<td>合同金额备注</td>
</tr>
<tr class="row-odd"><td>total_reback_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td></td>
<td>累计回款额</td>
</tr>
<tr class="row-even"><td>stop_amount</td>
<tr class="row-odd"><td>stop_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>暂停金额</td>
</tr>
<tr class="row-odd"><td>reback_note</td>
<tr class="row-even"><td>reback_note</td>
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>累计回款额备注</td>
</tr>
<tr class="row-even"><td>contract_remaining</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td></td>
<td>合同余额</td>
</tr>
<tr class="row-odd"><td>exemptions_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>豁免金额</td>
</tr>
......@@ -354,18 +324,17 @@ code服务进行选择</td>
<td></td>
<td>合同余额备注</td>
</tr>
<tr class="row-odd"><td>is_file</td>
<tr class="row-odd"><td>is_archive</td>
<td><em></em></td>
<td>bool</td>
<td>&#160;</td>
<td></td>
<td>是否归档,通过code服务进
行选择</td>
<td>是否归档</td>
</tr>
<tr class="row-even"><td>bad_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>坏账金额</td>
</tr>
......@@ -376,35 +345,14 @@ code服务进行选择</td>
<td></td>
<td>坏账金额备注</td>
</tr>
<tr class="row-even"><td>total_receive_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td></td>
<td>累计应收款</td>
</tr>
<tr class="row-odd"><td>total_leave_amount</td>
<tr class="row-even"><td>confirm_income_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td></td>
<td>应收账款余额</td>
</tr>
<tr class="row-even"><td>over_days_unid</td>
<td><em></em></td>
<td>int</td>
<td>&lt;=16</td>
<td></td>
<td>逾期天数</td>
</tr>
<tr class="row-odd"><td>confirm_income_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>确定收入金额</td>
</tr>
<tr class="row-even"><td>amount_state_unid</td>
<tr class="row-odd"><td>amount_state_unid</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
......@@ -412,41 +360,34 @@ code服务进行选择</td>
<td>账款状态,通过code服务进行
选择</td>
</tr>
<tr class="row-odd"><td>start_guarantee_date</td>
<tr class="row-even"><td>start_guarantee_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>维保服务期开始时间</td>
</tr>
<tr class="row-even"><td>end_guarantee_date</td>
<tr class="row-odd"><td>end_guarantee_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>维保服务期结束时间</td>
</tr>
<tr class="row-odd"><td>quality_start_point</td>
<tr class="row-even"><td>mainten_start_point</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>质保期开始节点</td>
</tr>
<tr class="row-even"><td>start_quality_date</td>
<tr class="row-odd"><td>mainten_start_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>质保期开始时间</td>
</tr>
<tr class="row-odd"><td>end_quality_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>质保期结束时间</td>
</tr>
<tr class="row-even"><td>contract_note</td>
<td><em></em></td>
<td>text</td>
......@@ -454,12 +395,19 @@ code服务进行选择</td>
<td></td>
<td>合同备注</td>
</tr>
<tr class="row-odd"><td>contract_identify</td>
<td><em></em></td>
<tr class="row-odd"><td>is_delete</td>
<td><em></em></td>
<td>bool</td>
<td>&#160;</td>
<td></td>
<td>合同标识</td>
<td>合同删除标识</td>
</tr>
<tr class="row-even"><td>appendix_unid</td>
<td><em></em></td>
<td>FK</td>
<td>&#160;</td>
<td></td>
<td>附件id</td>
</tr>
</tbody>
</table>
......@@ -488,60 +436,51 @@ code服务进行选择</td>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>payment_id</td>
<tr class="row-even"><td>payment_unid</td>
<td><em></em></td>
<td>string</td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>主键</td>
</tr>
<tr class="row-odd"><td>contract_code</td>
<tr class="row-odd"><td>contract_unid</td>
<td><em></em></td>
<td>String</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>合同编号,通过code服务进
行选择</td>
<td>合同编号</td>
</tr>
<tr class="row-even"><td>payment_period_state</td>
<tr class="row-even"><td>payment_type</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=10</td>
<td>&lt;=32</td>
<td></td>
<td>合同状态,通过code服务进
<td>付款类型,通过code服务进
行选择</td>
</tr>
<tr class="row-odd"><td>total_days</td>
<tr class="row-odd"><td>payment_progress</td>
<td><em></em></td>
<td>int</td>
<td>&lt;=32</td>
<td></td>
<td>天数</td>
</tr>
<tr class="row-even"><td>payment_agree_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>应付款日期</td>
<td>付款进度</td>
</tr>
<tr class="row-odd"><td>payment_amount</td>
<tr class="row-even"><td>days</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=16</td>
<td>int</td>
<td>&#160;</td>
<td></td>
<td>应付金额</td>
<td>天数</td>
</tr>
<tr class="row-even"><td>payment_propority</td>
<tr class="row-odd"><td>payment_propority</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=16</td>
<td>&#160;</td>
<td></td>
<td>付款比例,通过code服务进
行选择</td>
<td>付款比例</td>
</tr>
<tr class="row-odd"><td>payment_requirement</td>
<td><em></em></td>
<tr class="row-even"><td>payment_requirement</td>
<td><em></em></td>
<td>text</td>
<td>&#160;</td>
<td></td>
......@@ -574,41 +513,40 @@ code服务进行选择</td>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>return_id</td>
<tr class="row-even"><td>reback_unid</td>
<td><em></em></td>
<td>string</td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>主键</td>
</tr>
<tr class="row-odd"><td>contract_code</td>
<tr class="row-odd"><td>contract_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>合同编号,通过code服务进
行选择</td>
<td>合同编号</td>
</tr>
<tr class="row-even"><td>reback_date</td>
<tr class="row-even"><td>reback_progress</td>
<td><em></em></td>
<td>date</td>
<td>int</td>
<td>&#160;</td>
<td></td>
<td>回款时间</td>
<td>回款进度</td>
</tr>
<tr class="row-odd"><td>actual_reback_amount</td>
<tr class="row-odd"><td>reback_date</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>实际回款数额</td>
<td>回款时间</td>
</tr>
<tr class="row-even"><td>reback_propority</td>
<tr class="row-even"><td>actual_reback_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>回款比例</td>
<td>实际回款数额</td>
</tr>
<tr class="row-odd"><td>reback_note</td>
<td><em></em></td>
......@@ -644,62 +582,54 @@ code服务进行选择</td>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>receipt_id</td>
<tr class="row-even"><td>receipt_unid</td>
<td><em></em></td>
<td>string</td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>合同开票信息主键</td>
</tr>
<tr class="row-odd"><td>contract_code</td>
<tr class="row-odd"><td>contract_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>合同编号,通过code服务进
行选择</td>
</tr>
<tr class="row-even"><td>receipt_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td></td>
<td>开票金额</td>
<td>合同编号</td>
</tr>
<tr class="row-odd"><td>oa_flow_id</td>
<tr class="row-even"><td>receipt_progress</td>
<td><em></em></td>
<td>int</td>
<td>&lt;=32</td>
<td>&#160;</td>
<td></td>
<td>oa流水号</td>
<td>开票进度</td>
</tr>
<tr class="row-even"><td>receipt_propority</td>
<tr class="row-odd"><td>receipt_amount</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>&#160;</td>
<td></td>
<td>开票比例</td>
<td>开票金额</td>
</tr>
<tr class="row-odd"><td>total_receipt_amount</td>
<tr class="row-even"><td>oa_flow_id</td>
<td><em></em></td>
<td>float</td>
<td>&lt;=24</td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>累计开票金额</td>
<td>oa流水号</td>
</tr>
<tr class="row-even"><td>is_reback</td>
<tr class="row-odd"><td>receipt_note</td>
<td><em></em></td>
<td>bool</td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>是否回款</td>
<td>发票备注</td>
</tr>
<tr class="row-odd"><td>receipt_note</td>
<tr class="row-even"><td>create_date</td>
<td><em></em></td>
<td>text</td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>发票备注</td>
<td>开票日期</td>
</tr>
</tbody>
</table>
......@@ -728,34 +658,40 @@ code服务进行选择</td>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>deliver_id</td>
<tr class="row-even"><td>deliver_unid</td>
<td><em></em></td>
<td>string</td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>发货信息主键</td>
</tr>
<tr class="row-odd"><td>contract_code</td>
<tr class="row-odd"><td>contract_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>合同编号,通过code服务进
行选择</td>
<td>合同编号</td>
</tr>
<tr class="row-even"><td>deliver_goods_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>发货时间</td>
<td>发货日期</td>
</tr>
<tr class="row-odd"><td>goods_check_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>到货验收时间</td>
<td>到货验收日期</td>
</tr>
<tr class="row-even"><td>appendix_unid</td>
<td><em></em></td>
<td>FK</td>
<td>&#160;</td>
<td></td>
<td>附件id</td>
</tr>
</tbody>
</table>
......@@ -784,55 +720,47 @@ code服务进行选择</td>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>project_id</td>
<tr class="row-even"><td>check_unid</td>
<td><em></em></td>
<td>string</td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>工程验收信息主键</td>
</tr>
<tr class="row-odd"><td>contract_code</td>
<tr class="row-odd"><td>contract_unid</td>
<td><em></em></td>
<td>string</td>
<td>FK</td>
<td>&lt;=32</td>
<td></td>
<td>合同编号,通过code服务进
行选择</td>
<td>合同编号</td>
</tr>
<tr class="row-even"><td>is_first_check</td>
<tr class="row-even"><td>check_type</td>
<td><em></em></td>
<td>bool</td>
<td>&#160;</td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>是否是初</td>
<td>验收类型(1为初验、2为终</td>
</tr>
<tr class="row-odd"><td>first_check_date</td>
<tr class="row-odd"><td>check_date</td>
<td><em></em></td>
<td>date</td>
<td>&#160;</td>
<td></td>
<td>初验时间</td>
<td>验收时间</td>
</tr>
<tr class="row-even"><td>is_end_check</td>
<td><em></em></td>
<td>bool</td>
<td>&#160;</td>
<td></td>
<td>是否是终验</td>
</tr>
<tr class="row-odd"><td>end_check_date</td>
<tr class="row-even"><td>check_note</td>
<td><em></em></td>
<td>date</td>
<td>text</td>
<td>&#160;</td>
<td></td>
<td>终验时间</td>
<td>验收备注</td>
</tr>
<tr class="row-even"><td>check_note</td>
<tr class="row-odd"><td>appendix_unid</td>
<td><em></em></td>
<td>text</td>
<td>FK</td>
<td>&#160;</td>
<td></td>
<td>验收备注</td>
<td>附件id</td>
</tr>
</tbody>
</table>
......@@ -861,31 +789,31 @@ code服务进行选择</td>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>appendix_id</td>
<tr class="row-even"><td>appendix_unid</td>
<td><em></em></td>
<td>string</td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>附件主键</td>
</tr>
<tr class="row-odd"><td>foreign_key</td>
<tr class="row-odd"><td>appendix_name</td>
<td><em></em></td>
<td>string</td>
<td>&#160;</td>
<td></td>
<td>合同及子表的主键</td>
<td>&lt;=255</td>
<td></td>
<td>附件文件名</td>
</tr>
<tr class="row-even"><td>appendix_type</td>
<td><em></em></td>
<td>string</td>
<td>&#160;</td>
<td></td>
<td>&lt;=32</td>
<td></td>
<td>附件类型</td>
</tr>
<tr class="row-odd"><td>appendix_url</td>
<td><em></em></td>
<td>string</td>
<td>&#160;</td>
<td>&lt;=255</td>
<td></td>
<td>附件下载地址</td>
</tr>
......@@ -893,6 +821,122 @@ code服务进行选择</td>
</table>
</div></blockquote>
</div>
<div class="section" id="id9">
<h2>1.8. 合同编号表<a class="headerlink" href="#id9" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_contract_code</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>contract_unid</td>
<td><em></em></td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>合同id</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id10">
<h2>1.9. 项目表<a class="headerlink" href="#id10" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_project</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>project_unid</td>
<td><em></em></td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>项目id</td>
</tr>
<tr class="row-odd"><td>project_name</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=255</td>
<td></td>
<td>项目名称</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
<div class="section" id="id11">
<h2>1.10. 客户表<a class="headerlink" href="#id11" title="Permalink to this headline"></a></h2>
<blockquote>
<div><p>表名:tb_customer</p>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="14%" />
<col width="12%" />
<col width="12%" />
<col width="10%" />
<col width="28%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">字段名称</th>
<th class="head">是否必填</th>
<th class="head">类型</th>
<th class="head">限制</th>
<th class="head">唯一</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>customer_unid</td>
<td><em></em></td>
<td>PK</td>
<td>&lt;=32</td>
<td></td>
<td>客户id</td>
</tr>
<tr class="row-odd"><td>customer_name</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=255</td>
<td></td>
<td>客户名称</td>
</tr>
</tbody>
</table>
</div></blockquote>
</div>
</div>
......
This diff could not be displayed because it is too large.
......@@ -9,32 +9,23 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| contract_code | *是* | string | <=32 | 是 | 合同编号(主键),通过 |
| | | | | | code服务进行选择 |
| contract_unid | *是* | FK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| salesperson_unid | *是* | string | <=32 | 否 | 销售员,通过code服 |
| | | | | | 务进行选择 |
| salesperson_unid | *是* | FK | <=32 | 否 | 销售员id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| project_unid | *是* | string | <=32 | 否 | 项目名称,通过code服务 |
| | | | | | 进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| customer_unid | *是* | string | <=32 | 否 | 客户名称,通过code服务 |
| | | | | | 进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| location_province | *是* | string | <=32 | 否 | 项目所在地的省份 |
| project_unid | *是* | FK | <=32 | 否 | 项目id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| location_city | *是* | string | <=32 | 否 | 项目所在地的市 |
| customer_unid | *是* | FK | <=32 | 否 | 客户id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| location_area | *是* | string | <=32 | 否 | 项目所在地的县(区) |
| province | *是* | string | <=32 | 否 | 项目所在地的省份 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| quality_cycle | *是* | int | <=16 | 否 | 质保周期,通过code服务进 |
| | | | | | 行选择 |
| city | *是* | string | <=32 | 否 | 项目所在地的市 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| sign_date | *是* | date | <=16 | 否 | 签订时间 |
| county | *是* | string | <=32 | 否 | 项目所在地的县(区) |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| year | *是* | string | <=4 | 否 | 所属年份 |
| guarantee_period | *是* | int | | 否 | 质保周期,单位是月 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| month | *是* | string | <=2 | 否 | 所属月份 |
| sign_date | *是* | date | | 否 | 签订时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| product_line_type | *是* | string | <=32 | 否 | 产品线类型,通过code服务 |
| | | | | | 进行选择 |
......@@ -42,41 +33,30 @@
| contract_state | *是* | string | <=32 | 否 | 合同状态,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_nature | *是* | string | <=32 | 否 | 合同性质,通过code服务进 |
| contract_type | *是* | string | <=32 | 否 | 合同类型,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount | *是* | float | <=24 | 否 | 合同金额 |
| contract_amount | *是* | float | | 否 | 合同金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| deduct_amount | *是* | float | <=24 | 否 | 抵扣金额 |
| deduct_amount | *是* | float | | 否 | 抵扣金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount_note | *否* | text | | 否 | 合同金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_reback_amount | *是* | float | <=24 | 否 | 累计回款额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| stop_amount | *是* | float | <=24 | 否 | 暂停金额 |
| stop_amount | *是* | float | | 否 | 暂停金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_note | *否* | text | | 否 | 累计回款额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_remaining | *是* | float | <=24 | 否 | 合同余额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| exemptions_amount | *是* | float | <=24 | 否 | 豁免金额 |
| exemptions_amount | *是* | float | | 否 | 豁免金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_remain_note | *否* | text | | 否 | 合同余额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_file | *是* | bool | | 否 | 是否归档,通过code服务进 |
| | | | | | 行选择 |
| is_archive | *是* | bool | | 否 | 是否归档 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount | *是* | float | <=24 | 否 | 坏账金额 |
| bad_amount | *是* | float | | 否 | 坏账金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount_note | *否* | text | | 否 | 坏账金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_receive_amount | *是* | float | <=24 | 否 | 累计应收款 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_leave_amount | *是* | float | <=24 | 否 | 应收账款余额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| over_days_unid | *是* | int | <=16 | 否 | 逾期天数 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| confirm_income_amount | *是* | float | <=24 | 否 | 确定收入金额 |
| confirm_income_amount | *是* | float | | 否 | 确定收入金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| amount_state_unid | *是* | string | <=32 | 否 | 账款状态,通过code服务进行|
| | | | | | 选择 |
......@@ -85,15 +65,15 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_guarantee_date | *是* | date | | 否 | 维保服务期结束时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| quality_start_point | *是* | string | <=32 | 否 | 质保期开始节点 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| start_quality_date | *是* | date | | 否 | 质保期开始时间 |
| mainten_start_point | *是* | string | <=32 | 否 | 质保期开始节点 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_quality_date | *是* | date | | 否 | 质保期结束时间 |
| mainten_start_date | *是* | date | | 否 | 质保期开始时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_note | *否* | text | | 否 | 合同备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_identify | *否* | bool | | 否 | 合同标识 |
| is_delete | *是* | bool | | 否 | 合同删除标识 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -105,27 +85,24 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| payment_id | *是* | string | <=32 | 是 | 主键 |
| payment_unid | *是* | PK | <=32 | 是 | 主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | String | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_period_state | *是* | string | <=10 | 否 | 合同状态,通过code服务进 |
| payment_type | *是* | string | <=32 | 否 | 付款类型,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_days | *是* | int | <=32 | 否 | 天数 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_agree_date | *是* | date | | 否 | 应付款日期 |
| payment_progress | *是* | int | | 否 | 付款进度 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_amount | *是* | float | <=16 | 否 | 应付金额 |
| days | *是* | int | | 否 | 天数 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_propority | *是* | float | <=16 | 否 | 付款比例,通过code服务进 |
| | | | | | 行选择 |
| payment_propority | *是* | float | | 否 | 付款比例 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_requirement | ** | text | | 否 | 付款条件 |
| payment_requirement | ** | text | | 否 | 付款条件 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
合同回款信息表
++++++++++++++++++
......@@ -134,16 +111,15 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| return_id | *是* | string | <=32 | 是 | 主键 |
| reback_unid | *是* | PK | <=32 | 是 | 主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_date | *是* | date | | 否 | 回款时间 |
| reback_progress | *是* | int | | 否 | 回款进度 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| actual_reback_amount | *是* | float | <=24 | 否 | 实际回款数额 |
| reback_date | *是* | date | | 否 | 回款时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_propority | *是* | float | <=24 | 否 | 回款比例 |
| actual_reback_amount | *是* | float | | 否 | 实际回款数额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_note | *否* | text | | 否 | 回款备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -157,22 +133,19 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| receipt_id | *是* | string | <=32 | 是 | 合同开票信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| receipt_unid | *是* | PK | <=32 | 是 | 合同开票信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| receipt_amount | *是* | float | <=24 | 否 | 开票金额 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| oa_flow_id | *是* | int | <=32 | 否 | oa流水号 |
| receipt_progress | *是* | int | | 否 | 开票进度 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| receipt_propority | *是* | float | <=24 | 否 | 开票比例 |
| receipt_amount | *是* | float | | 否 | 开票金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_receipt_amount | *是* | float | <=24 | 否 | 累计开票金额 |
| oa_flow_id | *是* | string | <=32 | 否 | oa流水号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_reback | *否* | bool | | 否 | 是否回款 |
| receipt_note | *否* | text | | 否 | 发票备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| receipt_note | *是* | text | | 否 | 发票备注 |
| create_date | *是* | date | | 否 | 开票日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -184,14 +157,15 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| deliver_id | *是* | string | <=32 | 是 | 发货信息主键 |
| deliver_unid | *是* | PK | <=32 | 是 | 发货信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| deliver_goods_date | *是* | date | | 否 | 发货时间 |
| deliver_goods_date | *是* | date | | 否 | 发货日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| goods_check_date | *是* | date | | 否 | 到货验收时间 |
| goods_check_date | *是* | date | | 否 | 到货验收日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -203,21 +177,18 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| project_id | *是* | string | <=32 | 是 | 工程验收信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_first_check | *是* | bool | | 否 | 是否是初验 |
| check_unid | *是* | PK | <=32 | 是 | 工程验收信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| first_check_date | *是* | date | | 否 | 初验时间 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_end_check | *是* | bool | | 否 | 是否是终验 |
| check_type | *是* | string | <=32 | 否 | 验收类型(1为初验、2为终验|
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_check_date | *否* | date | | 否 | 终验时间 |
| check_date | *是* | date | | 否 | 验收时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| check_note | *否* | text | | 否 | 验收备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
附件表
......@@ -228,11 +199,54 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| appendix_id | *是* | string | <=32 | 是 | 附件主键 |
| appendix_unid | *是* | PK | <=32 | 是 | 附件主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_name | *是* | string | <=255 | 否 | 附件文件名 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_type | *是* | string | <=32 | 否 | 附件类型 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_url | *是* | string | <=255 | 否 | 附件下载地址 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
合同编号表
++++++++++++
表名:tb_contract_code
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| contract_unid | *是* | PK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
项目表
++++++++++++
表名:tb_project
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| project_unid | *是* | PK | <=32 | 是 | 项目id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| foreign_key | *是* | string | | 是 | 合同及子表的主键 |
| project_name | *是* | string | <=255 | 是 | 项目名称 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_type | *是* | string | | 是 | 附件类型 |
客户表
++++++++++++
表名:tb_customer
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_url | *是* | string | | 否 | 附件下载地址 |
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| customer_unid | *是* | PK | <=32 | 是 | 客户id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| customer_name | *是* | string | <=255 | 是 | 客户名称 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
\ No newline at end of file
财务进度服务http接口
=======================
销售合同
^^^^^^^^^^^^^^^^^^^
增加销售合同
^^^^^^^^^^^^^^^
*************
| Verb: POST
| Path: /api/v1/financial/contract
......@@ -13,91 +16,603 @@
.. code-block:: python
{
"constract_code"":"2018-079", #合同编号,选择
"salesperson_unid":"吴旭", #销售员id,选择
"project_unid":"金源时代客流项目", #项目名称,选择
"customer_unid":"北京金源时代购物中心有限公司", #客户名称,选择
"location_province":"河北省", #项目所在地的省份
"location_city":"沧州市", #项目所在地的市区
"location_area":"献县", #项目所在地的县或区
"quality_cycle":"6/12/.../60", #质保周期,月份,步长为6
"constract_unid":"2018-079", #合同unid
"salesperson_unid":"xxxx", #销售员unid
"project_unid":"xxxx", #项目unid
"customer_unid":"xxxx", #客户unid
"province":"河北省", #项目所在地的省份
"city":"沧州市", #项目所在地的市区
"county":"献县", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态,通过code服务进行查询
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间
"contract_note":"xxxx", #合同备注
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段)
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同详情
******************
| Verb: GET
| Path: /api/v1/financial/contract/{contract_unid}
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"salesperson_unid":"1234", #销售员unid
"salesperson_name":"吴旭", #销售员名称
"project_unid":"12321", #项目unid
"project_name":"金源时代客流项目", #项目名称
"customer_unid":"1234", #客户unid
"customer_name":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在地的省份
"city":"沧州市", #项目所在地的市区
"county":"献县", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"total_reback_amount":"xxxx", #累计回款额
"contract_amount_note":"xxxx", #合同金额备注,文本
"total_reback_amount":"133000.00", #累计回款额,小数点保留两位
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"contract_remaining":"xxxx", #合同余额,小数点保留两位
"contract_remain":"xxxx", #合同余额
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_file":"xxxx", #是否归档
"is_archive":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位
"total_leave_amount":"xxxx", #应收账款余额,小数点保留两位
"over_days_unid":"176", #逾期天数
"total_amount_remain":"xxxx", #应收账款余额
"over_days":"xxxx", #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间
"mainten_end_date":"xxxx", #质保期结束时间
"contract_note":"xxxx", #合同备注
"appendix_url":"xxxx", #合同url
}
修改销售合同
**************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"salesperson_unid":"xxxx", #销售员unid
"project_unid":"xxxx", #项目unid
"customer_unid":"xxxx", #客户unid
"province":"河北省", #项目所在地的省份
"city":"沧州市", #项目所在地的市区
"county":"献县", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同类型,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"quality_start_point":"xxxx", #质保期开始节点
"start_quality_date":"xxxx", #质保期开始时间
"end_quality_date":"xxxx", #质保期结束时间
"mainten_start_point":"xxxx", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间
"contract_note":"xxxx", #合同备注
"contract_appendix":"xxxx", #合同附件
"list_payment_data": #付款约定数据列表
"appendix_unid":"xxxx", #合同附件unid
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同
****************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同付款约定
^^^^^^^^^^^^^^^^^^^^^
增加销售合同付款约定信息
**************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_payment_data": #付款约定信息表
[
{
"payment_progress":"xxxx", #付款进度(1,2,3,4)
"payment_type":"xxxx", #付款类型,通过code服务进行选择
"days":"xxxx", #天数
"payment_propority":"xxxx", #付款比例
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同付款约定信息
***************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_payment_data": #付款约定列表
[
{
"payment_id":"xxxx", #付款约定表主键
"payment_period_state":"xxxx", #合同期数的状态
"total_days":"xxxx", #天数
"payment_agree_date":"xxxx", #应付款日期
"payment_amount":"xxxx", #应付金额
"payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度
"days":"xxxx", #天数
"payment_date":"xxxx", #本期应付款日期
"payment_amount":"xxxx", #本期应付金额
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
},
......
]
}
修改销售合同付款约定信息
******************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_payment_data": #付款约定列表
[
{
"payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度
"days":"xxxx", #天数
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同付款约定信息
*******************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"payment_unids": #付款unid数组
[
"payment_unid":"xxxx", #付款unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同回款
^^^^^^^^^^^^^^^^^^^^^^^^^
增加销售合同回款信息
************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:
Response Body:
.. code-block:: python
{
"list_reback_data": #合同回款信息表
[
{
"return_id":"xxxx", #回款信息表主键
"reback_progress ":"xxxx", #回款进度
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_note":"xxxx", #回款备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同回款信息
***********************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_reback_data": #回款信息列表
[
{
"reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度
"reback_date":"xxxx", #回款时间
"reback_propority":"xxxx", #回款比例
"actual_reback_amount":"xxxx", #实际回款数额
"reback_note":"xxxx", #回款备注
},
......
]
"list_receipt_data": #合同开票信息表
}
修改销售合同回款信息
***********************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_reback_data": #回款信息列表
[
{
"reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_note ":"xxxx", #回款备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同回款信息
**************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"reback_unids": #回款unid数组
[
"reback_unid":"xxxx", #回款unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同开票
^^^^^^^^^^^^^^^^^^
增加销售合同开票信息
****************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_receipt_data": #合同发票信息表
[
{
"receipt_progress":"xxxx", #开票进度
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_note":"xxxx", #发票备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同开票信息
****************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_receipt_data": #开票信息列表
[
{
"receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票次数
"oa_flow_id ":"xxxx", #oa流水号
"receipt_amount":"xxxx", #开票金额
"total_receipt_amount":"xxxx", #累计开票金额
"receipt_propority":"xxxx", #开票比例
"receipt_note":"xxxx", #开票备注
"create_date":"xxxx", #开票时间
},
......
]
}
修改销售合同开票信息
*********************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_receipt_data": #合同发票信息表
[
{
"receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票进度
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_note":"xxxx", #发票备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同开票信息
******************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"receipt_unids": #发票unid数组
[
"receipt_unid":"xxxx", #发票unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同发货
^^^^^^^^^^^^^^^^^^^^^^^^^
增加销售合同发货信息
****************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_deliver_data": #合同发货信息表
[
{
"receipt_id":"xxxx", #开票信息表主键
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_propority":"xxxx", #开票比例
"total_receipt_amount":"xxxx", #累计开票金额
"is_reback":"xxxx", #是否回款
"receipt_note":"xxxx", #发票备注
"deliver_goods_date":"xxxx", #发货时间
"goods_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段
},
......
]
"deliver_goods_date":"xxxx", #发货时间
"goodsl_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"is_first_check":"xxxx", #是否是初验
"first_check_date":"xxxx", #初验时间
"first_check_appendix":"xxxx", #初验附件
"is_end_check":"xxxx", #是否是终验
"end_check_date":"xxxx", #终验时间
"check_note":"xxxx", #验收备注
"end_check_appendix":"xxxx" #终验附件
}
Response Body:
......@@ -105,123 +620,92 @@
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"ecote":"OK" #返回说明
"ecode":"200", #增加成功返回码
"enote":"OK" #返回说明
}
查询合同详情
^^^^^^^^^^^^^^^^^^^^^
查询具体合同发货信息
************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_code}
| Path: /api/v1/financial/contract/{constract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:
Request Body:
Response Body:
.. code-block:: python
{
"constract_code"":"2018-079", #合同编号,选择
"salesperson_unid":"吴旭", #销售员id,选择
"project_unid":"金源时代客流项目", #项目名称,选择
"customer_unid":"北京金源时代购物中心有限公司", #客户名称,选择
"location_province":"河北省", #项目所在地的省份
"location_city":"沧州市", #项目所在地的市区
"location_area":"献县", #项目所在地的县或区
"quality_cycle":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"total_reback_amount":"133000.00", #累计回款额,小数点保留两位
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"contract_remaining":"xxxx", #合同余额,小数点保留两位
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_file":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位
"total_leave_amount":"xxxx", #应收账款余额,小数点保留两位
"over_days_unid":"176", #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"quality_start_point":"xxxx", #质保期开始节点
"start_quality_date":"xxxx", #质保期开始时间
"end_quality_date":"xxxx", #质保期结束时间
"contract_note":"xxxx", #合同备注
"contract_appendix":"xxxx", #合同附件
"list_payment_data": #付款约定数据列表
"list_deliver_data": #发货信息列表
[
{
"payment_id":"xxxx", #付款约定表主键
"payment_period_state":"xxxx", #合同期数的状态
"total_days":"xxxx", #天数
"payment_agree_date":"xxxx", #应付款日期
"payment_amount":"xxxx", #应付金额
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
"deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间
"goods_check_date ":"xxxx", #到货验收时间
"appendix_unid":"xxxx", #附件id
},
......
]
"list_reback_data": #合同回款信息表
[
}
修改销售合同发货信息
************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"return_id":"xxxx", #回款信息表主键
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_propority":"xxxx", #回款比例
"reback_note":"xxxx", #回款备注
},
......
]
"list_receipt_data": #合同开票信息表
"list_deliver_data": #合同发货信息表
[
{
"receipt_id":"xxxx", #开票信息表主键
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_propority":"xxxx", #开票比例
"total_receipt_amount":"xxxx", #累计开票金额
"is_reback":"xxxx", #是否回款
"receipt_note":"xxxx", #发票备注
"deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间
"goods_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段必传
},
......
]
"deliver_goods_date":"xxxx", #发货时间
"goodsl_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"is_first_check":"xxxx", #是否是初验
"first_check_date":"xxxx", #初验时间
"first_check_appendix":"xxxx", #初验附件
"is_end_check":"xxxx", #是否是终验
"end_check_date":"xxxx", #终验时间
"check_note":"xxxx", #验收备注
"end_check_appendix":"xxxx" #终验附件
}
Response Body:
删除销售合同
^^^^^^^^^^^^^^^
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同发货信息
**************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{constract_code}
| Path: /api/v1/financial/contract/{contract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"deliver_unids": #发货unid数组
[
"deliver_unid":"xxxx", #发货unid
......
]
}
Response Body:
......@@ -229,15 +713,19 @@
{
"ecode":"200", #删除成功返回码
"ecote":"OK" #返回说明
"enote":"OK" #返回说明
}
修改销售合同
^^^^^^^^^^^^^^^
销售合同工程验收
^^^^^^^^^^^^^^^^^^^^^^^
增加销售合同工程验收信息
******************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_code}
| Path: /api/v1/financial/contract/{constract_unid}/check
| Header: (Content-Type: application/json)
Request Body:
......@@ -245,91 +733,87 @@
.. code-block:: python
{
"constract_code"":"2018-079", #合同编号,选择
"salesperson_unid":"吴旭", #销售员id,选择
"project_unid":"金源时代客流项目", #项目名称,选择
"customer_unid":"北京金源时代购物中心有限公司", #客户名称,选择
"location_province":"河北省", #项目所在地的省份
"location_city":"沧州市", #项目所在地的市区
"location_area":"献县", #项目所在地的县或区
"quality_cycle":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"total_reback_amount":"133000.00", #累计回款额,小数点保留两位
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"contract_remaining":"xxxx", #合同余额,小数点保留两位
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_file":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位
"total_leave_amount":"xxxx", #应收账款余额,小数点保留两位
"over_days_unid":"176", #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"quality_start_point":"xxxx", #质保期开始节点
"start_quality_date":"xxxx", #质保期开始时间
"end_quality_date":"xxxx", #质保期结束时间
"contract_note":"xxxx", #合同备注
"contract_appendix":"xxxx", #合同附件
"list_payment_data": #付款约定数据列表
"list_check_data":
[
{
"payment_id":"xxxx", #付款约定表主键
"payment_period_state":"xxxx", #合同期数的状态
"total_days":"xxxx", #天数
"payment_agree_date":"xxxx", #应付款日期
"payment_amount":"xxxx", #应付金额
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
},
......
"check_type":"xxxx", #验收类型(1为初验、2为终验
"check_date":"xxxx", #验收时间
"check_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表
}
]
"list_reback_data": #合同回款信息表
}
Response Body:
.. code-block:: python
{
"ecode":"200", #增加成功返回码
"enote":"OK" #返回说明
}
查询具体合同工程验收信息
**************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/check
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_check_data": #工程验收信息列表
[
{
"return_id":"xxxx", #回款信息表主键
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_propority":"xxxx", #回款比例
"reback_note":"xxxx", #回款备注
"check_unid":"xxxx", #工程id
"check_type":"xxxx", #验收类型
"check_date":"xxxx", #验收时间
"check_note":"xxxx", #验收备注
"appendix_list": #附件列表集合
[
{
"appendix_unid":"1234", #附件unid
"appendix_url":"http://xxxx.pdf" #附件url
}
...
]
},
......
]
"list_receipt_data": #合同开票信息表
}
修改销售合同工程验收信息
*******************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/check
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_check_data": #工程验收信息表
[
{
"receipt_id":"xxxx", #开票信息表主键
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_propority":"xxxx", #开票比例
"total_receipt_amount":"xxxx", #累计开票金额
"is_reback":"xxxx", #是否回款
"receipt_note":"xxxx", #发票备注
},
......
"check_unid":"xxxx", #工程验收unid
"check_type":"xxxx", #验收类型(1为初验、2为终验)
"first_check_date":"xxxx", #验收时间
"check_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表
}
]
"deliver_goods_date":"xxxx", #发货时间
"goodsl_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"is_first_check":"xxxx", #是否是初验
"first_check_date":"xxxx", #初验时间
"first_check_appendix":"xxxx", #初验附件
"is_end_check":"xxxx", #是否是终验
"end_check_date":"xxxx", #终验时间
"check_note":"xxxx", #验收备注
"end_check_appendix":"xxxx" #终验附件
}
Response Body:
......@@ -338,13 +822,43 @@
{
"ecode":"200", #修改成功返回码
"ecote":"OK" #返回说明
"enote":"OK" #返回说明
}
删除销售合同工程验收信息
*****************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/check
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"check_unids": #验收unid数组
[
"check_unid":"xxxx", #验收unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
查询合同列表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract
......@@ -355,20 +869,20 @@
.. code-block:: python
{
"salesperson_unid":"吴旭", #销售员
"project_unid":"金源时代客流项目", #项目名称
"customer_unid":"北京金源时代购物中心有限公司", #客户名称
"location_province":"河北省", #项目所在省
"location_city":"沧州市", #项目所在市
"location_area":"献县", #项目所在县(区)
"quality_cycle":"xxxx", #质保周期
"salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省
"city":"沧州市", #项目所在市
"county":"献县", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质(供货,施工,集成,维保)
"contract_type":"xxxx", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验
"is_file":"xxxx", #合同是否归档
"is_archive":"xxxx", #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额
"amount_state_unid":"xxxx", #账款状态
......@@ -393,36 +907,35 @@
"list_data": #数据列表
[
"contract_code":"2019-079", #合同编号
"year":"2018", #所属年份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保)
"sign_date":"xxxx", #签订日期
"month":"3", #所属月份
"salesperson_unid":"xxxx", #销售员
"location_province":"河北省", #所在省份
"location_city":"沧州市", #所在市
"location_area":"献县", #所在县(区)
"customer_unid":"北京金源时代购物中心有限公司", #客户名称
"project_unid":"金源时代客流项目", #项目名称
"salesperson_name":"xxxx", #销售员名称
"province":"河北省", #所在省份
"city":"沧州市", #所在市
"county":"献县", #所在县(区)
"customer_name":"北京金源时代购物中心有限公司", #客户名称
"project_name":"金源时代客流项目", #项目名称
"contract_amount":"xxxx", #合同金额
"stop_amount":"xxxx", #暂停金额
"bad_amount":"xxxx", #坏账金额
"exemptions_amount":"xxxx", #豁免金额
"deduct_amount":"xxxx", #抵扣金额
"total_reback_amount":"xxxx", #累计回款额
"contract_remaining":"xxxx", #合同余额
"amount_state_unid":"xxxx", #账款状态
"total_receive_amount":"xxxx", #累计应收款
"total_leave_amount":"xxxx", #应收账款余额
"over_days_unid":"xxxx", #逾期天数
"payment_amount":"xxxx", #预付款金额
"payment_amount":"xxxx", #到货款金额
"payment_amount":"xxxx", #验收款金额
"payment_amount":"xxxx", #质保金额
"total_reback_amount":"xxxx", #累计已收款
"contract_remain":"xxxx", #合同余额
"account_state_unid":"xxxx", #账款状态
"total_receive_amount":"xxxx", #累计应收
"total_amount_remain":"xxxx", #应收账款余额
"over_days":"xxxx", #逾期天数
"advance_payment_amount":"xxxx", #预付款金额
"advance_payment_date":"xxxx", #预付款到期日
"arrival_amount":"xxxx", #到货款金额
"deliver_goods_date":"xxxx", #发货时间
"payment_agree_date":"xxxx", #到货款到期日
"payment_agree_date":"xxxx", #验收款到期日
"end_quality_date":"xxxx", #质保期结束时间
"goods_check_date":"xxxx", #验收日期
"arrival_amount_date":"xxxx", #到货款到期日
"check_amount":"xxxx", #验收款金额
"check_date":"xxxx", #验收日期
"check_amount_date":"xxxx", #验收款到期日
"mainten_amount":"xxxx", #质保金额
"mainten_end_date":"xxxx", #质保期结束时间
"check_note":"xxxx", #合同备注
],
......
......@@ -430,7 +943,7 @@
导出表格
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/export
......@@ -441,20 +954,20 @@
.. code-block:: python
{
"salesperson_unid":"吴旭", #销售员
"project_unid":"金源时代客流项目", #项目名称
"customer_unid":"北京金源时代购物中心有限公司", #客户名称
"location_province":"河北省", #项目所在省
"location_city":"沧州市", #项目所在市
"location_area":"献县", #项目所在县(区)
"quality_cycle":"xxxx", #质保周期
"salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省
"city":"沧州市", #项目所在市
"area":"献县", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验
"is_file":"xxxx", #合同是否归档
"is_archive":"xxxx", #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额
"amount_state_unid":"xxxx", #账款状态
......@@ -465,6 +978,71 @@
"leave_amount_point":"xxxx" #设置应收账款余额查询节点
}
Response Body:
Response Body:无
查询合同编号
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/code
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"contract_unids":["xxxx","xxxx",...] #合同编号
}
查询顾客表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/customer
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"customer_list": #顾客列表集合
[
{
"customer_unid":"xxxx", #顾客id
"customer_name":"xxxx" #顾客名称
}
...
]
}
查询项目表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/project
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"project_list": #项目列表集合
[
{
"customer_unid":"xxxx", #项目id
"customer_name":"xxxx" #项目名称
}
...
]
}
\ No newline at end of file
......@@ -163,15 +163,59 @@
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id6">1.5. 发货信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id7">1.6. 工程验收信息表</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id8">1.7. 附件表</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id9">1.8. 合同编号表</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id10">1.9. 项目表</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id11">1.10. 客户表</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a><ul>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id1">2.1. 增加销售合同</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id2">2.2. 查询合同详情</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id3">2.3. 删除销售合同</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id4">2.4. 修改销售合同</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id5">2.5. 查询合同列表</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id6">2.6. 导出表格</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id1">2.1. 销售合同</a><ul>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id2">2.1.1. 增加销售合同</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id3">2.1.2. 查询具体合同详情</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id4">2.1.3. 修改销售合同</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id5">2.1.4. 删除销售合同</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id6">2.2. 销售合同付款约定</a><ul>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id7">2.2.1. 增加销售合同付款约定信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id8">2.2.2. 查询具体合同付款约定信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id9">2.2.3. 修改销售合同付款约定信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id10">2.2.4. 删除销售合同付款约定信息</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id11">2.3. 销售合同回款</a><ul>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id12">2.3.1. 增加销售合同回款信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id13">2.3.2. 查询具体合同回款信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id14">2.3.3. 修改销售合同回款信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id15">2.3.4. 删除销售合同回款信息</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id16">2.4. 销售合同开票</a><ul>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id17">2.4.1. 增加销售合同开票信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id18">2.4.2. 查询具体合同开票信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id19">2.4.3. 修改销售合同开票信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id20">2.4.4. 删除销售合同开票信息</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id21">2.5. 销售合同发货</a><ul>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id22">2.5.1. 增加销售合同发货信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id23">2.5.2. 查询具体合同发货信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id24">2.5.3. 修改销售合同发货信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id25">2.5.4. 删除销售合同发货信息</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id26">2.6. 销售合同工程验收</a><ul>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id27">2.6.1. 增加销售合同工程验收信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id28">2.6.2. 查询具体合同工程验收信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id29">2.6.3. 修改销售合同工程验收信息</a></li>
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id30">2.6.4. 删除销售合同工程验收信息</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id31">2.7. 查询合同列表</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id32">2.8. 导出表格</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id33">2.9. 查询合同编号</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id34">2.10. 查询顾客表</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id35">2.11. 查询项目表</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="99-history.html">3. 修订历史</a><ul>
......
Search.setIndex({docnames:["01-db","02-finance-http","99-history","index"],envversion:53,filenames:["01-db.rst","02-finance-http.rst","99-history.rst","index.rst"],objects:{},objnames:{},objtypes:{},terms:{"\u4e3b\u952e":0,"\u4ea4\u901a":1,"\u4ea7\u54c1\u7ebf\u7c7b\u578b":[0,1],"\u4ed8\u6b3e\u671f\u6570":[],"\u4ed8\u6b3e\u6761\u4ef6":[0,1],"\u4ed8\u6b3e\u6bd4\u4f8b":[0,1],"\u4ed8\u6b3e\u7ea6\u5b9a\u6570\u636e\u5217\u8868":1,"\u4ed8\u6b3e\u7ea6\u5b9a\u8868":3,"\u4ed8\u6b3e\u7ea6\u5b9a\u8868\u4e3b\u952e":1,"\u4f9b\u8d27":1,"\u4fee\u6539\u6210\u529f\u8fd4\u56de\u7801":1,"\u4fee\u6539\u9500\u552e\u5408\u540c":3,"\u4fee\u8ba2\u5386\u53f2":3,"\u521d\u9a8c\u65f6\u95f4":[0,1],"\u521d\u9a8c\u9644\u4ef6":1,"\u5220\u9664\u6210\u529f\u8fd4\u56de\u7801":1,"\u5220\u9664\u9500\u552e\u5408\u540c":3,"\u5230\u8d27\u6b3e\u5230\u671f\u65e5":1,"\u5230\u8d27\u6b3e\u91d1\u989d":1,"\u5230\u8d27\u7b7e\u6536\u5355\u9644\u4ef6":1,"\u5230\u8d27\u7b7e\u6536\u9644\u4ef6":[],"\u5230\u8d27\u9a8c\u6536\u65f6\u95f4":[0,1],"\u52a1\u8fdb\u884c\u9009\u62e9":0,"\u5317\u4eac\u91d1\u6e90\u65f6\u4ee3\u8d2d\u7269\u4e2d\u5fc3\u6709\u9650\u516c\u53f8":1,"\u533a":[0,1],"\u53d1\u7968\u5907\u6ce8":[0,1],"\u53d1\u8d27\u4fe1\u606f\u4e3b\u952e":0,"\u53d1\u8d27\u4fe1\u606f\u8868":3,"\u53d1\u8d27\u65f6\u95f4":[0,1],"\u5408\u540c\u4f59\u989d":[0,1],"\u5408\u540c\u4f59\u989d\u5907\u6ce8":[0,1],"\u5408\u540c\u53ca\u5b50\u8868\u7684\u4e3b\u952e":0,"\u5408\u540c\u56de\u6b3e\u4fe1\u606f\u8868":[1,3],"\u5408\u540c\u5907\u6ce8":[0,1],"\u5408\u540c\u5f00\u7968\u4fe1\u606f\u4e3b\u952e":0,"\u5408\u540c\u5f00\u7968\u4fe1\u606f\u8868":[1,3],"\u5408\u540c\u6027\u8d28":[0,1],"\u5408\u540c\u662f\u5426\u5f52\u6863":1,"\u5408\u540c\u671f\u6570":[],"\u5408\u540c\u671f\u6570\u7684\u72b6\u6001":1,"\u5408\u540c\u6807\u8bc6":0,"\u5408\u540c\u72b6\u6001":[0,1],"\u5408\u540c\u7f16\u53f7":[0,1],"\u5408\u540c\u8868":[],"\u5408\u540c\u8868\u4e3b\u952e":[],"\u5408\u540c\u91d1\u989d":[0,1],"\u5408\u540c\u91d1\u989d\u5907\u6ce8":[0,1],"\u5408\u540c\u9644\u4ef6":1,"\u5426":0,"\u5434\u65ed":1,"\u552f\u4e00":0,"\u56de\u6b3e\u4fe1\u606f\u5217\u8868":[],"\u56de\u6b3e\u4fe1\u606f\u8868\u4e3b\u952e":1,"\u56de\u6b3e\u5907\u6ce8":[0,1],"\u56de\u6b3e\u65f6\u95f4":[0,1],"\u56de\u6b3e\u6bd4\u4f8b":[0,1],"\u574f\u8d26\u91d1\u989d":[0,1],"\u574f\u8d26\u91d1\u989d\u5907\u6ce8":[0,1],"\u589e\u52a0\u9500\u552e\u5408\u540c":3,"\u5907\u6ce8":[],"\u5929\u6570":[0,1],"\u5b57\u6bb5\u540d\u79f0":0,"\u5b89\u9632":1,"\u5b8c\u6210\u6982\u8ff0":2,"\u5b9e\u9645\u56de\u6b3e\u6570\u989d":[0,1],"\u5ba2\u6237\u540d\u79f0":[0,1],"\u5ba2\u6d41":1,"\u5bfc\u51fa\u8868\u683c":3,"\u5c0f\u6570\u70b9\u4fdd\u7559\u4e24\u4f4d":1,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u4e3b\u952e":0,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u8868":3,"\u5df2\u5b8c\u6210":1,"\u5e10\u6b3e\u72b6\u6001":1,"\u5e94\u4ed8\u6b3e\u65e5\u671f":[0,1],"\u5e94\u4ed8\u91d1\u989d":[0,1],"\u5e94\u6536\u8d26\u6b3e\u4f59\u989d":[0,1],"\u5f00\u7968\u4fe1\u606f\u8868\u4e3b\u952e":1,"\u5f00\u7968\u6bd4\u4f8b":[0,1],"\u5f00\u7968\u8fdb\u5ea6":[],"\u5f00\u7968\u91d1\u989d":[0,1],"\u5f85\u53d1\u8d27":1,"\u603b\u7684\u6570\u636e\u91cf":1,"\u6240\u5728\u53bf":1,"\u6240\u5728\u5e02":1,"\u6240\u5728\u7701\u4efd":1,"\u6240\u5c5e\u5e74\u4efd":[0,1],"\u6240\u5c5e\u6708\u4efd":[0,1],"\u6298\u6263\u91d1\u989d":1,"\u62b5\u6263\u91d1\u989d":[0,1],"\u6570\u636e\u5217\u8868":1,"\u6570\u636e\u5e93\u4e24\u90e8\u5206\u7684\u8bbe\u8ba1":2,"\u6570\u636e\u5e93\u8bbe\u8ba1":3,"\u6587\u672c":1,"\u65b0\u589e\u6210\u529f\u8fd4\u56de\u7801":1,"\u65bd\u5de5":1,"\u65bd\u5de5\u4e2d":1,"\u65e0":1,"\u662f":0,"\u662f\u5426\u56de\u6b3e":[0,1],"\u662f\u5426\u5f52\u6863":[0,1],"\u662f\u5426\u5fc5\u586b":0,"\u662f\u5426\u662f\u521d\u9a8c":[0,1],"\u662f\u5426\u662f\u7ec8\u9a8c":[0,1],"\u662f\u5426\u7ec8\u9a8c":1,"\u6682\u505c\u91d1\u989d":[0,1],"\u6708\u4efd":1,"\u670d\u52a1\u8fdb\u884c\u9009\u62e9":[],"\u672c\u6b21\u8fd4\u56de\u7684\u5217\u8868\u6570\u91cf":1,"\u672c\u6b21\u8fd4\u56de\u7684\u8d77\u59cb\u7d22\u5f15":1,"\u6761\u4ef6\u7b5b\u9009":[],"\u67e5\u770b\u5408\u540c\u5217\u8868":[],"\u67e5\u8be2\u5408\u540c\u5217\u8868":3,"\u67e5\u8be2\u5408\u540c\u8be6\u60c5":3,"\u67e5\u8be2\u9500\u552e\u5408\u540c":[],"\u6839\u636e\u6761\u4ef6\u67e5\u770b\u5408\u540c\u5217\u8868":[],"\u6b65\u957f\u4e3a6":1,"\u6bcf\u9875\u663e\u793a\u7684\u6570\u91cf":1,"\u6ca7\u5dde\u5e02":1,"\u6cb3\u5317\u7701":1,"\u732e\u53bf":1,"\u76ee\u5f55":3,"\u786e\u5b9a\u6536\u5165\u91d1\u989d":[0,1],"\u7b2c\u4e00\u7248":2,"\u7b7e\u8ba2\u65e5\u671f":1,"\u7b7e\u8ba2\u65f6\u95f4":[0,1],"\u7c7b\u578b":0,"\u7cbe\u786e\u7b5b\u9009":[],"\u7d2f\u8ba1\u56de\u6b3e\u989d":[0,1],"\u7d2f\u8ba1\u56de\u6b3e\u989d\u5907\u6ce8":[0,1],"\u7d2f\u8ba1\u5e94\u6536\u6b3e":[0,1],"\u7d2f\u8ba1\u5f00\u7968\u91d1\u989d":[0,1],"\u7ec8\u9a8c\u65f6\u95f4":[0,1],"\u7ec8\u9a8c\u9644\u4ef6":1,"\u7ed3\u675f\u65f6\u95f4":1,"\u7ef4\u4fdd":1,"\u7ef4\u4fdd\u670d\u52a1\u671f\u5f00\u59cb\u65f6\u95f4":[0,1],"\u7ef4\u4fdd\u670d\u52a1\u671f\u7ed3\u675f\u65f6\u95f4":[0,1],"\u884c\u9009\u62e9":0,"\u8868\u540d":0,"\u8bbe\u7f6e\u5e94\u6536\u8d26\u6b3e\u4f59\u989d\u67e5\u8be2\u8282\u70b9":1,"\u8bbe\u7f6e\u5f00\u59cb\u65f6\u95f4":1,"\u8bbe\u7f6e\u7ed3\u675f\u65f6\u95f4":1,"\u8bbe\u7f6e\u903e\u671f\u5929\u6570\u67e5\u8be2\u8282\u70b9":1,"\u8bbe\u7f6e\u91d1\u989d\u67e5\u8be2\u8282\u70b9":1,"\u8bf4\u660e":0,"\u8c41\u514d\u91d1\u989d":[0,1],"\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1http\u63a5\u53e3":3,"\u8d26\u6b3e\u72b6\u6001":[0,1],"\u8d28\u4fdd\u5468\u671f":[0,1],"\u8d28\u4fdd\u671f\u5f00\u59cb\u65f6\u95f4":[0,1],"\u8d28\u4fdd\u671f\u5f00\u59cb\u8282\u70b9":[0,1],"\u8d28\u4fdd\u671f\u7ed3\u675f\u65f6\u95f4":[0,1],"\u8d28\u4fdd\u91d1\u989d":1,"\u8d77\u59cb\u4f4d\u7f6e":1,"\u8fd4\u56de\u8bf4\u660e":1,"\u8fdb\u884c\u9009\u62e9":0,"\u9009\u62e9":[0,1],"\u901a\u8fc7":0,"\u901a\u8fc7code":[],"\u901a\u8fc7code\u670d":0,"\u901a\u8fc7code\u670d\u52a1":0,"\u901a\u8fc7code\u670d\u52a1\u8fdb":0,"\u901a\u8fc7code\u670d\u52a1\u8fdb\u884c":0,"\u903e\u671f\u5929\u6570":[0,1],"\u91d1\u6e90\u65f6\u4ee3\u5ba2\u6d41\u9879\u76ee":1,"\u9500\u552e\u5408\u540c\u8868":3,"\u9500\u552e\u5458":[0,1],"\u9500\u552e\u5458id":1,"\u9644\u4ef6\u4e0b\u8f7d\u5730\u5740":0,"\u9644\u4ef6\u4e3b\u952e":0,"\u9644\u4ef6\u7c7b\u578b":0,"\u9644\u4ef6\u8868":3,"\u9650\u5236":0,"\u96c6\u6210":1,"\u9879\u76ee\u540d\u79f0":[0,1],"\u9879\u76ee\u6240\u5728\u53bf":1,"\u9879\u76ee\u6240\u5728\u5730\u7684\u53bf":0,"\u9879\u76ee\u6240\u5728\u5730\u7684\u53bf\u6216\u533a":1,"\u9879\u76ee\u6240\u5728\u5730\u7684\u5e02":0,"\u9879\u76ee\u6240\u5728\u5730\u7684\u5e02\u533a":1,"\u9879\u76ee\u6240\u5728\u5730\u7684\u7701\u4efd":[0,1],"\u9879\u76ee\u6240\u5728\u5e02":1,"\u9879\u76ee\u6240\u5728\u7701":1,"\u9879\u76ee\u6682\u505c":1,"\u9884\u4ed8\u6b3e\u91d1\u989d":1,"\u9a8c\u6536\u5907\u6ce8":[0,1],"\u9a8c\u6536\u65e5\u671f":1,"\u9a8c\u6536\u6b3e\u5230\u671f\u65e5":1,"\u9a8c\u6536\u6b3e\u91d1\u989d":1,"code\u670d\u52a1\u8fdb\u884c\u9009\u62e9":0,"export":1,"float":0,"int":0,"oa\u6d41\u6c34\u53f7":[0,1],accuratequeri:[],actual_reback_amount:[0,1],addcontract:[],amount_point:1,amount_state_unid:[0,1],api:1,appendix_id:0,appendix_typ:0,appendix_url:0,applic:1,bad_amount:[0,1],bad_amount_not:[0,1],bodi:1,bool:0,bytea:[],check_not:[0,1],condit:[],conditionqueri:[],confirm_income_amount:[0,1],constract_cod:1,content:1,contract:1,contract_amount:[0,1],contract_amount_not:[0,1],contract_appendix:1,contract_cod:[0,1],contract_identifi:0,contract_natur:[0,1],contract_not:[0,1],contract_remain:[0,1],contract_remain_not:[0,1],contract_st:[0,1],customer_unid:[0,1],date:0,deduct_amount:[0,1],delet:1,deletecontract:[],deliver_goods_d:[0,1],deliver_id:0,ecod:1,ecot:1,end_check_appendix:1,end_check_d:[0,1],end_dat:1,end_guarantee_d:[0,1],end_quality_d:[0,1],enot:[],exemptions_amount:[0,1],financi:1,first_check_appendix:1,first_check_d:[0,1],foreign_kei:0,get:1,goods_check_d:[0,1],goods_sign_appendix:1,goodsl_check_d:1,header:1,index:3,is_end_check:[0,1],is_fil:[0,1],is_first_check:[0,1],is_reback:[0,1],json:1,leave_amount_point:1,limit:1,list_data:1,list_payment_data:1,list_reback_data:1,list_receipt_data:1,list_siz:1,location_area:[0,1],location_c:[0,1],location_provinc:[0,1],modul:3,month:[0,1],oa_flow_id:[0,1],offset:1,over_days_unid:[0,1],overdays_point:1,page:3,path:1,payment_agree_d:[0,1],payment_amount:[0,1],payment_id:[0,1],payment_period_numb:[],payment_period_st:[0,1],payment_propor:[0,1],payment_requir:[0,1],post:1,product_line_typ:[0,1],project_id:0,project_unid:[0,1],put:[],quality_cycl:[0,1],quality_start_point:[0,1],querybycondit:[],querycontract:[],querycontractlist:[],reback_d:[0,1],reback_not:[0,1],reback_propor:[0,1],receipt_amount:[0,1],receipt_id:[0,1],receipt_not:[0,1],receipt_progress:[],receipt_propor:[0,1],request:1,respons:1,return_id:[0,1],salesperson_unid:[0,1],search:3,select:[],sign_dat:[0,1],start_dat:1,start_guarantee_d:[0,1],start_quality_d:[0,1],stop_amount:[0,1],string:0,tb_appendix:0,tb_contract:0,tb_deliver_good:0,tb_payment_agre:0,tb_project_check:0,tb_receipt:0,tb_return_info:0,text:0,total_dai:[0,1],total_leave_amount:[0,1],total_numb:1,total_reback_amount:[0,1],total_receipt_amount:[0,1],total_receive_amount:[0,1],type:1,updat:[],updatecontract:[],verb:1,xxxx:1,year:[0,1]},titles:["1. \u6570\u636e\u5e93\u8bbe\u8ba1","2. \u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1http\u63a5\u53e3","3. \u4fee\u8ba2\u5386\u53f2","\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1\u8bbe\u8ba1"],titleterms:{"\u4ed8\u6b3e\u7ea6\u5b9a\u8868":0,"\u4fee\u6539\u9500\u552e\u5408\u540c":1,"\u4fee\u8ba2\u5386\u53f2":2,"\u5220\u9664\u9500\u552e\u5408\u540c":1,"\u53d1\u8d27\u4fe1\u606f\u8868":0,"\u5408\u540c\u56de\u6b3e\u4fe1\u606f\u8868":0,"\u5408\u540c\u5f00\u7968\u4fe1\u606f\u8868":0,"\u5408\u540c\u8868":[],"\u589e\u52a0\u9500\u552e\u5408\u540c":1,"\u5bfc\u51fa\u8868\u683c":1,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u8868":0,"\u6570\u636e\u5e93\u8bbe\u8ba1":0,"\u6761\u4ef6\u7b5b\u9009":[],"\u67e5\u770b\u5408\u540c\u5217\u8868":[],"\u67e5\u8be2\u5408\u540c\u5217\u8868":1,"\u67e5\u8be2\u5408\u540c\u8be6\u60c5":1,"\u67e5\u8be2\u9500\u552e\u5408\u540c":[],"\u6839\u636e\u6761\u4ef6\u67e5\u770b\u5408\u540c\u5217\u8868":[],"\u7cbe\u786e\u7b5b\u9009":[],"\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1\u8bbe\u8ba1":3,"\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1http\u63a5\u53e3":1,"\u9500\u552e\u5408\u540c\u8868":0,"\u9644\u4ef6\u8868":0,indic:3,tabl:3}})
\ No newline at end of file
Search.setIndex({docnames:["01-db","02-finance-http","99-history","index"],envversion:53,filenames:["01-db.rst","02-finance-http.rst","99-history.rst","index.rst"],objects:{},objnames:{},objtypes:{},terms:{"1\u4e3a\u521d\u9a8c":[0,1],"2\u4e3a\u7ec8\u9a8c":[0,1],"\u4e3b\u952e":0,"\u4ea4\u901a":1,"\u4ea7\u54c1\u7ebf\u7c7b\u578b":[0,1],"\u4ed8\u6b3e\u6761\u4ef6":[0,1],"\u4ed8\u6b3e\u6bd4\u4f8b":[0,1],"\u4ed8\u6b3e\u7c7b\u578b":[0,1],"\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f\u8868":1,"\u4ed8\u6b3e\u7ea6\u5b9a\u5217\u8868":1,"\u4ed8\u6b3e\u7ea6\u5b9a\u8868":3,"\u4ed8\u6b3e\u8fdb\u5ea6":[0,1],"\u4ed8\u6b3eunid":1,"\u4ed8\u6b3eunid\u6570\u7ec4":1,"\u4f9b\u8d27":1,"\u4fee\u6539\u6210\u529f\u8fd4\u56de\u7801":1,"\u4fee\u6539\u9500\u552e\u5408\u540c":3,"\u4fee\u6539\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":3,"\u4fee\u6539\u9500\u552e\u5408\u540c\u53d1\u8d27\u4fe1\u606f":3,"\u4fee\u6539\u9500\u552e\u5408\u540c\u56de\u6b3e\u4fe1\u606f":3,"\u4fee\u6539\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":3,"\u4fee\u6539\u9500\u552e\u5408\u540c\u5f00\u7968\u4fe1\u606f":3,"\u4fee\u8ba2\u5386\u53f2":3,"\u5220\u9664\u6210\u529f\u8fd4\u56de\u7801":1,"\u5220\u9664\u9500\u552e\u5408\u540c":3,"\u5220\u9664\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":3,"\u5220\u9664\u9500\u552e\u5408\u540c\u53d1\u8d27\u4fe1\u606f":3,"\u5220\u9664\u9500\u552e\u5408\u540c\u56de\u6b3e\u4fe1\u606f":3,"\u5220\u9664\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":3,"\u5220\u9664\u9500\u552e\u5408\u540c\u5f00\u7968\u4fe1\u606f":3,"\u5230\u8d27\u6b3e\u5230\u671f\u65e5":1,"\u5230\u8d27\u6b3e\u91d1\u989d":1,"\u5230\u8d27\u7b7e\u6536\u5355\u9644\u4ef6":1,"\u5230\u8d27\u9a8c\u6536\u65e5\u671f":0,"\u5230\u8d27\u9a8c\u6536\u65f6\u95f4":1,"\u5317\u4eac\u91d1\u6e90\u65f6\u4ee3\u8d2d\u7269\u4e2d\u5fc3\u6709\u9650\u516c\u53f8":1,"\u533a":[0,1],"\u5355\u4f4d\u662f\u6708":0,"\u53d1\u7968\u5907\u6ce8":[0,1],"\u53d1\u7968unid":1,"\u53d1\u7968unid\u6570\u7ec4":1,"\u53d1\u8d27\u4fe1\u606f\u4e3b\u952e":0,"\u53d1\u8d27\u4fe1\u606f\u5217\u8868":1,"\u53d1\u8d27\u4fe1\u606f\u8868":3,"\u53d1\u8d27\u65e5\u671f":0,"\u53d1\u8d27\u65f6\u95f4":1,"\u53d1\u8d27unid":1,"\u53d1\u8d27unid\u6570\u7ec4":1,"\u5408\u540c\u4f59\u989d":1,"\u5408\u540c\u4f59\u989d\u5907\u6ce8":[0,1],"\u5408\u540c\u5220\u9664\u6807\u8bc6":0,"\u5408\u540c\u53d1\u7968\u4fe1\u606f\u8868":1,"\u5408\u540c\u53d1\u8d27\u4fe1\u606f\u8868":1,"\u5408\u540c\u56de\u6b3e\u4fe1\u606f\u8868":[1,3],"\u5408\u540c\u5907\u6ce8":[0,1],"\u5408\u540c\u5f00\u7968\u4fe1\u606f\u4e3b\u952e":0,"\u5408\u540c\u5f00\u7968\u4fe1\u606f\u8868":3,"\u5408\u540c\u6027\u8d28":1,"\u5408\u540c\u662f\u5426\u5f52\u6863":1,"\u5408\u540c\u6807\u8bc6":[],"\u5408\u540c\u72b6\u6001":[0,1],"\u5408\u540c\u7c7b\u578b":[0,1],"\u5408\u540c\u7f16\u53f7":[0,1],"\u5408\u540c\u7f16\u53f7\u8868":3,"\u5408\u540c\u91d1\u989d":[0,1],"\u5408\u540c\u91d1\u989d\u5907\u6ce8":[0,1],"\u5408\u540c\u9644\u4ef6":1,"\u5408\u540c\u9644\u4ef6unid":1,"\u5408\u540cid":0,"\u5408\u540cunid":1,"\u5408\u540curl":1,"\u5426":0,"\u5434\u65ed":1,"\u552f\u4e00":0,"\u56de\u6b3e\u4fe1\u606f\u5217\u8868":1,"\u56de\u6b3e\u5907\u6ce8":[0,1],"\u56de\u6b3e\u65f6\u95f4":[0,1],"\u56de\u6b3e\u6bd4\u4f8b":1,"\u56de\u6b3e\u8fdb\u5ea6":[0,1],"\u56de\u6b3eunid":1,"\u56de\u6b3eunid\u6570\u7ec4":1,"\u574f\u8d26\u91d1\u989d":[0,1],"\u574f\u8d26\u91d1\u989d\u5907\u6ce8":[0,1],"\u589e\u52a0\u6210\u529f\u8fd4\u56de\u7801":1,"\u589e\u52a0\u9500\u552e\u5408\u540c":3,"\u589e\u52a0\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":3,"\u589e\u52a0\u9500\u552e\u5408\u540c\u53d1\u8d27\u4fe1\u606f":3,"\u589e\u52a0\u9500\u552e\u5408\u540c\u56de\u6b3e\u4fe1\u606f":3,"\u589e\u52a0\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":3,"\u589e\u52a0\u9500\u552e\u5408\u540c\u5f00\u7968\u4fe1\u606f":3,"\u5929\u6570":[0,1],"\u5b57\u6bb5\u540d\u79f0":0,"\u5b89\u9632":1,"\u5b8c\u6210\u6982\u8ff0":2,"\u5b9e\u9645\u56de\u6b3e\u6570\u989d":[0,1],"\u5ba2\u6237\u540d\u79f0":[0,1],"\u5ba2\u6237\u8868":3,"\u5ba2\u6237id":0,"\u5ba2\u6237unid":1,"\u5ba2\u6d41":1,"\u5bfc\u51fa\u8868\u683c":3,"\u5c0f\u6570\u70b9\u4fdd\u7559\u4e24\u4f4d":1,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u4e3b\u952e":0,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u5217\u8868":1,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u8868":[1,3],"\u5de5\u7a0b\u9a8c\u6536unid":1,"\u5de5\u7a0bid":1,"\u5df2\u5b8c\u6210":1,"\u5e10\u6b3e\u72b6\u6001":1,"\u5e94\u6536\u8d26\u6b3e\u4f59\u989d":1,"\u5f00\u7968\u4fe1\u606f\u5217\u8868":1,"\u5f00\u7968\u5907\u6ce8":1,"\u5f00\u7968\u65e5\u671f":0,"\u5f00\u7968\u65f6\u95f4":1,"\u5f00\u7968\u6b21\u6570":1,"\u5f00\u7968\u6bd4\u4f8b":1,"\u5f00\u7968\u8fdb\u5ea6":[0,1],"\u5f00\u7968\u91d1\u989d":[0,1],"\u5f85\u53d1\u8d27":1,"\u603b\u7684\u6570\u636e\u91cf":1,"\u6240\u5728\u53bf":1,"\u6240\u5728\u5e02":1,"\u6240\u5728\u7701\u4efd":1,"\u6240\u5c5e\u5e74\u4efd":1,"\u6240\u5c5e\u6708\u4efd":1,"\u6298\u6263\u91d1\u989d":1,"\u62b5\u6263\u91d1\u989d":[0,1],"\u6570\u636e\u5217\u8868":1,"\u6570\u636e\u5e93\u4e24\u90e8\u5206\u7684\u8bbe\u8ba1":2,"\u6570\u636e\u5e93\u8bbe\u8ba1":3,"\u6587\u672c":1,"\u65b0\u589e\u6210\u529f\u8fd4\u56de\u7801":1,"\u65bd\u5de5":1,"\u65bd\u5de5\u4e2d":1,"\u65e0":1,"\u662f":0,"\u662f\u5426\u5f52\u6863":[0,1],"\u662f\u5426\u5fc5\u586b":0,"\u662f\u5426\u7ec8\u9a8c":1,"\u6682\u505c\u91d1\u989d":[0,1],"\u6708\u4efd":1,"\u672c\u671f\u5e94\u4ed8\u6b3e\u65e5\u671f":1,"\u672c\u671f\u5e94\u4ed8\u91d1\u989d":1,"\u672c\u6b21\u8fd4\u56de\u7684\u5217\u8868\u6570\u91cf":1,"\u672c\u6b21\u8fd4\u56de\u7684\u8d77\u59cb\u7d22\u5f15":1,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":3,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u53d1\u8d27\u4fe1\u606f":3,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u56de\u6b3e\u4fe1\u606f":3,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":3,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u5f00\u7968\u4fe1\u606f":3,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u8be6\u60c5":3,"\u67e5\u8be2\u5408\u540c\u5217\u8868":3,"\u67e5\u8be2\u5408\u540c\u7f16\u53f7":3,"\u67e5\u8be2\u9879\u76ee\u8868":3,"\u67e5\u8be2\u987e\u5ba2\u8868":3,"\u6b65\u957f\u4e3a6":1,"\u6bcf\u9875\u663e\u793a\u7684\u6570\u91cf":1,"\u6ca7\u5dde\u5e02":1,"\u6cb3\u5317\u7701":1,"\u732e\u53bf":1,"\u76ee\u5f55":3,"\u786e\u5b9a\u6536\u5165\u91d1\u989d":[0,1],"\u7b2c\u4e00\u7248":2,"\u7b7e\u8ba2\u65e5\u671f":1,"\u7b7e\u8ba2\u65f6\u95f4":[0,1],"\u7c7b\u578b":0,"\u7d2f\u8ba1\u56de\u6b3e\u989d":1,"\u7d2f\u8ba1\u56de\u6b3e\u989d\u5907\u6ce8":[0,1],"\u7d2f\u8ba1\u5df2\u6536\u6b3e":1,"\u7d2f\u8ba1\u5e94\u6536":1,"\u7d2f\u8ba1\u5e94\u6536\u6b3e":1,"\u7d2f\u8ba1\u5f00\u7968\u91d1\u989d":1,"\u7ed3\u675f\u65f6\u95f4":1,"\u7ef4\u4fdd":1,"\u7ef4\u4fdd\u670d\u52a1\u671f\u5f00\u59cb\u65f6\u95f4":[0,1],"\u7ef4\u4fdd\u670d\u52a1\u671f\u7ed3\u675f\u65f6\u95f4":[0,1],"\u82e5\u6709\u9644\u4ef6\u4e0a\u4f20\u8be5\u5b57\u6bb5":1,"\u82e5\u6709\u9644\u4ef6\u4e0a\u4f20\u8be5\u5b57\u6bb5\u5fc5\u4f20":1,"\u884c\u9009\u62e9":0,"\u8868\u540d":0,"\u8bbe\u7f6e\u5e94\u6536\u8d26\u6b3e\u4f59\u989d\u67e5\u8be2\u8282\u70b9":1,"\u8bbe\u7f6e\u5f00\u59cb\u65f6\u95f4":1,"\u8bbe\u7f6e\u7ed3\u675f\u65f6\u95f4":1,"\u8bbe\u7f6e\u903e\u671f\u5929\u6570\u67e5\u8be2\u8282\u70b9":1,"\u8bbe\u7f6e\u91d1\u989d\u67e5\u8be2\u8282\u70b9":1,"\u8bf4\u660e":0,"\u8c41\u514d\u91d1\u989d":[0,1],"\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1http\u63a5\u53e3":3,"\u8d26\u6b3e\u72b6\u6001":[0,1],"\u8d28\u4fdd\u5468\u671f":[0,1],"\u8d28\u4fdd\u671f\u5f00\u59cb\u65f6\u95f4":[0,1],"\u8d28\u4fdd\u671f\u5f00\u59cb\u8282\u70b9":[0,1],"\u8d28\u4fdd\u671f\u7ed3\u675f\u65f6\u95f4":1,"\u8d28\u4fdd\u91d1\u989d":1,"\u8d77\u59cb\u4f4d\u7f6e":1,"\u8fd4\u56de\u8bf4\u660e":1,"\u8fdb\u884c\u9009\u62e9":0,"\u9009\u62e9":0,"\u901a\u8fc7code\u670d\u52a1":0,"\u901a\u8fc7code\u670d\u52a1\u8fdb":0,"\u901a\u8fc7code\u670d\u52a1\u8fdb\u884c":0,"\u901a\u8fc7code\u670d\u52a1\u8fdb\u884c\u67e5\u8be2":1,"\u901a\u8fc7code\u670d\u52a1\u8fdb\u884c\u9009\u62e9":1,"\u903e\u671f\u5929\u6570":1,"\u91d1\u6e90\u65f6\u4ee3\u5ba2\u6d41\u9879\u76ee":1,"\u9500\u552e\u5408\u540c":3,"\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a":3,"\u9500\u552e\u5408\u540c\u53d1\u8d27":3,"\u9500\u552e\u5408\u540c\u56de\u6b3e":3,"\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536":3,"\u9500\u552e\u5408\u540c\u5f00\u7968":3,"\u9500\u552e\u5408\u540c\u8868":3,"\u9500\u552e\u5458":1,"\u9500\u552e\u5458\u540d\u79f0":1,"\u9500\u552e\u5458id":0,"\u9500\u552e\u5458unid":1,"\u9644\u4ef6\u4e0b\u8f7d\u5730\u5740":0,"\u9644\u4ef6\u4e3b\u952e":0,"\u9644\u4ef6\u5217\u8868":1,"\u9644\u4ef6\u5217\u8868\u96c6\u5408":1,"\u9644\u4ef6\u6587\u4ef6\u540d":0,"\u9644\u4ef6\u7c7b\u578b":0,"\u9644\u4ef6\u8868":3,"\u9644\u4ef6id":[0,1],"\u9644\u4ef6unid":1,"\u9644\u4ef6url":1,"\u9650\u5236":0,"\u96c6\u6210":1,"\u9879\u76ee\u5217\u8868\u96c6\u5408":1,"\u9879\u76ee\u540d\u79f0":[0,1],"\u9879\u76ee\u6240\u5728\u53bf":1,"\u9879\u76ee\u6240\u5728\u5730\u7684\u53bf":0,"\u9879\u76ee\u6240\u5728\u5730\u7684\u53bf\u6216\u533a":1,"\u9879\u76ee\u6240\u5728\u5730\u7684\u5e02":0,"\u9879\u76ee\u6240\u5728\u5730\u7684\u5e02\u533a":1,"\u9879\u76ee\u6240\u5728\u5730\u7684\u7701\u4efd":[0,1],"\u9879\u76ee\u6240\u5728\u5e02":1,"\u9879\u76ee\u6240\u5728\u7701":1,"\u9879\u76ee\u6682\u505c":1,"\u9879\u76ee\u8868":3,"\u9879\u76eeid":[0,1],"\u9879\u76eeunid":1,"\u987e\u5ba2\u5217\u8868\u96c6\u5408":1,"\u987e\u5ba2\u540d\u79f0":1,"\u987e\u5ba2id":1,"\u9884\u4ed8\u6b3e\u5230\u671f\u65e5":1,"\u9884\u4ed8\u6b3e\u91d1\u989d":1,"\u9a8c\u6536\u5907\u6ce8":[0,1],"\u9a8c\u6536\u65e5\u671f":1,"\u9a8c\u6536\u65f6\u95f4":[0,1],"\u9a8c\u6536\u6b3e\u5230\u671f\u65e5":1,"\u9a8c\u6536\u6b3e\u91d1\u989d":1,"\u9a8c\u6536\u7c7b\u578b":[0,1],"\u9a8c\u6536unid":1,"\u9a8c\u6536unid\u6570\u7ec4":1,"export":1,"float":0,"int":0,"oa\u6d41\u6c34\u53f7":[0,1],account_st:[],account_state_unid:1,actual_reback_amount:[0,1],advance_payment_amount:1,advance_payment_d:1,amount_point:1,amount_state_unid:[0,1],api:1,appendix_list:1,appendix_nam:0,appendix_typ:0,appendix_unid:[0,1],appendix_url:[0,1],applic:1,area:1,arrival_amount:1,arrival_amount_d:1,arrival_goods_amount:[],bad_amount:[0,1],bad_amount_not:[0,1],bodi:1,bool:0,check:1,check_amount:1,check_amount_d:1,check_dat:[0,1],check_not:[0,1],check_typ:[0,1],check_unid:[0,1],citi:[0,1],code:1,confirm_income_amount:[0,1],constract_unid:1,content:1,contract:1,contract_amount:[0,1],contract_amount_not:[0,1],contract_cod:1,contract_natur:1,contract_not:[0,1],contract_remain:1,contract_remain_not:[0,1],contract_st:[0,1],contract_typ:[0,1],contract_unid:[0,1],counti:[0,1],create_d:[0,1],custom:1,customer_list:1,customer_nam:[0,1],customer_name__lik:1,customer_unid:[0,1],dai:[0,1],date:0,deduct_amount:[0,1],delet:1,deliv:1,deliver_goods_d:[0,1],deliver_id:[],deliver_unid:[0,1],ecod:1,end_dat:1,end_guarantee_d:[0,1],enot:1,exemptions_amount:[0,1],financi:1,first_check_d:1,get:1,goods_check_d:[0,1],goods_sign_appendix:1,guarantee_period:[0,1],header:1,http:1,index:3,is_arch:[0,1],is_delet:0,is_end_check:1,json:1,leave_amount_point:1,limit:1,list_check_data:1,list_data:1,list_deliver_data:1,list_payment_data:1,list_reback_data:1,list_receipt_data:1,list_siz:1,mainten_amount:1,mainten_end_d:1,mainten_start_d:[0,1],mainten_start_point:[0,1],modul:3,month:1,oa_flow_id:[0,1],offset:1,over_dai:1,overdays_point:1,page:3,path:1,payment:1,payment_amount:1,payment_d:1,payment_progress:[0,1],payment_propor:[0,1],payment_requir:[0,1],payment_typ:[0,1],payment_unid:[0,1],pdf:1,post:1,product_line_typ:[0,1],project:1,project_list:1,project_nam:[0,1],project_name__lik:1,project_unid:[0,1],provinc:[0,1],put:1,quality_start_point:[],reback:1,reback_amount:[],reback_d:[0,1],reback_not:[0,1],reback_progress:[0,1],reback_propor:1,reback_unid:[0,1],receipt:1,receipt_amount:[0,1],receipt_id:[],receipt_not:[0,1],receipt_progress:[0,1],receipt_propor:1,receipt_unid:[0,1],remain_amount:[],request:1,respons:1,salesperson_nam:1,salesperson_name__lik:1,salesperson_unid:[0,1],search:3,sign_dat:[0,1],start_dat:1,start_guarantee_d:[0,1],stop_amount:[0,1],string:0,tb_appendix:0,tb_contract:0,tb_contract_cod:0,tb_custom:0,tb_deliver_good:0,tb_payment_agre:0,tb_project:0,tb_project_check:0,tb_receipt:0,tb_return_info:0,text:0,total_amount_remain:1,total_numb:1,total_reback_amount:1,total_receipt_amount:1,total_receive_amount:1,type:1,verb:1,xxxx:1,year:1},titles:["1. \u6570\u636e\u5e93\u8bbe\u8ba1","2. \u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1http\u63a5\u53e3","3. \u4fee\u8ba2\u5386\u53f2","\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1\u8bbe\u8ba1"],titleterms:{"\u4ed8\u6b3e\u7ea6\u5b9a\u8868":0,"\u4fee\u6539\u9500\u552e\u5408\u540c":1,"\u4fee\u6539\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":1,"\u4fee\u6539\u9500\u552e\u5408\u540c\u53d1\u8d27\u4fe1\u606f":1,"\u4fee\u6539\u9500\u552e\u5408\u540c\u56de\u6b3e\u4fe1\u606f":1,"\u4fee\u6539\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":1,"\u4fee\u6539\u9500\u552e\u5408\u540c\u5f00\u7968\u4fe1\u606f":1,"\u4fee\u8ba2\u5386\u53f2":2,"\u5220\u9664\u9500\u552e\u5408\u540c":1,"\u5220\u9664\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":1,"\u5220\u9664\u9500\u552e\u5408\u540c\u53d1\u8d27\u4fe1\u606f":1,"\u5220\u9664\u9500\u552e\u5408\u540c\u56de\u6b3e\u4fe1\u606f":1,"\u5220\u9664\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":1,"\u5220\u9664\u9500\u552e\u5408\u540c\u5f00\u7968\u4fe1\u606f":1,"\u53d1\u8d27\u4fe1\u606f\u8868":0,"\u5408\u540c\u56de\u6b3e\u4fe1\u606f\u8868":0,"\u5408\u540c\u5f00\u7968\u4fe1\u606f\u8868":0,"\u5408\u540c\u7f16\u53f7\u8868":0,"\u589e\u52a0\u9500\u552e\u5408\u540c":1,"\u589e\u52a0\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":1,"\u589e\u52a0\u9500\u552e\u5408\u540c\u53d1\u8d27\u4fe1\u606f":1,"\u589e\u52a0\u9500\u552e\u5408\u540c\u56de\u6b3e\u4fe1\u606f":1,"\u589e\u52a0\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":1,"\u589e\u52a0\u9500\u552e\u5408\u540c\u5f00\u7968\u4fe1\u606f":1,"\u5ba2\u6237\u8868":0,"\u5bfc\u51fa\u8868\u683c":1,"\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f\u8868":0,"\u6570\u636e\u5e93\u8bbe\u8ba1":0,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a\u4fe1\u606f":1,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u53d1\u8d27\u4fe1\u606f":1,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u56de\u6b3e\u4fe1\u606f":1,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u5de5\u7a0b\u9a8c\u6536\u4fe1\u606f":1,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u5f00\u7968\u4fe1\u606f":1,"\u67e5\u8be2\u5177\u4f53\u5408\u540c\u8be6\u60c5":1,"\u67e5\u8be2\u5408\u540c\u5217\u8868":1,"\u67e5\u8be2\u5408\u540c\u7f16\u53f7":1,"\u67e5\u8be2\u9879\u76ee\u8868":1,"\u67e5\u8be2\u987e\u5ba2\u8868":1,"\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1\u8bbe\u8ba1":3,"\u8d22\u52a1\u8fdb\u5ea6\u670d\u52a1http\u63a5\u53e3":1,"\u9500\u552e\u5408\u540c":1,"\u9500\u552e\u5408\u540c\u4ed8\u6b3e\u7ea6\u5b9a":1,"\u9500\u552e\u5408\u540c\u53d1\u8d27":1,"\u9500\u552e\u5408\u540c\u56de\u6b3e":1,"\u9500\u552e\u5408\u540c\u5de5\u7a0b\u9a8c\u6536":1,"\u9500\u552e\u5408\u540c\u5f00\u7968":1,"\u9500\u552e\u5408\u540c\u8868":0,"\u9644\u4ef6\u8868":0,"\u9879\u76ee\u8868":0,indic:3,tabl:3}})
\ No newline at end of file
......@@ -9,32 +9,23 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| contract_code | *是* | string | <=32 | 是 | 合同编号(主键),通过 |
| | | | | | code服务进行选择 |
| contract_unid | *是* | FK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| salesperson_unid | *是* | string | <=32 | 否 | 销售员,通过code服 |
| | | | | | 务进行选择 |
| salesperson_unid | *是* | FK | <=32 | 否 | 销售员id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| project_unid | *是* | string | <=32 | 否 | 项目名称,通过code服务 |
| | | | | | 进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| customer_unid | *是* | string | <=32 | 否 | 客户名称,通过code服务 |
| | | | | | 进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| location_province | *是* | string | <=32 | 否 | 项目所在地的省份 |
| project_unid | *是* | FK | <=32 | 否 | 项目id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| location_city | *是* | string | <=32 | 否 | 项目所在地的市 |
| customer_unid | *是* | FK | <=32 | 否 | 客户id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| location_area | *是* | string | <=32 | 否 | 项目所在地的县(区) |
| province | *是* | string | <=32 | 否 | 项目所在地的省份 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| quality_cycle | *是* | int | <=16 | 否 | 质保周期,通过code服务进 |
| | | | | | 行选择 |
| city | *是* | string | <=32 | 否 | 项目所在地的市 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| sign_date | *是* | date | <=16 | 否 | 签订时间 |
| county | *是* | string | <=32 | 否 | 项目所在地的县(区) |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| year | *是* | string | <=4 | 否 | 所属年份 |
| guarantee_period | *是* | int | | 否 | 质保周期,单位是月 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| month | *是* | string | <=2 | 否 | 所属月份 |
| sign_date | *是* | date | | 否 | 签订时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| product_line_type | *是* | string | <=32 | 否 | 产品线类型,通过code服务 |
| | | | | | 进行选择 |
......@@ -42,41 +33,30 @@
| contract_state | *是* | string | <=32 | 否 | 合同状态,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_nature | *是* | string | <=32 | 否 | 合同性质,通过code服务进 |
| contract_type | *是* | string | <=32 | 否 | 合同类型,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount | *是* | float | <=24 | 否 | 合同金额 |
| contract_amount | *是* | float | | 否 | 合同金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| deduct_amount | *是* | float | <=24 | 否 | 抵扣金额 |
| deduct_amount | *是* | float | | 否 | 抵扣金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount_note | *否* | text | | 否 | 合同金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_reback_amount | *是* | float | <=24 | 否 | 累计回款额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| stop_amount | *是* | float | <=24 | 否 | 暂停金额 |
| stop_amount | *是* | float | | 否 | 暂停金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_note | *否* | text | | 否 | 累计回款额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_remaining | *是* | float | <=24 | 否 | 合同余额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| exemptions_amount | *是* | float | <=24 | 否 | 豁免金额 |
| exemptions_amount | *是* | float | | 否 | 豁免金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_remain_note | *否* | text | | 否 | 合同余额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_file | *是* | bool | | 否 | 是否归档,通过code服务进 |
| | | | | | 行选择 |
| is_archive | *是* | bool | | 否 | 是否归档 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount | *是* | float | <=24 | 否 | 坏账金额 |
| bad_amount | *是* | float | | 否 | 坏账金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount_note | *否* | text | | 否 | 坏账金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_receive_amount | *是* | float | <=24 | 否 | 累计应收款 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_leave_amount | *是* | float | <=24 | 否 | 应收账款余额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| over_days_unid | *是* | int | <=16 | 否 | 逾期天数 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| confirm_income_amount | *是* | float | <=24 | 否 | 确定收入金额 |
| confirm_income_amount | *是* | float | | 否 | 确定收入金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| amount_state_unid | *是* | string | <=32 | 否 | 账款状态,通过code服务进行|
| | | | | | 选择 |
......@@ -85,15 +65,15 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_guarantee_date | *是* | date | | 否 | 维保服务期结束时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| quality_start_point | *是* | string | <=32 | 否 | 质保期开始节点 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| start_quality_date | *是* | date | | 否 | 质保期开始时间 |
| mainten_start_point | *是* | string | <=32 | 否 | 质保期开始节点 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_quality_date | *是* | date | | 否 | 质保期结束时间 |
| mainten_start_date | *是* | date | | 否 | 质保期开始时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_note | *否* | text | | 否 | 合同备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_identify | *否* | bool | | 否 | 合同标识 |
| is_delete | *是* | bool | | 否 | 合同删除标识 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -105,27 +85,24 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| payment_id | *是* | string | <=32 | 是 | 主键 |
| payment_unid | *是* | PK | <=32 | 是 | 主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | String | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_period_state | *是* | string | <=10 | 否 | 合同状态,通过code服务进 |
| payment_type | *是* | string | <=32 | 否 | 付款类型,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_days | *是* | int | <=32 | 否 | 天数 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_agree_date | *是* | date | | 否 | 应付款日期 |
| payment_progress | *是* | int | | 否 | 付款进度 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_amount | *是* | float | <=16 | 否 | 应付金额 |
| days | *是* | int | | 否 | 天数 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_propority | *是* | float | <=16 | 否 | 付款比例,通过code服务进 |
| | | | | | 行选择 |
| payment_propority | *是* | float | | 否 | 付款比例 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| payment_requirement | ** | text | | 否 | 付款条件 |
| payment_requirement | ** | text | | 否 | 付款条件 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
合同回款信息表
++++++++++++++++++
......@@ -134,16 +111,15 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| return_id | *是* | string | <=32 | 是 | 主键 |
| reback_unid | *是* | PK | <=32 | 是 | 主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_date | *是* | date | | 否 | 回款时间 |
| reback_progress | *是* | int | | 否 | 回款进度 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| actual_reback_amount | *是* | float | <=24 | 否 | 实际回款数额 |
| reback_date | *是* | date | | 否 | 回款时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_propority | *是* | float | <=24 | 否 | 回款比例 |
| actual_reback_amount | *是* | float | | 否 | 实际回款数额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_note | *否* | text | | 否 | 回款备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -157,22 +133,19 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| receipt_id | *是* | string | <=32 | 是 | 合同开票信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| receipt_unid | *是* | PK | <=32 | 是 | 合同开票信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| receipt_amount | *是* | float | <=24 | 否 | 开票金额 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| oa_flow_id | *是* | int | <=32 | 否 | oa流水号 |
| receipt_progress | *是* | int | | 否 | 开票进度 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| receipt_propority | *是* | float | <=24 | 否 | 开票比例 |
| receipt_amount | *是* | float | | 否 | 开票金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| total_receipt_amount | *是* | float | <=24 | 否 | 累计开票金额 |
| oa_flow_id | *是* | string | <=32 | 否 | oa流水号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_reback | *否* | bool | | 否 | 是否回款 |
| receipt_note | *否* | text | | 否 | 发票备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| receipt_note | *是* | text | | 否 | 发票备注 |
| create_date | *是* | date | | 否 | 开票日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -184,14 +157,15 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| deliver_id | *是* | string | <=32 | 是 | 发货信息主键 |
| deliver_unid | *是* | PK | <=32 | 是 | 发货信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| deliver_goods_date | *是* | date | | 否 | 发货时间 |
| deliver_goods_date | *是* | date | | 否 | 发货日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| goods_check_date | *是* | date | | 否 | 到货验收时间 |
| goods_check_date | *是* | date | | 否 | 到货验收日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......@@ -203,21 +177,18 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| project_id | *是* | string | <=32 | 是 | 工程验收信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_code | *是* | string | <=32 | 否 | 合同编号,通过code服务进 |
| | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_first_check | *是* | bool | | 否 | 是否是初验 |
| check_unid | *是* | PK | <=32 | 是 | 工程验收信息主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| first_check_date | *是* | date | | 否 | 初验时间 |
| contract_unid | *是* | FK | <=32 | 否 | 合同编号 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_end_check | *是* | bool | | 否 | 是否是终验 |
| check_type | *是* | string | <=32 | 否 | 验收类型(1为初验、2为终验|
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_check_date | *否* | date | | 否 | 终验时间 |
| check_date | *是* | date | | 否 | 验收时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| check_note | *否* | text | | 否 | 验收备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
附件表
......@@ -228,11 +199,54 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| appendix_id | *是* | string | <=32 | 是 | 附件主键 |
| appendix_unid | *是* | PK | <=32 | 是 | 附件主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_name | *是* | string | <=255 | 否 | 附件文件名 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_type | *是* | string | <=32 | 否 | 附件类型 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_url | *是* | string | <=255 | 否 | 附件下载地址 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
合同编号表
++++++++++++
表名:tb_contract_code
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| contract_unid | *是* | PK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
项目表
++++++++++++
表名:tb_project
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| project_unid | *是* | PK | <=32 | 是 | 项目id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| foreign_key | *是* | string | | 是 | 合同及子表的主键 |
| project_name | *是* | string | <=255 | 是 | 项目名称 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_type | *是* | string | | 是 | 附件类型 |
客户表
++++++++++++
表名:tb_customer
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_url | *是* | string | | 否 | 附件下载地址 |
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| customer_unid | *是* | PK | <=32 | 是 | 客户id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| customer_name | *是* | string | <=255 | 是 | 客户名称 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
\ No newline at end of file
财务进度服务http接口
=======================
销售合同
^^^^^^^^^^^^^^^^^^^
增加销售合同
^^^^^^^^^^^^^^^
*************
| Verb: POST
| Path: /api/v1/financial/contract
......@@ -13,91 +16,603 @@
.. code-block:: python
{
"constract_code"":"2018-079", #合同编号,选择
"salesperson_unid":"吴旭", #销售员id,选择
"project_unid":"金源时代客流项目", #项目名称,选择
"customer_unid":"北京金源时代购物中心有限公司", #客户名称,选择
"location_province":"河北省", #项目所在地的省份
"location_city":"沧州市", #项目所在地的市区
"location_area":"献县", #项目所在地的县或区
"quality_cycle":"6/12/.../60", #质保周期,月份,步长为6
"constract_unid":"2018-079", #合同unid
"salesperson_unid":"xxxx", #销售员unid
"project_unid":"xxxx", #项目unid
"customer_unid":"xxxx", #客户unid
"province":"河北省", #项目所在地的省份
"city":"沧州市", #项目所在地的市区
"county":"献县", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态,通过code服务进行查询
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间
"contract_note":"xxxx", #合同备注
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段)
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同详情
******************
| Verb: GET
| Path: /api/v1/financial/contract/{contract_unid}
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"salesperson_unid":"1234", #销售员unid
"salesperson_name":"吴旭", #销售员名称
"project_unid":"12321", #项目unid
"project_name":"金源时代客流项目", #项目名称
"customer_unid":"1234", #客户unid
"customer_name":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在地的省份
"city":"沧州市", #项目所在地的市区
"county":"献县", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"total_reback_amount":"xxxx", #累计回款额
"contract_amount_note":"xxxx", #合同金额备注,文本
"total_reback_amount":"133000.00", #累计回款额,小数点保留两位
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"contract_remaining":"xxxx", #合同余额,小数点保留两位
"contract_remain":"xxxx", #合同余额
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_file":"xxxx", #是否归档
"is_archive":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位
"total_leave_amount":"xxxx", #应收账款余额,小数点保留两位
"over_days_unid":"176", #逾期天数
"total_amount_remain":"xxxx", #应收账款余额
"over_days":"xxxx", #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间
"mainten_end_date":"xxxx", #质保期结束时间
"contract_note":"xxxx", #合同备注
"appendix_url":"xxxx", #合同url
}
修改销售合同
**************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"salesperson_unid":"xxxx", #销售员unid
"project_unid":"xxxx", #项目unid
"customer_unid":"xxxx", #客户unid
"province":"河北省", #项目所在地的省份
"city":"沧州市", #项目所在地的市区
"county":"献县", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同类型,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"quality_start_point":"xxxx", #质保期开始节点
"start_quality_date":"xxxx", #质保期开始时间
"end_quality_date":"xxxx", #质保期结束时间
"mainten_start_point":"xxxx", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间
"contract_note":"xxxx", #合同备注
"contract_appendix":"xxxx", #合同附件
"list_payment_data": #付款约定数据列表
"appendix_unid":"xxxx", #合同附件unid
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同
****************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同付款约定
^^^^^^^^^^^^^^^^^^^^^
增加销售合同付款约定信息
**************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_payment_data": #付款约定信息表
[
{
"payment_progress":"xxxx", #付款进度(1,2,3,4)
"payment_type":"xxxx", #付款类型,通过code服务进行选择
"days":"xxxx", #天数
"payment_propority":"xxxx", #付款比例
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同付款约定信息
***************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_payment_data": #付款约定列表
[
{
"payment_id":"xxxx", #付款约定表主键
"payment_period_state":"xxxx", #合同期数的状态
"total_days":"xxxx", #天数
"payment_agree_date":"xxxx", #应付款日期
"payment_amount":"xxxx", #应付金额
"payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度
"days":"xxxx", #天数
"payment_date":"xxxx", #本期应付款日期
"payment_amount":"xxxx", #本期应付金额
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
},
......
]
}
修改销售合同付款约定信息
******************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_payment_data": #付款约定列表
[
{
"payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度
"days":"xxxx", #天数
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同付款约定信息
*******************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/payment
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"payment_unids": #付款unid数组
[
"payment_unid":"xxxx", #付款unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同回款
^^^^^^^^^^^^^^^^^^^^^^^^^
增加销售合同回款信息
************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:
Response Body:
.. code-block:: python
{
"list_reback_data": #合同回款信息表
[
{
"return_id":"xxxx", #回款信息表主键
"reback_progress ":"xxxx", #回款进度
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_note":"xxxx", #回款备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同回款信息
***********************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_reback_data": #回款信息列表
[
{
"reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度
"reback_date":"xxxx", #回款时间
"reback_propority":"xxxx", #回款比例
"actual_reback_amount":"xxxx", #实际回款数额
"reback_note":"xxxx", #回款备注
},
......
]
"list_receipt_data": #合同开票信息表
}
修改销售合同回款信息
***********************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_reback_data": #回款信息列表
[
{
"reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_note ":"xxxx", #回款备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同回款信息
**************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/reback
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"reback_unids": #回款unid数组
[
"reback_unid":"xxxx", #回款unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同开票
^^^^^^^^^^^^^^^^^^
增加销售合同开票信息
****************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_receipt_data": #合同发票信息表
[
{
"receipt_progress":"xxxx", #开票进度
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_note":"xxxx", #发票备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"enote":"OK" #返回说明
}
查询具体合同开票信息
****************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_receipt_data": #开票信息列表
[
{
"receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票次数
"oa_flow_id ":"xxxx", #oa流水号
"receipt_amount":"xxxx", #开票金额
"total_receipt_amount":"xxxx", #累计开票金额
"receipt_propority":"xxxx", #开票比例
"receipt_note":"xxxx", #开票备注
"create_date":"xxxx", #开票时间
},
......
]
}
修改销售合同开票信息
*********************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_receipt_data": #合同发票信息表
[
{
"receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票进度
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_note":"xxxx", #发票备注
},
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同开票信息
******************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/receipt
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"receipt_unids": #发票unid数组
[
"receipt_unid":"xxxx", #发票unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
销售合同发货
^^^^^^^^^^^^^^^^^^^^^^^^^
增加销售合同发货信息
****************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_deliver_data": #合同发货信息表
[
{
"receipt_id":"xxxx", #开票信息表主键
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_propority":"xxxx", #开票比例
"total_receipt_amount":"xxxx", #累计开票金额
"is_reback":"xxxx", #是否回款
"receipt_note":"xxxx", #发票备注
"deliver_goods_date":"xxxx", #发货时间
"goods_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段
},
......
]
"deliver_goods_date":"xxxx", #发货时间
"goodsl_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"is_first_check":"xxxx", #是否是初验
"first_check_date":"xxxx", #初验时间
"first_check_appendix":"xxxx", #初验附件
"is_end_check":"xxxx", #是否是终验
"end_check_date":"xxxx", #终验时间
"check_note":"xxxx", #验收备注
"end_check_appendix":"xxxx" #终验附件
}
Response Body:
......@@ -105,123 +620,92 @@
.. code-block:: python
{
"ecode":"200", #新增成功返回码
"ecote":"OK" #返回说明
"ecode":"200", #增加成功返回码
"enote":"OK" #返回说明
}
查询合同详情
^^^^^^^^^^^^^^^^^^^^^
查询具体合同发货信息
************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_code}
| Path: /api/v1/financial/contract/{constract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:
Request Body:
Response Body:
.. code-block:: python
{
"constract_code"":"2018-079", #合同编号,选择
"salesperson_unid":"吴旭", #销售员id,选择
"project_unid":"金源时代客流项目", #项目名称,选择
"customer_unid":"北京金源时代购物中心有限公司", #客户名称,选择
"location_province":"河北省", #项目所在地的省份
"location_city":"沧州市", #项目所在地的市区
"location_area":"献县", #项目所在地的县或区
"quality_cycle":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"total_reback_amount":"133000.00", #累计回款额,小数点保留两位
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"contract_remaining":"xxxx", #合同余额,小数点保留两位
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_file":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位
"total_leave_amount":"xxxx", #应收账款余额,小数点保留两位
"over_days_unid":"176", #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"quality_start_point":"xxxx", #质保期开始节点
"start_quality_date":"xxxx", #质保期开始时间
"end_quality_date":"xxxx", #质保期结束时间
"contract_note":"xxxx", #合同备注
"contract_appendix":"xxxx", #合同附件
"list_payment_data": #付款约定数据列表
"list_deliver_data": #发货信息列表
[
{
"payment_id":"xxxx", #付款约定表主键
"payment_period_state":"xxxx", #合同期数的状态
"total_days":"xxxx", #天数
"payment_agree_date":"xxxx", #应付款日期
"payment_amount":"xxxx", #应付金额
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
"deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间
"goods_check_date ":"xxxx", #到货验收时间
"appendix_unid":"xxxx", #附件id
},
......
]
"list_reback_data": #合同回款信息表
[
}
修改销售合同发货信息
************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"return_id":"xxxx", #回款信息表主键
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_propority":"xxxx", #回款比例
"reback_note":"xxxx", #回款备注
},
......
]
"list_receipt_data": #合同开票信息表
"list_deliver_data": #合同发货信息表
[
{
"receipt_id":"xxxx", #开票信息表主键
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_propority":"xxxx", #开票比例
"total_receipt_amount":"xxxx", #累计开票金额
"is_reback":"xxxx", #是否回款
"receipt_note":"xxxx", #发票备注
"deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间
"goods_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段必传
},
......
]
"deliver_goods_date":"xxxx", #发货时间
"goodsl_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"is_first_check":"xxxx", #是否是初验
"first_check_date":"xxxx", #初验时间
"first_check_appendix":"xxxx", #初验附件
"is_end_check":"xxxx", #是否是终验
"end_check_date":"xxxx", #终验时间
"check_note":"xxxx", #验收备注
"end_check_appendix":"xxxx" #终验附件
}
Response Body:
删除销售合同
^^^^^^^^^^^^^^^
.. code-block:: python
{
"ecode":"200", #修改成功返回码
"enote":"OK" #返回说明
}
删除销售合同发货信息
**************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{constract_code}
| Path: /api/v1/financial/contract/{contract_unid}/deliver
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"deliver_unids": #发货unid数组
[
"deliver_unid":"xxxx", #发货unid
......
]
}
Response Body:
......@@ -229,15 +713,19 @@
{
"ecode":"200", #删除成功返回码
"ecote":"OK" #返回说明
"enote":"OK" #返回说明
}
修改销售合同
^^^^^^^^^^^^^^^
销售合同工程验收
^^^^^^^^^^^^^^^^^^^^^^^
增加销售合同工程验收信息
******************************
| Verb: POST
| Path: /api/v1/financial/contract/{constract_code}
| Path: /api/v1/financial/contract/{constract_unid}/check
| Header: (Content-Type: application/json)
Request Body:
......@@ -245,91 +733,87 @@
.. code-block:: python
{
"constract_code"":"2018-079", #合同编号,选择
"salesperson_unid":"吴旭", #销售员id,选择
"project_unid":"金源时代客流项目", #项目名称,选择
"customer_unid":"北京金源时代购物中心有限公司", #客户名称,选择
"location_province":"河北省", #项目所在地的省份
"location_city":"沧州市", #项目所在地的市区
"location_area":"献县", #项目所在地的县或区
"quality_cycle":"6/12/.../60", #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本
"total_reback_amount":"133000.00", #累计回款额,小数点保留两位
"stop_amount":"xxxx", #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本
"contract_remaining":"xxxx", #合同余额,小数点保留两位
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注
"is_file":"xxxx", #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位
"total_leave_amount":"xxxx", #应收账款余额,小数点保留两位
"over_days_unid":"176", #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间
"quality_start_point":"xxxx", #质保期开始节点
"start_quality_date":"xxxx", #质保期开始时间
"end_quality_date":"xxxx", #质保期结束时间
"contract_note":"xxxx", #合同备注
"contract_appendix":"xxxx", #合同附件
"list_payment_data": #付款约定数据列表
"list_check_data":
[
{
"payment_id":"xxxx", #付款约定表主键
"payment_period_state":"xxxx", #合同期数的状态
"total_days":"xxxx", #天数
"payment_agree_date":"xxxx", #应付款日期
"payment_amount":"xxxx", #应付金额
"payment_propority":"xxxx", #付款比例
"payment_requirement":"xxxx", #付款条件
},
......
"check_type":"xxxx", #验收类型(1为初验、2为终验
"check_date":"xxxx", #验收时间
"check_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表
}
]
"list_reback_data": #合同回款信息表
}
Response Body:
.. code-block:: python
{
"ecode":"200", #增加成功返回码
"enote":"OK" #返回说明
}
查询具体合同工程验收信息
**************************
| Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/check
| Header: (Content-Type: application/json)
Request Body:无
Response Body:
.. code-block:: python
{
"list_check_data": #工程验收信息列表
[
{
"return_id":"xxxx", #回款信息表主键
"reback_date":"xxxx", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额
"reback_propority":"xxxx", #回款比例
"reback_note":"xxxx", #回款备注
"check_unid":"xxxx", #工程id
"check_type":"xxxx", #验收类型
"check_date":"xxxx", #验收时间
"check_note":"xxxx", #验收备注
"appendix_list": #附件列表集合
[
{
"appendix_unid":"1234", #附件unid
"appendix_url":"http://xxxx.pdf" #附件url
}
...
]
},
......
]
"list_receipt_data": #合同开票信息表
}
修改销售合同工程验收信息
*******************************
| Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/check
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"list_check_data": #工程验收信息表
[
{
"receipt_id":"xxxx", #开票信息表主键
"receipt_amount":"xxxx", #开票金额
"oa_flow_id":"xxxx", #oa流水号
"receipt_propority":"xxxx", #开票比例
"total_receipt_amount":"xxxx", #累计开票金额
"is_reback":"xxxx", #是否回款
"receipt_note":"xxxx", #发票备注
},
......
"check_unid":"xxxx", #工程验收unid
"check_type":"xxxx", #验收类型(1为初验、2为终验)
"first_check_date":"xxxx", #验收时间
"check_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表
}
]
"deliver_goods_date":"xxxx", #发货时间
"goodsl_check_date":"xxxx", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件
"is_first_check":"xxxx", #是否是初验
"first_check_date":"xxxx", #初验时间
"first_check_appendix":"xxxx", #初验附件
"is_end_check":"xxxx", #是否是终验
"end_check_date":"xxxx", #终验时间
"check_note":"xxxx", #验收备注
"end_check_appendix":"xxxx" #终验附件
}
Response Body:
......@@ -338,13 +822,43 @@
{
"ecode":"200", #修改成功返回码
"ecote":"OK" #返回说明
"enote":"OK" #返回说明
}
删除销售合同工程验收信息
*****************************
| Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/check
| Header: (Content-Type: application/json)
Request Body:
.. code-block:: python
{
"check_unids": #验收unid数组
[
"check_unid":"xxxx", #验收unid
......
]
}
Response Body:
.. code-block:: python
{
"ecode":"200", #删除成功返回码
"enote":"OK" #返回说明
}
查询合同列表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract
......@@ -355,20 +869,20 @@
.. code-block:: python
{
"salesperson_unid":"吴旭", #销售员
"project_unid":"金源时代客流项目", #项目名称
"customer_unid":"北京金源时代购物中心有限公司", #客户名称
"location_province":"河北省", #项目所在省
"location_city":"沧州市", #项目所在市
"location_area":"献县", #项目所在县(区)
"quality_cycle":"xxxx", #质保周期
"salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省
"city":"沧州市", #项目所在市
"county":"献县", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质(供货,施工,集成,维保)
"contract_type":"xxxx", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验
"is_file":"xxxx", #合同是否归档
"is_archive":"xxxx", #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额
"amount_state_unid":"xxxx", #账款状态
......@@ -393,36 +907,35 @@
"list_data": #数据列表
[
"contract_code":"2019-079", #合同编号
"year":"2018", #所属年份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保)
"sign_date":"xxxx", #签订日期
"month":"3", #所属月份
"salesperson_unid":"xxxx", #销售员
"location_province":"河北省", #所在省份
"location_city":"沧州市", #所在市
"location_area":"献县", #所在县(区)
"customer_unid":"北京金源时代购物中心有限公司", #客户名称
"project_unid":"金源时代客流项目", #项目名称
"salesperson_name":"xxxx", #销售员名称
"province":"河北省", #所在省份
"city":"沧州市", #所在市
"county":"献县", #所在县(区)
"customer_name":"北京金源时代购物中心有限公司", #客户名称
"project_name":"金源时代客流项目", #项目名称
"contract_amount":"xxxx", #合同金额
"stop_amount":"xxxx", #暂停金额
"bad_amount":"xxxx", #坏账金额
"exemptions_amount":"xxxx", #豁免金额
"deduct_amount":"xxxx", #抵扣金额
"total_reback_amount":"xxxx", #累计回款额
"contract_remaining":"xxxx", #合同余额
"amount_state_unid":"xxxx", #账款状态
"total_receive_amount":"xxxx", #累计应收款
"total_leave_amount":"xxxx", #应收账款余额
"over_days_unid":"xxxx", #逾期天数
"payment_amount":"xxxx", #预付款金额
"payment_amount":"xxxx", #到货款金额
"payment_amount":"xxxx", #验收款金额
"payment_amount":"xxxx", #质保金额
"total_reback_amount":"xxxx", #累计已收款
"contract_remain":"xxxx", #合同余额
"account_state_unid":"xxxx", #账款状态
"total_receive_amount":"xxxx", #累计应收
"total_amount_remain":"xxxx", #应收账款余额
"over_days":"xxxx", #逾期天数
"advance_payment_amount":"xxxx", #预付款金额
"advance_payment_date":"xxxx", #预付款到期日
"arrival_amount":"xxxx", #到货款金额
"deliver_goods_date":"xxxx", #发货时间
"payment_agree_date":"xxxx", #到货款到期日
"payment_agree_date":"xxxx", #验收款到期日
"end_quality_date":"xxxx", #质保期结束时间
"goods_check_date":"xxxx", #验收日期
"arrival_amount_date":"xxxx", #到货款到期日
"check_amount":"xxxx", #验收款金额
"check_date":"xxxx", #验收日期
"check_amount_date":"xxxx", #验收款到期日
"mainten_amount":"xxxx", #质保金额
"mainten_end_date":"xxxx", #质保期结束时间
"check_note":"xxxx", #合同备注
],
......
......@@ -430,7 +943,7 @@
导出表格
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/export
......@@ -441,20 +954,20 @@
.. code-block:: python
{
"salesperson_unid":"吴旭", #销售员
"project_unid":"金源时代客流项目", #项目名称
"customer_unid":"北京金源时代购物中心有限公司", #客户名称
"location_province":"河北省", #项目所在省
"location_city":"沧州市", #项目所在市
"location_area":"献县", #项目所在县(区)
"quality_cycle":"xxxx", #质保周期
"salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省
"city":"沧州市", #项目所在市
"area":"献县", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期
"year":"2018", #所属年份
"month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验
"is_file":"xxxx", #合同是否归档
"is_archive":"xxxx", #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额
"amount_state_unid":"xxxx", #账款状态
......@@ -465,6 +978,71 @@
"leave_amount_point":"xxxx" #设置应收账款余额查询节点
}
Response Body:
Response Body:无
查询合同编号
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/code
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"contract_unids":["xxxx","xxxx",...] #合同编号
}
查询顾客表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/customer
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"customer_list": #顾客列表集合
[
{
"customer_unid":"xxxx", #顾客id
"customer_name":"xxxx" #顾客名称
}
...
]
}
查询项目表
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET
| Path: /api/v1/financial/contract/project
| Header: (Content-Type: application/json)
Request Body:无
Request Body:
.. code-block:: python
{
"project_list": #项目列表集合
[
{
"customer_unid":"xxxx", #项目id
"customer_name":"xxxx" #项目名称
}
...
]
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!