Commit 14cb7939 by 王军业

更新

1 parent 526a55df
# Sphinx build info version 1 # Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 6c937b6a8bab5b3dfdb53b68effcbb44 config: a8479a52507365f5865f7c204313313a
tags: 645f666f9bcd5a90fca523b33c5a78b7 tags: 645f666f9bcd5a90fca523b33c5a78b7
...@@ -24,27 +24,19 @@ ...@@ -24,27 +24,19 @@
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="2. 财务进度服务http接口" href="02-finance-http.html" />
<link rel="prev" title="财务进度服务设计" href="index.html" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="finance_serv 1.0 documentation" href="index.html"/>
<link rel="next" title="2. 财务进度服务http接口" href="02-finance-http.html"/>
<link rel="prev" title="财务进度服务设计" href="index.html"/>
<script src="_static/js/modernizr.min.js"></script> <script src="_static/js/modernizr.min.js"></script>
</head> </head>
<body class="wy-body-for-nav" role="document"> <body class="wy-body-for-nav">
<div class="wy-grid-for-nav"> <div class="wy-grid-for-nav">
...@@ -100,9 +92,8 @@ ...@@ -100,9 +92,8 @@
<li class="toctree-l2"><a class="reference internal" href="#id6">1.5. 发货信息表</a></li> <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="#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="#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="#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="#id10">1.9. 客户表</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id11">1.10. 客户表</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a></li> <li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a></li>
...@@ -118,7 +109,7 @@ ...@@ -118,7 +109,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">finance_serv</a> <a href="index.html">finance_serv</a>
...@@ -126,8 +117,8 @@ ...@@ -126,8 +117,8 @@
</nav> </nav>
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">
...@@ -145,6 +136,7 @@ ...@@ -145,6 +136,7 @@
<div role="navigation" aria-label="breadcrumbs navigation"> <div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs"> <ul class="wy-breadcrumbs">
...@@ -197,17 +189,17 @@ ...@@ -197,17 +189,17 @@
<tbody valign="top"> <tbody valign="top">
<tr class="row-even"><td>contract_unid</td> <tr class="row-even"><td>contract_unid</td>
<td><em></em></td> <td><em></em></td>
<td>FK</td> <td>PK</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
<td>合同id</td> <td>合同id</td>
</tr> </tr>
<tr class="row-odd"><td>salesperson_unid</td> <tr class="row-odd"><td>salesperson_unid</td>
<td><em></em></td> <td><em></em></td>
<td>FK</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=255</td>
<td></td> <td></td>
<td>销售员id</td> <td>销售员id,通过auth服务获取</td>
</tr> </tr>
<tr class="row-even"><td>project_unid</td> <tr class="row-even"><td>project_unid</td>
<td><em></em></td> <td><em></em></td>
...@@ -224,42 +216,45 @@ ...@@ -224,42 +216,45 @@
<td>客户id</td> <td>客户id</td>
</tr> </tr>
<tr class="row-even"><td>province</td> <tr class="row-even"><td>province</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
<td>项目所在地的省份</td> <td>项目所在地的省份,通过
code服务行选择</td>
</tr> </tr>
<tr class="row-odd"><td>city</td> <tr class="row-odd"><td>city</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
<td>项目所在地的市</td> <td>项目所在地的市,通过
code服务行选择行选择</td>
</tr> </tr>
<tr class="row-even"><td>county</td> <tr class="row-even"><td>county</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
<td>项目所在地的县(区)</td> <td>项目所在地的县(区),通
过code服务进行选择</td>
</tr> </tr>
<tr class="row-odd"><td>guarantee_period</td> <tr class="row-odd"><td>guarantee_period</td>
<td><em></em></td> <td><em></em></td>
<td>int</td> <td>int</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>质保周期,单位是月</td> <td>质保周期,单位是月</td>
</tr> </tr>
<tr class="row-even"><td>sign_date</td> <tr class="row-even"><td>sign_date</td>
<td><em></em></td> <td><em></em></td>
<td>date</td> <td>date</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>签订时间</td> <td>签订时间</td>
</tr> </tr>
<tr class="row-odd"><td>product_line_type</td> <tr class="row-odd"><td>product_line_type</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
...@@ -267,7 +262,7 @@ ...@@ -267,7 +262,7 @@
进行选择</td> 进行选择</td>
</tr> </tr>
<tr class="row-even"><td>contract_state</td> <tr class="row-even"><td>contract_state</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
...@@ -275,7 +270,7 @@ ...@@ -275,7 +270,7 @@
行选择</td> 行选择</td>
</tr> </tr>
<tr class="row-odd"><td>contract_type</td> <tr class="row-odd"><td>contract_type</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
...@@ -283,14 +278,14 @@ ...@@ -283,14 +278,14 @@
行选择</td> 行选择</td>
</tr> </tr>
<tr class="row-even"><td>contract_amount</td> <tr class="row-even"><td>contract_amount</td>
<td><em></em></td> <td><em></em></td>
<td>float</td> <td>float</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>合同金额</td> <td>合同金额</td>
</tr> </tr>
<tr class="row-odd"><td>deduct_amount</td> <tr class="row-odd"><td>deduct_amount</td>
<td><em></em></td> <td><em></em></td>
<td>float</td> <td>float</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
...@@ -304,7 +299,7 @@ ...@@ -304,7 +299,7 @@
<td>合同金额备注</td> <td>合同金额备注</td>
</tr> </tr>
<tr class="row-odd"><td>stop_amount</td> <tr class="row-odd"><td>stop_amount</td>
<td><em></em></td> <td><em></em></td>
<td>float</td> <td>float</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
...@@ -318,7 +313,7 @@ ...@@ -318,7 +313,7 @@
<td>累计回款额备注</td> <td>累计回款额备注</td>
</tr> </tr>
<tr class="row-odd"><td>exemptions_amount</td> <tr class="row-odd"><td>exemptions_amount</td>
<td><em></em></td> <td><em></em></td>
<td>float</td> <td>float</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
...@@ -332,14 +327,14 @@ ...@@ -332,14 +327,14 @@
<td>合同余额备注</td> <td>合同余额备注</td>
</tr> </tr>
<tr class="row-odd"><td>is_archive</td> <tr class="row-odd"><td>is_archive</td>
<td><em></em></td> <td><em></em></td>
<td>bool</td> <td>bool</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>是否归档</td> <td>是否归档</td>
</tr> </tr>
<tr class="row-even"><td>bad_amount</td> <tr class="row-even"><td>bad_amount</td>
<td><em></em></td> <td><em></em></td>
<td>float</td> <td>float</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
...@@ -353,14 +348,14 @@ ...@@ -353,14 +348,14 @@
<td>坏账金额备注</td> <td>坏账金额备注</td>
</tr> </tr>
<tr class="row-even"><td>confirm_income_amount</td> <tr class="row-even"><td>confirm_income_amount</td>
<td><em></em></td> <td><em></em></td>
<td>float</td> <td>float</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>确定收入金额</td> <td>确定收入金额</td>
</tr> </tr>
<tr class="row-odd"><td>amount_state_unid</td> <tr class="row-odd"><td>amount_state_unid</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
...@@ -368,54 +363,40 @@ ...@@ -368,54 +363,40 @@
选择</td> 选择</td>
</tr> </tr>
<tr class="row-even"><td>start_guarantee_date</td> <tr class="row-even"><td>start_guarantee_date</td>
<td><em></em></td> <td><em></em></td>
<td>date</td> <td>date</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>维保服务期开始时间</td> <td>维保服务期开始时间</td>
</tr> </tr>
<tr class="row-odd"><td>end_guarantee_date</td> <tr class="row-odd"><td>end_guarantee_date</td>
<td><em></em></td> <td><em></em></td>
<td>date</td> <td>date</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>维保服务期结束时间</td> <td>维保服务期结束时间</td>
</tr> </tr>
<tr class="row-even"><td>mainten_start_point</td> <tr class="row-even"><td>mainten_start_point</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
<td>&lt;=32</td> <td>&lt;=32</td>
<td></td> <td></td>
<td>质保期开始节点</td> <td>质保期开始节点</td>
</tr> </tr>
<tr class="row-odd"><td>mainten_start_date</td> <tr class="row-odd"><td>contract_note</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><em></em></td>
<td>text</td> <td>text</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>合同备注</td> <td>合同备注</td>
</tr> </tr>
<tr class="row-odd"><td>is_delete</td> <tr class="row-even"><td>is_delete</td>
<td><em></em></td> <td><em></em></td>
<td>bool</td> <td>bool</td>
<td>&#160;</td> <td>&#160;</td>
<td></td> <td></td>
<td>合同删除标识</td> <td>合同删除标识</td>
</tr> </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> </tbody>
</table> </table>
</div></blockquote> </div></blockquote>
...@@ -693,13 +674,6 @@ ...@@ -693,13 +674,6 @@
<td></td> <td></td>
<td>到货验收日期</td> <td>到货验收日期</td>
</tr> </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> </tbody>
</table> </table>
</div></blockquote> </div></blockquote>
...@@ -762,13 +736,6 @@ ...@@ -762,13 +736,6 @@
<td></td> <td></td>
<td>验收备注</td> <td>验收备注</td>
</tr> </tr>
<tr class="row-odd"><td>appendix_unid</td>
<td><em></em></td>
<td>FK</td>
<td>&#160;</td>
<td></td>
<td>附件id</td>
</tr>
</tbody> </tbody>
</table> </table>
</div></blockquote> </div></blockquote>
...@@ -803,6 +770,20 @@ ...@@ -803,6 +770,20 @@
<td></td> <td></td>
<td>附件主键</td> <td>附件主键</td>
</tr> </tr>
<tr class="row-odd"><td>business_table</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>业务表名</td>
</tr>
<tr class="row-even"><td>business_unid</td>
<td><em></em></td>
<td>string</td>
<td>&lt;=32</td>
<td></td>
<td>业务表主键</td>
</tr>
<tr class="row-odd"><td>appendix_name</td> <tr class="row-odd"><td>appendix_name</td>
<td><em></em></td> <td><em></em></td>
<td>string</td> <td>string</td>
...@@ -829,41 +810,7 @@ ...@@ -829,41 +810,7 @@
</div></blockquote> </div></blockquote>
</div> </div>
<div class="section" id="id9"> <div class="section" id="id9">
<h2>1.8. 合同编号表<a class="headerlink" href="#id9" title="Permalink to this headline"></a></h2> <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> <blockquote>
<div><p>表名:tb_project</p> <div><p>表名:tb_project</p>
<table border="1" class="docutils"> <table border="1" class="docutils">
...@@ -903,8 +850,8 @@ ...@@ -903,8 +850,8 @@
</table> </table>
</div></blockquote> </div></blockquote>
</div> </div>
<div class="section" id="id11"> <div class="section" id="id10">
<h2>1.10. 客户表<a class="headerlink" href="#id11" title="Permalink to this headline"></a></h2> <h2>1.9. 客户表<a class="headerlink" href="#id10" title="Permalink to this headline"></a></h2>
<blockquote> <blockquote>
<div><p>表名:tb_customer</p> <div><p>表名:tb_customer</p>
<table border="1" class="docutils"> <table border="1" class="docutils">
...@@ -948,10 +895,8 @@ ...@@ -948,10 +895,8 @@
</div> </div>
<div class="articleComments">
</div> </div>
</div>
<footer> <footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
...@@ -972,7 +917,7 @@ ...@@ -972,7 +917,7 @@
</p> </p>
</div> </div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer> </footer>
...@@ -991,6 +936,7 @@ ...@@ -991,6 +936,7 @@
var DOCUMENTATION_OPTIONS = { var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./', URL_ROOT:'./',
VERSION:'1.0', VERSION:'1.0',
LANGUAGE:'None',
COLLAPSE_INDEX:false, COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true, HAS_SOURCE: true,
...@@ -1003,19 +949,13 @@ ...@@ -1003,19 +949,13 @@
<script type="text/javascript" src="_static/js/theme.js"></script> <script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(function () { jQuery(function () {
SphinxRtdTheme.StickyNav.enable(); SphinxRtdTheme.Navigation.enable(true);
}); });
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
This diff could not be displayed because it is too large.
...@@ -24,26 +24,18 @@ ...@@ -24,26 +24,18 @@
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="2. 财务进度服务http接口" href="02-finance-http.html" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="finance_serv 1.0 documentation" href="index.html"/>
<link rel="prev" title="2. 财务进度服务http接口" href="02-finance-http.html"/>
<script src="_static/js/modernizr.min.js"></script> <script src="_static/js/modernizr.min.js"></script>
</head> </head>
<body class="wy-body-for-nav" role="document"> <body class="wy-body-for-nav">
<div class="wy-grid-for-nav"> <div class="wy-grid-for-nav">
...@@ -108,7 +100,7 @@ ...@@ -108,7 +100,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">finance_serv</a> <a href="index.html">finance_serv</a>
...@@ -116,8 +108,8 @@ ...@@ -116,8 +108,8 @@
</nav> </nav>
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">
...@@ -135,6 +127,7 @@ ...@@ -135,6 +127,7 @@
<div role="navigation" aria-label="breadcrumbs navigation"> <div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs"> <ul class="wy-breadcrumbs">
...@@ -172,10 +165,8 @@ ...@@ -172,10 +165,8 @@
</div> </div>
<div class="articleComments">
</div> </div>
</div>
<footer> <footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
...@@ -194,7 +185,7 @@ ...@@ -194,7 +185,7 @@
</p> </p>
</div> </div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer> </footer>
...@@ -213,6 +204,7 @@ ...@@ -213,6 +204,7 @@
var DOCUMENTATION_OPTIONS = { var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./', URL_ROOT:'./',
VERSION:'1.0', VERSION:'1.0',
LANGUAGE:'None',
COLLAPSE_INDEX:false, COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true, HAS_SOURCE: true,
...@@ -225,19 +217,13 @@ ...@@ -225,19 +217,13 @@
<script type="text/javascript" src="_static/js/theme.js"></script> <script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(function () { jQuery(function () {
SphinxRtdTheme.StickyNav.enable(); SphinxRtdTheme.Navigation.enable(true);
}); });
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -9,71 +9,70 @@ ...@@ -9,71 +9,70 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 | | 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+ +=======================+=============+===========+===========+=========+==========================+
| contract_unid | *是* | FK | <=32 | 是 | 合同id | | contract_unid | *是* | PK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| salesperson_unid | *是* | FK | <=32 | 否 | 销售员id | | salesperson_unid | *是* | string | <=255 | 否 |销售员id,通过auth服务获取|
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| project_unid | *是* | FK | <=32 | 否 | 项目id | | project_unid | *是* | FK | <=32 | 否 | 项目id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| customer_unid | *是* | FK | <=32 | 否 | 客户id | | customer_unid | *是* | FK | <=32 | 否 | 客户id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| province | *是* | string | <=32 | 否 | 项目所在地的省份 | | province | *否* | string | <=32 | 否 | 项目所在地的省份,通过 |
| | | | | | code服务行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| city | *是* | string | <=32 | 否 | 项目所在地的市 | | city | *否* | string | <=32 | 否 | 项目所在地的市,通过 |
| | | | | | code服务行选择行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| county | *是* | string | <=32 | 否 | 项目所在地的县(区) | | county | *否* | string | <=32 | 否 | 项目所在地的县(区),通 |
| | | | | | 过code服务进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| guarantee_period | ** | int | | 否 | 质保周期,单位是月 | | guarantee_period | ** | int | | 否 | 质保周期,单位是月 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| sign_date | ** | date | | 否 | 签订时间 | | sign_date | ** | date | | 否 | 签订时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| product_line_type | ** | string | <=32 | 否 | 产品线类型,通过code服务 | | product_line_type | ** | string | <=32 | 否 | 产品线类型,通过code服务 |
| | | | | | 进行选择 | | | | | | | 进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_state | ** | string | <=32 | 否 | 合同状态,通过code服务进 | | contract_state | ** | string | <=32 | 否 | 合同状态,通过code服务进 |
| | | | | | 行选择 | | | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_type | ** | string | <=32 | 否 | 合同类型,通过code服务进 | | contract_type | ** | string | <=32 | 否 | 合同类型,通过code服务进 |
| | | | | | 行选择 | | | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount | ** | float | | 否 | 合同金额 | | contract_amount | ** | float | | 否 | 合同金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| deduct_amount | ** | float | | 否 | 抵扣金额 | | deduct_amount | ** | float | | 否 | 抵扣金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount_note | *否* | text | | 否 | 合同金额备注 | | contract_amount_note | *否* | text | | 否 | 合同金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| stop_amount | ** | float | | 否 | 暂停金额 | | stop_amount | ** | float | | 否 | 暂停金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_note | *否* | text | | 否 | 累计回款额备注 | | reback_note | *否* | text | | 否 | 累计回款额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| exemptions_amount | ** | float | | 否 | 豁免金额 | | exemptions_amount | ** | float | | 否 | 豁免金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_remain_note | *否* | text | | 否 | 合同余额备注 | | contract_remain_note | *否* | text | | 否 | 合同余额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_archive | ** | bool | | 否 | 是否归档 | | is_archive | ** | bool | | 否 | 是否归档 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount | ** | float | | 否 | 坏账金额 | | bad_amount | ** | float | | 否 | 坏账金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount_note | *否* | text | | 否 | 坏账金额备注 | | bad_amount_note | *否* | text | | 否 | 坏账金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| confirm_income_amount | ** | float | | 否 | 确定收入金额 | | confirm_income_amount | ** | float | | 否 | 确定收入金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| amount_state_unid | ** | string | <=32 | 否 | 账款状态,通过code服务进行| | amount_state_unid | ** | string | <=32 | 否 | 账款状态,通过code服务进行|
| | | | | | 选择 | | | | | | | 选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| start_guarantee_date | *是* | date | | 否 | 维保服务期开始时间 | | start_guarantee_date | *否* | date | | 否 | 维保服务期开始时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_guarantee_date | *是* | date | | 否 | 维保服务期结束时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| mainten_start_point | *是* | string | <=32 | 否 | 质保期开始节点 | | end_guarantee_date | *否* | date | | 否 | 维保服务期结束时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| mainten_start_date | *是* | date | | 否 | 质保期开始时间 | | mainten_start_point | *否* | string | <=32 | 否 | 质保期开始节点 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_note | *否* | text | | 否 | 合同备注 | | contract_note | *否* | text | | 否 | 合同备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_delete | *是* | bool | | 否 | 合同删除标识 | | is_delete | *否* | bool | | 否 | 合同删除标识 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
...@@ -165,8 +164,6 @@ ...@@ -165,8 +164,6 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| goods_acceptanc_date | *是* | date | | 否 | 到货验收日期 | | goods_acceptanc_date | *是* | date | | 否 | 到货验收日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
工程验收信息表 工程验收信息表
...@@ -187,8 +184,6 @@ ...@@ -187,8 +184,6 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| acceptanc_note | *否* | text | | 否 | 验收备注 | | acceptanc_note | *否* | text | | 否 | 验收备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
附件表 附件表
...@@ -201,6 +196,10 @@ ...@@ -201,6 +196,10 @@
+=======================+=============+===========+===========+=========+==========================+ +=======================+=============+===========+===========+=========+==========================+
| appendix_unid | *是* | PK | <=32 | 是 | 附件主键 | | appendix_unid | *是* | PK | <=32 | 是 | 附件主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| business_table | *是* | string | <=32 | 否 | 业务表名 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| business_unid | *否* | string | <=32 | 否 | 业务表主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_name | *是* | string | <=255 | 否 | 附件文件名 | | appendix_name | *是* | string | <=255 | 否 | 附件文件名 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_type | *是* | string | <=32 | 否 | 附件类型 | | appendix_type | *是* | string | <=32 | 否 | 附件类型 |
...@@ -209,16 +208,6 @@ ...@@ -209,16 +208,6 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
合同编号表
++++++++++++
表名:tb_contract_code
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| contract_unid | *是* | PK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
************* *************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract | Path: /api/v1/financial/contracts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -17,35 +17,34 @@ ...@@ -17,35 +17,34 @@
{ {
"constract_unid":"2018-079", #合同unid "constract_unid":"2018-079", #合同unid
"salesperson_unid":"xxxx", #销售员unid "salesperson_unid":"1235", #销售员unid
"project_unid":"xxxx", #项目unid "project_unid":"1000", #项目unid
"customer_unid":"xxxx", #客户unid "customer_unid":"1000", #客户unid
"province":"河北省", #项目所在地的省份 "province":"1234", #项目所在地的省份,通过code服务进行查询
"city":"沧州市", #项目所在地的市区 "city":"1234", #项目所在地的市区,通过code服务进行查询
"county":"献县", #项目所在地的县或区 "county":"1234", #项目所在地的县或区,通过code服务进行查询
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6 "guarantee_period":6, #质保周期,月份,步长为6(目前取值范围:6~60)
"sign_date":"2018/3/9", #签订时间 "sign_date":"2018-03-09", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保) "product_line_type":"1", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保) "contract_type":"3", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位 "contract_amount":140000.00, #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位 "deduct_amount":5000.00, #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本 "contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位 "stop_amount":200.00, #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本 "reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位 "exemptions_amount":100.00, #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注 "contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档 "is_archive":false, #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位 "bad_amount":5000.00, #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注 "bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位 "confirm_income_amount":144000.00, #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态,通过code服务进行查询 "amount_state_unid":"3", #帐款状态,通过code服务进行查询
"start_guarantee_date":"xxxx", #维保服务期开始时间 "start_guarantee_date":"2018-02-03", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间 "end_guarantee_date":"2018-06-09", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点 "mainten_start_point":"3", #质保期开始节点(签订时间,到货验收时间,项目终验时间)
"mainten_start_date":"xxxx", #质保期开始时间
"contract_note":"xxxx", #合同备注 "contract_note":"xxxx", #合同备注
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段) "appendix_unids":["xxxx","xxxx",...] #合同附件(若有附件上传该字段)
} }
Response Body: Response Body:
...@@ -64,7 +63,7 @@ ...@@ -64,7 +63,7 @@
****************** ******************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{contract_unid} | Path: /api/v1/financial/contracts/{$contract_unid}
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -79,46 +78,46 @@ ...@@ -79,46 +78,46 @@
"project_unid":"12321", #项目unid "project_unid":"12321", #项目unid
"project_name":"金源时代客流项目", #项目名称 "project_name":"金源时代客流项目", #项目名称
"customer_unid":"1234", #客户unid "customer_unid":"1234", #客户unid
"customer_name":"北京金源时代购物中心有限公司", #客户名称 "customer_name":"金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在地的省份 "province":"1010", #项目所在地的省份
"city":"沧州市", #项目所在地的市区 "city":"2350", #项目所在地的市区
"county":"献县", #项目所在地的县或区 "county":"2120", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6 "guarantee_period":6, #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间 "sign_date":"2018-03-09", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保) "product_line_type":"2", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保) "contract_type":"5", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位 "contract_amount":140000.00, #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位 "deduct_amount":5000.00, #折扣金额,小数点保留两位
"total_reback_amount":"xxxx", #累计回款额 "total_reback_amount":50000.00, #累计回款额
"contract_amount_note":"xxxx", #合同金额备注,文本 "contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位 "stop_amount":6000.00, #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本 "reback_note":"xxxx", #累计回款额备注,文本
"contract_remain":"xxxx", #合同余额 "contract_remain":3000.00, #合同余额
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位 "exemptions_amount":400.00, #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注 "contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档 "is_archive":false, #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位 "bad_amount":15500.00, #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注 "bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位 "total_receive_amount":800.00, #累计应收款,小数点保留两位
"total_amount_remain":"xxxx", #应收账款余额 "total_amount_remain":6000.00, #应收账款余额
"over_days":"xxxx", #逾期天数 "over_days":176, #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位 "confirm_income_amount":130000.00, #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态 "amount_state_unid":"3", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间 "start_guarantee_date":"2018-03-09", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间 "end_guarantee_date":"2018-06-09", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点 "mainten_start_point":"3", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间 "mainten_start_date":"2018-02-03", #质保期开始时间
"mainten_end_date":"xxxx", #质保期结束时间 "mainten_end_date":"2018-06-09", #质保期结束时间
"payment_data":[ #付款约定 "payment_data":[ #付款约定
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"2", #付款进度
"payment_type":"xxxx", #付款类型 "payment_type":"3", #付款类型
"days":"xxxx", #天数 "days":200, #天数
"payment_date":"xxxx", #本期应付款日期 "payment_date":2018-03-02, #本期应付款日期
"payment_amount":"xxxx", #本期应付金额 "payment_amount":1400.00, #本期应付金额
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx" #付款条件 "payment_requirement":"xxxx" #付款条件
}, },
... ...
...@@ -132,7 +131,7 @@ ...@@ -132,7 +131,7 @@
************** **************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid} | Path: /api/v1/financial/contracts/{$constract_unid}
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -140,35 +139,35 @@ ...@@ -140,35 +139,35 @@
.. code-block:: python .. code-block:: python
{ {
"salesperson_unid":"xxxx", #销售员unid "salesperson_unid":"1234", #销售员unid
"project_unid":"xxxx", #项目unid "project_unid":"1232", #项目unid
"customer_unid":"xxxx", #客户unid "customer_unid":"1234", #客户unid
"province":"河北省", #项目所在地的省份 "province":"1000", #项目所在地的省份
"city":"沧州市", #项目所在地的市区 "city":"1234", #项目所在地的市区
"county":"献县", #项目所在地的县或区 "county":"1253", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6 "guarantee_period":6, #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间 "sign_date":"2018-03-09", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保) "product_line_type":"3", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同类型,(供货,施工,集成,维保) "contract_type":"2", #合同类型,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位 "contract_amount":140000.00, #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位 "deduct_amount":5000.00, #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本 "contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位 "stop_amount":1500.00, #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本 "reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位 "exemptions_amount":1500.00, #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注 "contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档 "is_archive":false, #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位 "bad_amount":120000.00, #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注 "bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位 "confirm_income_amount":1400.00, #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态 "amount_state_unid":"2", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间 "start_guarantee_date":"2018-03-02", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间 "end_guarantee_date":"2018-03-02", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点 "mainten_start_point":"2", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间 "mainten_start_date":"2018-03-02", #质保期开始时间
"contract_note":"xxxx", #合同备注 "contract_note":"2018-06-02", #合同备注
"appendix_unid":"xxxx", #合同附件unid "appendix_unids":["xxxx","xxxx",...] #合同附件(若有附件上传该字段)
} }
Response Body: Response Body:
...@@ -186,7 +185,7 @@ ...@@ -186,7 +185,7 @@
**************** ****************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid} | Path: /api/v1/financial/contracts/{$contract_unid}
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -205,7 +204,7 @@ ...@@ -205,7 +204,7 @@
******************************** ********************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract | Path: /api/v1/financial/contracts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -216,28 +215,28 @@ ...@@ -216,28 +215,28 @@
"salesperson_name__like":"吴旭", #销售员 "salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称 "project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称 "customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省 "province":"1232", #项目所在省
"city":"沧州市", #项目所在市 "city":"1000", #项目所在市
"county":"献县", #项目所在县(区) "county":"1256", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期 "guarantee_period":7, #质保周期(单位是月)
"year":"2018", #所属年份 "year":"2018", #所属年份
"month":"3", #所属月份 "month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保) "product_line_type":"3", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质(供货,施工,集成,维保) "contract_type":"2", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验 "acceptanc_type":"2", #验收类型(1为初验,2为终验)
"is_archive":"xxxx", #合同是否归档 "is_archive":false, #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额 "confirm_income_amount":1400.00, #确定收入金额
"amount_state_unid":"xxxx", #账款状态 "amount_state_unid":"3", #账款状态
"start_date":"xxxx", #签订时间,设置开始时间 "start_date":"2018-03-02", #签订时间,设置开始时间
"end_date":"xxxx", #结束时间,设置结束时间 "end_date":"2018-06-09" #结束时间,设置结束时间
"amount_point":"xxxx", #设置金额查询节点 "amount_point":140000.00, #设置金额查询节点
"overdays_point":"xxxx", #设置逾期天数查询节点 "overdays_point":176, #设置逾期天数查询节点
"leave_amount_point":"xxxx", #设置应收账款余额查询节点 "leave_amount_point":11200.00, #设置应收账款余额查询节点
"offset":"xxxx", #起始位置 "offset":45, #起始位置
"limit":"xxxx" #每页显示的数量 "limit":25 #每页显示的数量
} }
Response Body: Response Body:
...@@ -245,47 +244,49 @@ ...@@ -245,47 +244,49 @@
.. code-block:: python .. code-block:: python
{ {
"total_number":"xxxx", #总的数据量 "total_number":1000, #总的数据量
"list_size":"xxxx", #本次返回的列表数量 "list_size":50, #本次返回的列表数量
"offset":"xxxx", #本次返回的起始索引 "offset":70, #本次返回的起始索引
"list_data": #数据列表 "list_data": #数据列表
[ [
{
"contract_code":"2019-079", #合同编号 "contract_code":"2019-079", #合同编号
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保) "product_line_type":"3", #产品线类型(安防、交通、客流、维保)
"sign_date":"xxxx", #签订日期 "sign_date":"2018-02-03", #签订日期
"salesperson_name":"xxxx", #销售员名称 "salesperson_name":"1000", #销售员名称
"province":"河北省", #所在省份 "province":"1000", #所在省份
"city":"沧州市", #所在市 "city":"1234", #所在市
"county":"献县", #所在县(区) "county":"1000", #所在县(区)
"customer_name":"北京金源时代购物中心有限公司", #客户名称 "customer_name":"北京金源时代购物中心有限公司", #客户名称
"project_name":"金源时代客流项目", #项目名称 "project_name":"金源时代客流项目", #项目名称
"contract_amount":"xxxx", #合同金额 "contract_amount":140000.00, #合同金额
"stop_amount":"xxxx", #暂停金额 "stop_amount":5000.00, #暂停金额
"bad_amount":"xxxx", #坏账金额 "bad_amount":4000.00, #坏账金额
"exemptions_amount":"xxxx", #豁免金额 "exemptions_amount":5000.00, #豁免金额
"deduct_amount":"xxxx", #抵扣金额 "deduct_amount":7000.00, #抵扣金额
"total_reback_amount":"xxxx", #累计已收款 "total_reback_amount":600.00, #累计已收款
"contract_remain":"xxxx", #合同余额 "contract_remain":8000.00, #合同余额
"account_state_unid":"xxxx", #账款状态 "account_state_unid":"3", #账款状态
"total_receive_amount":"xxxx", #累计应收 "total_receive_amount":15000.00, #累计应收
"total_amount_remain":"xxxx", #应收账款余额 "total_amount_remain":8000.00, #应收账款余额
"over_days":"xxxx", #逾期天数 "over_days":176, #逾期天数
"payment_data":[ #付款约定 "payment_data":[ #付款约定
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"2", #付款进度
"payment_type":"xxxx", #付款类型 "payment_type":"3", #付款类型
"days":"xxxx", #天数 "days":198, #天数
"payment_date":"xxxx", #本期应付款日期 "payment_date":"2018-03-02", #本期应付款日期
"payment_amount":"xxxx", #本期应付金额 "payment_amount":"2018-06-07", #本期应付金额
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx" #付款条件 "payment_requirement":"xxxx" #付款条件
}, },
... ...
], ],
"contract_note":"xxxx" #合同备注 "contract_note":"xxxx" #合同备注
], },
...... ...
]
} }
...@@ -293,7 +294,7 @@ ...@@ -293,7 +294,7 @@
************************************************ ************************************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/export | Path: /api/v1/financial/contracts/export
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -304,25 +305,25 @@ ...@@ -304,25 +305,25 @@
"salesperson_name__like":"吴旭", #销售员 "salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称 "project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称 "customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省 "province":"1000", #项目所在省
"city":"沧州市", #项目所在市 "city":"1245", #项目所在市
"area":"献县", #项目所在县(区) "area":"5623", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期 "guarantee_period":24, #质保周期
"year":"2018", #所属年份 "year":"2018", #所属年份
"month":"3", #所属月份 "month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保) "product_line_type":"3", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质(供货,施工,集成,维保) "contract_type":"3", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验 "is_end_check":true, #是否终验
"is_archive":"xxxx", #合同是否归档 "is_archive":false, #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额 "confirm_income_amount":14000.00, #确定收入金额
"amount_state_unid":"xxxx", #账款状态 "amount_state_unid":"3", #账款状态
"start_date":"xxxx", #签订时间,设置开始时间 "start_date":"2018-03-02", #签订时间,设置开始时间
"end_date":"xxxx", #结束时间,设置结束时间 "end_date":"2018-06-09", #结束时间,设置结束时间
"amount_point":"xxxx", #设置金额查询节点 "amount_point":14000.00, #设置金额查询节点
"overdays_point":"xxxx", #设置逾期天数查询节点 "overdays_point":176, #设置逾期天数查询节点
"leave_amount_point":"xxxx" #设置应收账款余额查询节点 "leave_amount_point":1400.00 #设置应收账款余额查询节点
} }
Response Body:无 Response Body:无
...@@ -335,7 +336,7 @@ ...@@ -335,7 +336,7 @@
************************** **************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/payment | Path: /api/v1/financial/contracts/{$constract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -346,12 +347,12 @@ ...@@ -346,12 +347,12 @@
"list_payment_data": #付款约定信息表 "list_payment_data": #付款约定信息表
[ [
{ {
"payment_progress":"xxxx", #付款进度(1,2,3,4) "payment_progress":"2", #付款进度(1,2,3,4)
"payment_type":"xxxx", #付款类型,通过code服务进行选择 "payment_type":"3", #付款类型,通过code服务进行选择
"days":"xxxx", #天数 "days":45, #天数
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
}, },
...... ...
] ]
} }
...@@ -370,7 +371,7 @@ ...@@ -370,7 +371,7 @@
*************************** ***************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/payment | Path: /api/v1/financial/contracts/{$constract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -384,15 +385,15 @@ ...@@ -384,15 +385,15 @@
[ [
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"1", #付款进度
"payment_type":"xxxx", #付款类型 "payment_type":"2", #付款类型
"days":"xxxx", #天数 "days":23, #天数
"payment_date":"xxxx", #本期应付款日期 "payment_date":"2018-03-02", #本期应付款日期
"payment_amount":"xxxx", #本期应付金额 "payment_amount":14000.00, #本期应付金额
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx", #付款条件 "payment_requirement":"xxxx", #付款条件
}, },
...... ...
] ]
} }
...@@ -401,7 +402,7 @@ ...@@ -401,7 +402,7 @@
****************************** ******************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/payment | Path: /api/v1/financial/contracts/{$constract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -413,13 +414,13 @@ ...@@ -413,13 +414,13 @@
[ [
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"2", #付款进度
"payment_type":"xxx", #付款类型 "payment_type":"3", #付款类型
"days":"xxxx", #天数 "days":30, #天数
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx" #付款条件 "payment_requirement":"xxxx" #付款条件
}, },
...... ...
] ]
} }
...@@ -438,7 +439,7 @@ ...@@ -438,7 +439,7 @@
******************************* *******************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/payment | Path: /api/v1/financial/contracts/{$contract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -449,7 +450,7 @@ ...@@ -449,7 +450,7 @@
"payment_unids": #付款unid数组 "payment_unids": #付款unid数组
[ [
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
...... ...
] ]
} }
...@@ -470,7 +471,7 @@ ...@@ -470,7 +471,7 @@
************************ ************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/reback | Path: /api/v1/financial/contracts/{$constract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -483,12 +484,12 @@ ...@@ -483,12 +484,12 @@
"list_reback_data": #合同回款信息表 "list_reback_data": #合同回款信息表
[ [
{ {
"reback_progress ":"xxxx", #回款进度 "reback_progress ":"1", #回款进度
"reback_date":"xxxx", #回款时间 "reback_date":"2018-06-03", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额 "actual_reback_amount":14000.00, #实际回款数额
"reback_note":"xxxx", #回款备注 "reback_note":"xxxx", #回款备注
}, },
...... ...
] ]
} }
...@@ -507,7 +508,7 @@ ...@@ -507,7 +508,7 @@
*********************** ***********************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/reback | Path: /api/v1/financial/contracts/{$constract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -521,13 +522,13 @@ ...@@ -521,13 +522,13 @@
[ [
{ {
"reback_unid":"xxxx", #回款unid "reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度 "reback_progress":"2", #回款进度
"reback_date":"xxxx", #回款时间 "reback_date":"2018-03-02", #回款时间
"reback_propority":"xxxx", #回款比例 "reback_propority":0.30, #回款比例
"actual_reback_amount":"xxxx", #实际回款数额 "actual_reback_amount":14000.00, #实际回款数额
"reback_note":"xxxx", #回款备注 "reback_note":"xxxx", #回款备注
}, },
...... ...
] ]
} }
...@@ -536,7 +537,7 @@ ...@@ -536,7 +537,7 @@
*********************** ***********************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/reback | Path: /api/v1/financial/contracts/{$constract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -548,12 +549,12 @@ ...@@ -548,12 +549,12 @@
[ [
{ {
"reback_unid":"xxxx", #回款unid "reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度 "reback_progress":"3", #回款进度
"reback_date":"xxxx", #回款时间 "reback_date":"2018-03-02", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额 "actual_reback_amount":14000.00, #实际回款数额
"reback_note ":"xxxx", #回款备注 "reback_note ":"xxxx", #回款备注
}, },
...... ...
] ]
} }
...@@ -571,7 +572,7 @@ ...@@ -571,7 +572,7 @@
************************** **************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/reback | Path: /api/v1/financial/contracts/{$contract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -582,7 +583,7 @@ ...@@ -582,7 +583,7 @@
"reback_unids": #回款unid数组 "reback_unids": #回款unid数组
[ [
"reback_unid":"xxxx", #回款unid "reback_unid":"xxxx", #回款unid
...... ...
] ]
} }
...@@ -603,7 +604,7 @@ ...@@ -603,7 +604,7 @@
**************************** ****************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/receipt | Path: /api/v1/financial/contracts/{$constract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -614,12 +615,12 @@ ...@@ -614,12 +615,12 @@
"list_receipt_data": #合同发票信息表 "list_receipt_data": #合同发票信息表
[ [
{ {
"receipt_progress":"xxxx", #开票进度 "receipt_progress":"3", #开票进度
"receipt_amount":"xxxx", #开票金额 "receipt_amount":14000.00, #开票金额
"oa_flow_id":"xxxx", #oa流水号 "oa_flow_id":"12345", #oa流水号
"receipt_note":"xxxx", #发票备注 "receipt_note":"xxxx", #发票备注
}, },
...... ...
] ]
} }
...@@ -637,7 +638,7 @@ ...@@ -637,7 +638,7 @@
**************************** ****************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/receipt | Path: /api/v1/financial/contracts/{$constract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -651,15 +652,15 @@ ...@@ -651,15 +652,15 @@
[ [
{ {
"receipt_unid":"xxxx", #发票unid "receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票次数 "receipt_progress":"3", #开票次数
"oa_flow_id ":"xxxx", #oa流水号 "oa_flow_id ":"12345", #oa流水号
"receipt_amount":"xxxx", #开票金额 "receipt_amount":14000.00, #开票金额
"total_receipt_amount":"xxxx", #累计开票金额 "total_receipt_amount":5000.00, #累计开票金额
"receipt_propority":"xxxx", #开票比例 "receipt_propority":0.30, #开票比例
"receipt_note":"xxxx", #开票备注 "receipt_note":"xxxx", #开票备注
"create_date":"xxxx", #开票时间 "create_date":"2018-03-02", #开票时间
}, },
...... ...
] ]
} }
...@@ -668,7 +669,7 @@ ...@@ -668,7 +669,7 @@
********************************* *********************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/receipt | Path: /api/v1/financial/contracts/{$constract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -680,12 +681,12 @@ ...@@ -680,12 +681,12 @@
[ [
{ {
"receipt_unid":"xxxx", #发票unid "receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票进度 "receipt_progress":"3", #开票进度
"receipt_amount":"xxxx", #开票金额 "receipt_amount":14000.00, #开票金额
"oa_flow_id":"xxxx", #oa流水号 "oa_flow_id":"12345", #oa流水号
"receipt_note":"xxxx", #发票备注 "receipt_note":"xxxx", #发票备注
}, },
...... ...
] ]
} }
...@@ -704,7 +705,7 @@ ...@@ -704,7 +705,7 @@
****************************** ******************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/receipt | Path: /api/v1/financial/contracts/{$contract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -715,7 +716,7 @@ ...@@ -715,7 +716,7 @@
"receipt_unids": #发票unid数组 "receipt_unids": #发票unid数组
[ [
"receipt_unid":"xxxx", #发票unid "receipt_unid":"xxxx", #发票unid
...... ...
] ]
} }
...@@ -737,7 +738,7 @@ ...@@ -737,7 +738,7 @@
**************************** ****************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/deliver | Path: /api/v1/financial/contracts/{$constract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -748,12 +749,12 @@ ...@@ -748,12 +749,12 @@
"list_deliver_data": #合同发货信息表 "list_deliver_data": #合同发货信息表
[ [
{ {
"deliver_goods_date":"xxxx", #发货时间 "deliver_goods_date":"2018-03-02", #发货时间
"goods_acceptanc_date":"xxxx", #到货验收时间 "goods_acceptanc_date":"2018-06-03", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件 "goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段 "appendix_unids":["xxxx","xxxx",...] #合同附件(若有附件上传该字段)
}, },
...... ...
] ]
} }
...@@ -772,7 +773,7 @@ ...@@ -772,7 +773,7 @@
************************ ************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/deliver | Path: /api/v1/financial/contracts/{$constract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -786,11 +787,18 @@ ...@@ -786,11 +787,18 @@
[ [
{ {
"deliver_unid":"xxxx", #发货unid "deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间 "deliver_goods_date":"2018-03-02", #发货时间
"goods_acceptanc_date ":"xxxx", #到货验收时间 "goods_acceptanc_date ":"2018-06-09", #到货验收时间
"appendix_unid":"xxxx", #附件id "appendix_list": #附件列表集合
[
{
"appendix_unid":"1234", #附件unid
"appendix_url":"http://xxxx.pdf" #附件url
}
...
]
}, },
...... ...
] ]
} }
...@@ -798,7 +806,7 @@ ...@@ -798,7 +806,7 @@
************************ ************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/deliver | Path: /api/v1/financial/contracts/{$constract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -810,12 +818,12 @@ ...@@ -810,12 +818,12 @@
[ [
{ {
"deliver_unid":"xxxx", #发货unid "deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间 "deliver_goods_date":"2018-03-02", #发货时间
"goods_acceptanc_date":"xxxx", #到货验收时间 "goods_acceptanc_date":"2018-03-02", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件 "goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段必传 "appendix_unids":["xxxx","xxxx",...], #合同附件(若有附件上传该字段
}, },
...... ...
] ]
} }
...@@ -834,7 +842,7 @@ ...@@ -834,7 +842,7 @@
************************** **************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/deliver | Path: /api/v1/financial/contracts/{$contract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -845,7 +853,7 @@ ...@@ -845,7 +853,7 @@
"deliver_unids": #发货unid数组 "deliver_unids": #发货unid数组
[ [
"deliver_unid":"xxxx", #发货unid "deliver_unid":"xxxx", #发货unid
...... ...
] ]
} }
...@@ -867,7 +875,7 @@ ...@@ -867,7 +875,7 @@
****************************** ******************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$constract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -878,8 +886,8 @@ ...@@ -878,8 +886,8 @@
"list_check_data": "list_check_data":
[ [
{ {
"acceptanc_type":"xxxx", #验收类型(1为初验、2为终验 "acceptanc_type":"1", #验收类型(1为初验、2为终验
"acceptanc_date":"xxxx", #验收时间 "acceptanc_date":"2018-06-09", #验收时间
"acceptanc_note":"xxxx" #验收备注 "acceptanc_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表 "appendix_unids":["1234","5678",...] #附件列表
} }
...@@ -902,7 +910,7 @@ ...@@ -902,7 +910,7 @@
************************** **************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$constract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -916,8 +924,8 @@ ...@@ -916,8 +924,8 @@
[ [
{ {
"acceptanc_unid":"xxxx", #工程id "acceptanc_unid":"xxxx", #工程id
"acceptanc_type":"xxxx", #验收类型 "acceptanc_type":"2", #验收类型
"acceptanc_date":"xxxx", #验收时间 "acceptanc_date":"2018-07-02", #验收时间
"acceptanc_note":"xxxx", #验收备注 "acceptanc_note":"xxxx", #验收备注
"appendix_list": #附件列表集合 "appendix_list": #附件列表集合
[ [
...@@ -928,7 +936,7 @@ ...@@ -928,7 +936,7 @@
... ...
] ]
}, },
...... ...
] ]
} }
...@@ -938,7 +946,7 @@ ...@@ -938,7 +946,7 @@
******************************* *******************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$constract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -950,11 +958,12 @@ ...@@ -950,11 +958,12 @@
[ [
{ {
"acceptanc_unid":"xxxx", #工程验收unid "acceptanc_unid":"xxxx", #工程验收unid
"acceptanc_type":"xxxx", #验收类型(1为初验、2为终验) "acceptanc_type":"2", #验收类型(1为初验、2为终验)
"acceptanc_date":"xxxx", #验收时间 "acceptanc_date":"2018-05-02", #验收时间
"acceptanc_note":"xxxx" #验收备注 "acceptanc_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表 "appendix_unids":["1234","5678",...] #附件列表
} },
...
] ]
} }
...@@ -974,7 +983,7 @@ ...@@ -974,7 +983,7 @@
***************************** *****************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$contract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -985,7 +994,7 @@ ...@@ -985,7 +994,7 @@
"acceptanc_unids": #验收unid数组 "acceptanc_unids": #验收unid数组
[ [
"acceptanc_unid":"xxxx", #验收unid "acceptanc_unid":"xxxx", #验收unid
...... ...
] ]
} }
...@@ -1000,11 +1009,45 @@ ...@@ -1000,11 +1009,45 @@
} }
上传附件
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: POST
| Path: /api/v1/financial/contracts/{$constract_unid}/upload/appendixes
| Header: (Content-Type: multipart/form-data)
Request Body:
.. code-block:: python
{
"business_table":"project_acceptanc", #业务表名
"appendix_files":["xxxx","xxxxx"] #上传附件文件(file类型
}
Response Body:
.. code-block:: python
{
"appendix_data":[
{
"business_table":"project_acceptanc", #业务表名
"appendix_unid":"xxxxxxx" #附件主键
},
...
]
}
查询合同编号 查询合同编号
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/code | Path: /api/v1/financial/contracts/codes
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -1014,7 +1057,12 @@ ...@@ -1014,7 +1057,12 @@
.. code-block:: python .. code-block:: python
{ {
"contract_unids":["xxxx","xxxx",...] #合同编号 "contract_unids": #合同编号集合
[
"2018-032",
"2018-079",
...
]
} }
...@@ -1022,7 +1070,7 @@ ...@@ -1022,7 +1070,7 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/customer | Path: /api/v1/financial/contracts/customers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -1035,9 +1083,9 @@ ...@@ -1035,9 +1083,9 @@
"customer_list": #顾客列表集合 "customer_list": #顾客列表集合
[ [
{ {
"customer_unid":"xxxx", #顾客id "customer_unid":"1000", #顾客id
"customer_name":"xxxx" #顾客名称 "customer_name":"金源时代购物中心有限公司" #顾客名称
} },
... ...
] ]
} }
...@@ -1047,7 +1095,7 @@ ...@@ -1047,7 +1095,7 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/project | Path: /api/v1/financial/contracts/projects
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -1060,9 +1108,9 @@ ...@@ -1060,9 +1108,9 @@
"project_list": #项目列表集合 "project_list": #项目列表集合
[ [
{ {
"project_unid":"xxxx", #项目id "project_unid":"1234", #项目id
"project_name":"xxxx" #项目名称 "project_name":"金源时代客流项目" #项目名称
} },
... ...
] ]
} }
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Sphinx stylesheet -- basic theme. * Sphinx stylesheet -- basic theme.
* *
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
...@@ -82,9 +82,21 @@ div.sphinxsidebar input { ...@@ -82,9 +82,21 @@ div.sphinxsidebar input {
} }
div.sphinxsidebar #searchbox input[type="text"] { div.sphinxsidebar #searchbox input[type="text"] {
width: 170px; float: left;
width: 80%;
padding: 0.25em;
box-sizing: border-box;
}
div.sphinxsidebar #searchbox input[type="submit"] {
float: left;
width: 20%;
border-left: none;
padding: 0.25em;
box-sizing: border-box;
} }
img { img {
border: 0; border: 0;
max-width: 100%; max-width: 100%;
...@@ -199,6 +211,11 @@ table.modindextable td { ...@@ -199,6 +211,11 @@ table.modindextable td {
/* -- general body styles --------------------------------------------------- */ /* -- general body styles --------------------------------------------------- */
div.body {
min-width: 450px;
max-width: 800px;
}
div.body p, div.body dd, div.body li, div.body blockquote { div.body p, div.body dd, div.body li, div.body blockquote {
-moz-hyphens: auto; -moz-hyphens: auto;
-ms-hyphens: auto; -ms-hyphens: auto;
...@@ -332,6 +349,11 @@ table.docutils { ...@@ -332,6 +349,11 @@ table.docutils {
border-collapse: collapse; border-collapse: collapse;
} }
table.align-center {
margin-left: auto;
margin-right: auto;
}
table caption span.caption-number { table caption span.caption-number {
font-style: italic; font-style: italic;
} }
...@@ -398,6 +420,13 @@ table.field-list td, table.field-list th { ...@@ -398,6 +420,13 @@ table.field-list td, table.field-list th {
margin: 0; margin: 0;
} }
.field-name {
-moz-hyphens: manual;
-ms-hyphens: manual;
-webkit-hyphens: manual;
hyphens: manual;
}
/* -- other body styles ----------------------------------------------------- */ /* -- other body styles ----------------------------------------------------- */
ol.arabic { ol.arabic {
...@@ -438,10 +467,14 @@ dd { ...@@ -438,10 +467,14 @@ dd {
margin-left: 30px; margin-left: 30px;
} }
dt:target, .highlighted { dt:target, span.highlighted {
background-color: #fbe54e; background-color: #fbe54e;
} }
rect.highlighted {
fill: #fbe54e;
}
dl.glossary dt { dl.glossary dt {
font-weight: bold; font-weight: bold;
font-size: 1.1em; font-size: 1.1em;
......
.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}} .fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}
/*# sourceMappingURL=badge_only.css.map */
This diff could not be displayed because it is too large.
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Sphinx JavaScript utilities for all documentation. * Sphinx JavaScript utilities for all documentation.
* *
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
...@@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent; ...@@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent;
* it will always return arrays of strings for the value parts. * it will always return arrays of strings for the value parts.
*/ */
jQuery.getQueryParameters = function(s) { jQuery.getQueryParameters = function(s) {
if (typeof s == 'undefined') if (typeof s === 'undefined')
s = document.location.search; s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&'); var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {}; var result = {};
...@@ -66,29 +66,55 @@ jQuery.getQueryParameters = function(s) { ...@@ -66,29 +66,55 @@ jQuery.getQueryParameters = function(s) {
* span elements with the given class name. * span elements with the given class name.
*/ */
jQuery.fn.highlightText = function(text, className) { jQuery.fn.highlightText = function(text, className) {
function highlight(node) { function highlight(node, addItems) {
if (node.nodeType == 3) { if (node.nodeType === 3) {
var val = node.nodeValue; var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text); var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { if (pos >= 0 &&
var span = document.createElement("span"); !jQuery(node.parentNode).hasClass(className) &&
!jQuery(node.parentNode).hasClass("nohighlight")) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className; span.className = className;
}
span.appendChild(document.createTextNode(val.substr(pos, text.length))); span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore( node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)), document.createTextNode(val.substr(pos + text.length)),
node.nextSibling)); node.nextSibling));
node.nodeValue = val.substr(0, pos); node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var bbox = span.getBBox();
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
var parentOfText = node.parentNode.parentNode;
addItems.push({
"parent": node.parentNode,
"target": rect});
}
} }
} }
else if (!jQuery(node).is("button, select, textarea")) { else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() { jQuery.each(node.childNodes, function() {
highlight(this); highlight(this, addItems);
}); });
} }
} }
return this.each(function() { var addItems = [];
highlight(this); var result = this.each(function() {
highlight(this, addItems);
}); });
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
}; };
/* /*
...@@ -131,21 +157,21 @@ var Documentation = { ...@@ -131,21 +157,21 @@ var Documentation = {
* i18n support * i18n support
*/ */
TRANSLATIONS : {}, TRANSLATIONS : {},
PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; },
LOCALE : 'unknown', LOCALE : 'unknown',
// gettext and ngettext don't access this so that the functions // gettext and ngettext don't access this so that the functions
// can safely bound to a different name (_ = Documentation.gettext) // can safely bound to a different name (_ = Documentation.gettext)
gettext : function(string) { gettext : function(string) {
var translated = Documentation.TRANSLATIONS[string]; var translated = Documentation.TRANSLATIONS[string];
if (typeof translated == 'undefined') if (typeof translated === 'undefined')
return string; return string;
return (typeof translated == 'string') ? translated : translated[0]; return (typeof translated === 'string') ? translated : translated[0];
}, },
ngettext : function(singular, plural, n) { ngettext : function(singular, plural, n) {
var translated = Documentation.TRANSLATIONS[singular]; var translated = Documentation.TRANSLATIONS[singular];
if (typeof translated == 'undefined') if (typeof translated === 'undefined')
return (n == 1) ? singular : plural; return (n == 1) ? singular : plural;
return translated[Documentation.PLURALEXPR(n)]; return translated[Documentation.PLURALEXPR(n)];
}, },
...@@ -180,7 +206,7 @@ var Documentation = { ...@@ -180,7 +206,7 @@ var Documentation = {
* see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
*/ */
fixFirefoxAnchorBug : function() { fixFirefoxAnchorBug : function() {
if (document.location.hash) if (document.location.hash && $.browser.mozilla)
window.setTimeout(function() { window.setTimeout(function() {
document.location.href += ''; document.location.href += '';
}, 10); }, 10);
...@@ -216,7 +242,7 @@ var Documentation = { ...@@ -216,7 +242,7 @@ var Documentation = {
var src = $(this).attr('src'); var src = $(this).attr('src');
var idnum = $(this).attr('id').substr(7); var idnum = $(this).attr('id').substr(7);
$('tr.cg-' + idnum).toggle(); $('tr.cg-' + idnum).toggle();
if (src.substr(-9) == 'minus.png') if (src.substr(-9) === 'minus.png')
$(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); $(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
else else
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); $(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
...@@ -248,7 +274,7 @@ var Documentation = { ...@@ -248,7 +274,7 @@ var Documentation = {
var path = document.location.pathname; var path = document.location.pathname;
var parts = path.split(/\//); var parts = path.split(/\//);
$.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
if (this == '..') if (this === '..')
parts.pop(); parts.pop();
}); });
var url = parts.join('/'); var url = parts.join('/');
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"sphinx-rtd-theme":[function(require,module,exports){ /* sphinx_rtd_theme version 0.4.0 | MIT license */
var jQuery = (typeof(window) != 'undefined') ? window.jQuery : require('jquery'); /* Built 20180606 11:06 */
require=function n(e,i,t){function o(s,a){if(!i[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(r)return r(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=i[s]={exports:{}};e[s][0].call(u.exports,function(n){var i=e[s][1][n];return o(i||n)},u,u.exports,n,e,i,t)}return i[s].exports}for(var r="function"==typeof require&&require,s=0;s<t.length;s++)o(t[s]);return o}({"sphinx-rtd-theme":[function(n,e,i){var jQuery="undefined"!=typeof window?window.jQuery:n("jquery");e.exports.ThemeNav={navBar:null,win:null,winScroll:!1,winResize:!1,linkScroll:!1,winPosition:0,winHeight:null,docHeight:null,isRunning:!1,enable:function(n){var e=this;void 0===n&&(n=!0),e.isRunning||(e.isRunning=!0,jQuery(function(i){e.init(i),e.reset(),e.win.on("hashchange",e.reset),n&&e.win.on("scroll",function(){e.linkScroll||e.winScroll||(e.winScroll=!0,requestAnimationFrame(function(){e.onScroll()}))}),e.win.on("resize",function(){e.winResize||(e.winResize=!0,requestAnimationFrame(function(){e.onResize()}))}),e.onResize()}))},enableSticky:function(){this.enable(!0)},init:function(n){n(document);var e=this;this.navBar=n("div.wy-side-scroll:first"),this.win=n(window),n(document).on("click","[data-toggle='wy-nav-top']",function(){n("[data-toggle='wy-nav-shift']").toggleClass("shift"),n("[data-toggle='rst-versions']").toggleClass("shift")}).on("click",".wy-menu-vertical .current ul li a",function(){var i=n(this);n("[data-toggle='wy-nav-shift']").removeClass("shift"),n("[data-toggle='rst-versions']").toggleClass("shift"),e.toggleCurrent(i),e.hashChange()}).on("click","[data-toggle='rst-current-version']",function(){n("[data-toggle='rst-versions']").toggleClass("shift-up")}),n("table.docutils:not(.field-list,.footnote,.citation)").wrap("<div class='wy-table-responsive'></div>"),n("table.docutils.footnote").wrap("<div class='wy-table-responsive footnote'></div>"),n("table.docutils.citation").wrap("<div class='wy-table-responsive citation'></div>"),n(".wy-menu-vertical ul").not(".simple").siblings("a").each(function(){var i=n(this);expand=n('<span class="toctree-expand"></span>'),expand.on("click",function(n){return e.toggleCurrent(i),n.stopPropagation(),!1}),i.prepend(expand)})},reset:function(){var n=encodeURI(window.location.hash)||"#";try{var e=$(".wy-menu-vertical"),i=e.find('[href="'+n+'"]');if(0===i.length){var t=$('.document [id="'+n.substring(1)+'"]').closest("div.section");0===(i=e.find('[href="#'+t.attr("id")+'"]')).length&&(i=e.find('[href="#"]'))}i.length>0&&($(".wy-menu-vertical .current").removeClass("current"),i.addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l1").parent().addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l2").addClass("current"),i.closest("li.toctree-l3").addClass("current"),i.closest("li.toctree-l4").addClass("current"))}catch(o){console.log("Error expanding nav for anchor",o)}},onScroll:function(){this.winScroll=!1;var n=this.win.scrollTop(),e=n+this.winHeight,i=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(i),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(n){var e=n.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find("> ul li.current").removeClass("current"),e.toggleClass("current")}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:e.exports.ThemeNav,StickyNav:e.exports.ThemeNav}),function(){for(var n=0,e=["ms","moz","webkit","o"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var t=(new Date).getTime(),o=Math.max(0,16-(t-n)),r=window.setTimeout(function(){e(t+o)},o);return n=t+o,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){clearTimeout(n)})}()},{jquery:"jquery"}]},{},["sphinx-rtd-theme"]);
// Sphinx theme nav state
function ThemeNav () {
var nav = {
navBar: null,
win: null,
winScroll: false,
winResize: false,
linkScroll: false,
winPosition: 0,
winHeight: null,
docHeight: null,
isRunning: false
};
nav.enable = function () {
var self = this;
if (!self.isRunning) {
self.isRunning = true;
jQuery(function ($) {
self.init($);
self.reset();
self.win.on('hashchange', self.reset);
// Set scroll monitor
self.win.on('scroll', function () {
if (!self.linkScroll) {
self.winScroll = true;
}
});
setInterval(function () { if (self.winScroll) self.onScroll(); }, 25);
// Set resize monitor
self.win.on('resize', function () {
self.winResize = true;
});
setInterval(function () { if (self.winResize) self.onResize(); }, 25);
self.onResize();
});
};
};
nav.init = function ($) {
var doc = $(document),
self = this;
this.navBar = $('div.wy-side-scroll:first');
this.win = $(window);
// Set up javascript UX bits
$(document)
// Shift nav in mobile when clicking the menu.
.on('click', "[data-toggle='wy-nav-top']", function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
})
// Nav menu link click operations
.on('click', ".wy-menu-vertical .current ul li a", function() {
var target = $(this);
// Close menu when you click a link.
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
// Handle dynamic display of l3 and l4 nav lists
self.toggleCurrent(target);
self.hashChange();
})
.on('click', "[data-toggle='rst-current-version']", function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
})
// Make tables responsive
$("table.docutils:not(.field-list)")
.wrap("<div class='wy-table-responsive'></div>");
// Add expand links to all parents of nested ul
$('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () {
var link = $(this);
expand = $('<span class="toctree-expand"></span>');
expand.on('click', function (ev) {
self.toggleCurrent(link);
ev.stopPropagation();
return false;
});
link.prepend(expand);
});
};
nav.reset = function () {
// Get anchor from URL and open up nested nav
var anchor = encodeURI(window.location.hash);
if (anchor) {
try {
var link = $('.wy-menu-vertical')
.find('[href="' + anchor + '"]');
// If we didn't find a link, it may be because we clicked on
// something that is not in the sidebar (eg: when using
// sphinxcontrib.httpdomain it generates headerlinks but those
// aren't picked up and placed in the toctree). So let's find
// the closest header in the document and try with that one.
if (link.length === 0) {
var doc_link = $('.document a[href="' + anchor + '"]');
var closest_section = doc_link.closest('div.section');
// Try again with the closest section entry.
link = $('.wy-menu-vertical')
.find('[href="#' + closest_section.attr("id") + '"]');
}
$('.wy-menu-vertical li.toctree-l1 li.current')
.removeClass('current');
link.closest('li.toctree-l2').addClass('current');
link.closest('li.toctree-l3').addClass('current');
link.closest('li.toctree-l4').addClass('current');
}
catch (err) {
console.log("Error expanding nav for anchor", err);
}
}
};
nav.onScroll = function () {
this.winScroll = false;
var newWinPosition = this.win.scrollTop(),
winBottom = newWinPosition + this.winHeight,
navPosition = this.navBar.scrollTop(),
newNavPosition = navPosition + (newWinPosition - this.winPosition);
if (newWinPosition < 0 || winBottom > this.docHeight) {
return;
}
this.navBar.scrollTop(newNavPosition);
this.winPosition = newWinPosition;
};
nav.onResize = function () {
this.winResize = false;
this.winHeight = this.win.height();
this.docHeight = $(document).height();
};
nav.hashChange = function () {
this.linkScroll = true;
this.win.one('hashchange', function () {
this.linkScroll = false;
});
};
nav.toggleCurrent = function (elem) {
var parent_li = elem.closest('li');
parent_li.siblings('li.current').removeClass('current');
parent_li.siblings().find('li.current').removeClass('current');
parent_li.find('> ul li.current').removeClass('current');
parent_li.toggleClass('current');
}
return nav;
};
module.exports.ThemeNav = ThemeNav();
if (typeof(window) != 'undefined') {
window.SphinxRtdTheme = { StickyNav: module.exports.ThemeNav };
}
},{"jquery":"jquery"}]},{},["sphinx-rtd-theme"]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Sphinx JavaScript utilities for the full-text search. * Sphinx JavaScript utilities for the full-text search.
* *
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
...@@ -540,6 +540,9 @@ var Search = { ...@@ -540,6 +540,9 @@ var Search = {
}); });
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
var suffix = DOCUMENTATION_OPTIONS.SOURCELINK_SUFFIX; var suffix = DOCUMENTATION_OPTIONS.SOURCELINK_SUFFIX;
if (suffix === undefined) {
suffix = '.txt';
}
$.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[5] + (item[5].slice(-suffix.length) === suffix ? '' : suffix), $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[5] + (item[5].slice(-suffix.length) === suffix ? '' : suffix),
dataType: "text", dataType: "text",
complete: function(jqxhr, textstatus) { complete: function(jqxhr, textstatus) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* sphinx.websupport utilities for all documentation. * sphinx.websupport utilities for all documentation.
* *
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
li.hide(); li.hide();
// Determine where in the parents children list to insert this comment. // Determine where in the parents children list to insert this comment.
for(i=0; i < siblings.length; i++) { for(var i=0; i < siblings.length; i++) {
if (comp(comment, siblings[i]) <= 0) { if (comp(comment, siblings[i]) <= 0) {
$('#cd' + siblings[i].id) $('#cd' + siblings[i].id)
.parent() .parent()
......
...@@ -25,25 +25,17 @@ ...@@ -25,25 +25,17 @@
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="#" />
<link rel="search" title="Search" href="search.html" />
<link rel="index" title="Index"
href="#"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="finance_serv 1.0 documentation" href="index.html"/>
<script src="_static/js/modernizr.min.js"></script> <script src="_static/js/modernizr.min.js"></script>
</head> </head>
<body class="wy-body-for-nav" role="document"> <body class="wy-body-for-nav">
<div class="wy-grid-for-nav"> <div class="wy-grid-for-nav">
...@@ -105,7 +97,7 @@ ...@@ -105,7 +97,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">finance_serv</a> <a href="index.html">finance_serv</a>
...@@ -113,8 +105,8 @@ ...@@ -113,8 +105,8 @@
</nav> </nav>
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">
...@@ -132,6 +124,7 @@ ...@@ -132,6 +124,7 @@
<div role="navigation" aria-label="breadcrumbs navigation"> <div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs"> <ul class="wy-breadcrumbs">
...@@ -164,10 +157,8 @@ ...@@ -164,10 +157,8 @@
</div> </div>
<div class="articleComments">
</div> </div>
</div>
<footer> <footer>
...@@ -179,7 +170,7 @@ ...@@ -179,7 +170,7 @@
</p> </p>
</div> </div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer> </footer>
...@@ -198,6 +189,7 @@ ...@@ -198,6 +189,7 @@
var DOCUMENTATION_OPTIONS = { var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./', URL_ROOT:'./',
VERSION:'1.0', VERSION:'1.0',
LANGUAGE:'None',
COLLAPSE_INDEX:false, COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true, HAS_SOURCE: true,
...@@ -210,19 +202,13 @@ ...@@ -210,19 +202,13 @@
<script type="text/javascript" src="_static/js/theme.js"></script> <script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(function () { jQuery(function () {
SphinxRtdTheme.StickyNav.enable(); SphinxRtdTheme.Navigation.enable(true);
}); });
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -24,26 +24,18 @@ ...@@ -24,26 +24,18 @@
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="1. 数据库设计" href="01-db.html" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="finance_serv 1.0 documentation" href="#"/>
<link rel="next" title="1. 数据库设计" href="01-db.html"/>
<script src="_static/js/modernizr.min.js"></script> <script src="_static/js/modernizr.min.js"></script>
</head> </head>
<body class="wy-body-for-nav" role="document"> <body class="wy-body-for-nav">
<div class="wy-grid-for-nav"> <div class="wy-grid-for-nav">
...@@ -105,7 +97,7 @@ ...@@ -105,7 +97,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="#">finance_serv</a> <a href="#">finance_serv</a>
...@@ -113,8 +105,8 @@ ...@@ -113,8 +105,8 @@
</nav> </nav>
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">
...@@ -132,6 +124,7 @@ ...@@ -132,6 +124,7 @@
<div role="navigation" aria-label="breadcrumbs navigation"> <div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs"> <ul class="wy-breadcrumbs">
...@@ -170,9 +163,8 @@ ...@@ -170,9 +163,8 @@
<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#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#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#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#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#id10">1.9. 客户表</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-db.html#id11">1.10. 客户表</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a><ul> <li class="toctree-l1"><a class="reference internal" href="02-finance-http.html">2. 财务进度服务http接口</a><ul>
...@@ -220,9 +212,10 @@ ...@@ -220,9 +212,10 @@
<li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id32">2.6.4. 删除销售合同工程验收信息</a></li> <li class="toctree-l3"><a class="reference internal" href="02-finance-http.html#id32">2.6.4. 删除销售合同工程验收信息</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id33">2.7. 查询合同编号</a></li> <li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id33">2.7. 上传附件</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id34">2.8. 查询顾客表</a></li> <li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id34">2.8. 查询合同编号</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id35">2.9. 查询项目表</a></li> <li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id35">2.9. 查询顾客表</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-finance-http.html#id36">2.10. 查询项目表</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="99-history.html">3. 修订历史</a><ul> <li class="toctree-l1"><a class="reference internal" href="99-history.html">3. 修订历史</a><ul>
...@@ -243,10 +236,8 @@ ...@@ -243,10 +236,8 @@
</div> </div>
<div class="articleComments">
</div> </div>
</div>
<footer> <footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
...@@ -265,7 +256,7 @@ ...@@ -265,7 +256,7 @@
</p> </p>
</div> </div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer> </footer>
...@@ -284,6 +275,7 @@ ...@@ -284,6 +275,7 @@
var DOCUMENTATION_OPTIONS = { var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./', URL_ROOT:'./',
VERSION:'1.0', VERSION:'1.0',
LANGUAGE:'None',
COLLAPSE_INDEX:false, COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true, HAS_SOURCE: true,
...@@ -296,19 +288,13 @@ ...@@ -296,19 +288,13 @@
<script type="text/javascript" src="_static/js/theme.js"></script> <script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(function () { jQuery(function () {
SphinxRtdTheme.StickyNav.enable(); SphinxRtdTheme.Navigation.enable(true);
}); });
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -24,25 +24,17 @@ ...@@ -24,25 +24,17 @@
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="#" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="#"/>
<link rel="top" title="finance_serv 1.0 documentation" href="index.html"/>
<script src="_static/js/modernizr.min.js"></script> <script src="_static/js/modernizr.min.js"></script>
</head> </head>
<body class="wy-body-for-nav" role="document"> <body class="wy-body-for-nav">
<div class="wy-grid-for-nav"> <div class="wy-grid-for-nav">
...@@ -104,7 +96,7 @@ ...@@ -104,7 +96,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">finance_serv</a> <a href="index.html">finance_serv</a>
...@@ -112,8 +104,8 @@ ...@@ -112,8 +104,8 @@
</nav> </nav>
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">
...@@ -131,6 +123,7 @@ ...@@ -131,6 +123,7 @@
<div role="navigation" aria-label="breadcrumbs navigation"> <div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs"> <ul class="wy-breadcrumbs">
...@@ -142,6 +135,8 @@ ...@@ -142,6 +135,8 @@
<li class="wy-breadcrumbs-aside"> <li class="wy-breadcrumbs-aside">
</li> </li>
</ul> </ul>
...@@ -167,10 +162,8 @@ ...@@ -167,10 +162,8 @@
</div> </div>
</div> </div>
<div class="articleComments">
</div> </div>
</div>
<footer> <footer>
...@@ -182,7 +175,7 @@ ...@@ -182,7 +175,7 @@
</p> </p>
</div> </div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer> </footer>
...@@ -201,6 +194,7 @@ ...@@ -201,6 +194,7 @@
var DOCUMENTATION_OPTIONS = { var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./', URL_ROOT:'./',
VERSION:'1.0', VERSION:'1.0',
LANGUAGE:'None',
COLLAPSE_INDEX:false, COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true, HAS_SOURCE: true,
...@@ -214,19 +208,13 @@ ...@@ -214,19 +208,13 @@
<script type="text/javascript" src="_static/js/theme.js"></script> <script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(function () { jQuery(function () {
SphinxRtdTheme.StickyNav.enable(); SphinxRtdTheme.Navigation.enable(true);
}); });
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(function() { Search.loadIndex("searchindex.js"); }); jQuery(function() { Search.loadIndex("searchindex.js"); });
</script> </script>
......
Search.setIndex({docnames:["01-db","02-finance-http","99-history","index"],envversion:51,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":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\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\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,"\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,"\u9a8c\u6536\u5907\u6ce8":[0,1],"\u9a8c\u6536\u65f6\u95f4":[0,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],acceptanc:1,acceptanc_d:[0,1],acceptanc_not:[0,1],acceptanc_typ:[0,1],acceptanc_unid:[0,1],account_state_unid:1,actual_reback_amount:[0,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,bad_amount:[0,1],bad_amount_not:[0,1],bodi:1,bool:0,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_unid:[0,1],ecod:1,end_dat:1,end_guarantee_d:[0,1],enot:1,exemptions_amount:[0,1],financi:1,get:1,goods_acceptanc_d:[0,1],goods_check_d:[],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_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_data: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,reback:1,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_not:[0,1],receipt_progress:[0,1],receipt_propor:1,receipt_unid:[0,1],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_acceptanc: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,xxx: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 \ 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],"\u4e0a\u4f20\u9644\u4ef6":3,"\u4e0a\u4f20\u9644\u4ef6\u6587\u4ef6":1,"\u4e1a\u52a1\u8868\u4e3b\u952e":0,"\u4e1a\u52a1\u8868\u540d":[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":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\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,1],"\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\u72b6\u6001":[0,1],"\u5408\u540c\u7c7b\u578b":[0,1],"\u5408\u540c\u7f16\u53f7":[0,1],"\u5408\u540c\u7f16\u53f7\u8868":[],"\u5408\u540c\u7f16\u53f7\u96c6\u5408":1,"\u5408\u540c\u91d1\u989d":[0,1],"\u5408\u540c\u91d1\u989d\u5907\u6ce8":[0,1],"\u5408\u540c\u9644\u4ef6":1,"\u5408\u540c\u9644\u4ef6unid":[],"\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":[],"\u6cb3\u5317\u7701":[],"\u732e\u53bf":[],"\u76ee\u524d\u53d6\u503c\u8303\u56f4":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":[],"\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":1,"\u8d28\u4fdd\u671f\u5f00\u59cb\u8282\u70b9":[0,1],"\u8d28\u4fdd\u671f\u7ed3\u675f\u65f6\u95f4":1,"\u8d77\u59cb\u4f4d\u7f6e":1,"\u8fc7code\u670d\u52a1\u8fdb\u884c\u9009\u62e9":0,"\u8fd4\u56de\u8bf4\u660e":1,"\u8fdb\u884c\u9009\u62e9":0,"\u9009\u62e9":0,"\u901a":0,"\u901a\u8fc7":0,"\u901a\u8fc7auth\u670d\u52a1\u83b7\u53d6":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,"\u91d1\u6e90\u65f6\u4ee3\u8d2d\u7269\u4e2d\u5fc3\u6709\u9650\u516c\u53f8":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,1],"\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":[],"\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\u7ec8\u9a8c\u65f6\u95f4":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,"\u9a8c\u6536\u5907\u6ce8":[0,1],"\u9a8c\u6536\u65f6\u95f4":[0,1],"\u9a8c\u6536\u7c7b\u578b":[0,1],"\u9a8c\u6536unid":1,"\u9a8c\u6536unid\u6570\u7ec4":1,"code\u670d\u52a1\u884c\u9009\u62e9":0,"code\u670d\u52a1\u884c\u9009\u62e9\u884c\u9009\u62e9":0,"export":1,"file\u7c7b\u578b":1,"float":0,"int":0,"oa\u6d41\u6c34\u53f7":[0,1],"true":1,acceptanc:1,acceptanc_d:[0,1],acceptanc_not:[0,1],acceptanc_typ:[0,1],acceptanc_unid:[0,1],account_state_unid:1,actual_reback_amount:[0,1],amount_point:1,amount_state_unid:[0,1],api:1,appendix:1,appendix_data:1,appendix_fil:1,appendix_list:1,appendix_nam:0,appendix_typ:0,appendix_unid:[0,1],appendix_url:[0,1],applic:1,area:1,bad_amount:[0,1],bad_amount_not:[0,1],bodi:1,bool:0,business_t:[0,1],business_unid:0,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:[],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],data:1,date:0,deduct_amount:[0,1],delet:1,deliv:1,deliver_goods_d:[0,1],deliver_unid:[0,1],ecod:1,end_dat:1,end_guarantee_d:[0,1],enot:1,exemptions_amount:[0,1],fals:1,financi:1,form:1,get:1,goods_acceptanc_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_end_d:1,mainten_start_d:1,mainten_start_point:[0,1],modul:3,month:1,multipart: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_data: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_acceptanc:1,project_list:1,project_nam:[0,1],project_name__lik:1,project_unid:[0,1],provinc:[0,1],put:1,reback:1,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_not:[0,1],receipt_progress:[0,1],receipt_propor:1,receipt_unid:[0,1],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:[],tb_custom:0,tb_deliver_good:0,tb_payment_agre:0,tb_project:0,tb_project_acceptanc: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,upload:1,verb:1,xxx:[],xxxx:1,xxxxx:1,xxxxxxx: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:{"\u4e0a\u4f20\u9644\u4ef6":1,"\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":[],"\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 \ No newline at end of file
...@@ -9,71 +9,70 @@ ...@@ -9,71 +9,70 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 | | 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+ +=======================+=============+===========+===========+=========+==========================+
| contract_unid | *是* | FK | <=32 | 是 | 合同id | | contract_unid | *是* | PK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| salesperson_unid | *是* | FK | <=32 | 否 | 销售员id | | salesperson_unid | *是* | string | <=255 | 否 |销售员id,通过auth服务获取|
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| project_unid | *是* | FK | <=32 | 否 | 项目id | | project_unid | *是* | FK | <=32 | 否 | 项目id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| customer_unid | *是* | FK | <=32 | 否 | 客户id | | customer_unid | *是* | FK | <=32 | 否 | 客户id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| province | *是* | string | <=32 | 否 | 项目所在地的省份 | | province | *否* | string | <=32 | 否 | 项目所在地的省份,通过 |
| | | | | | code服务行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| city | *是* | string | <=32 | 否 | 项目所在地的市 | | city | *否* | string | <=32 | 否 | 项目所在地的市,通过 |
| | | | | | code服务行选择行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| county | *是* | string | <=32 | 否 | 项目所在地的县(区) | | county | *否* | string | <=32 | 否 | 项目所在地的县(区),通 |
| | | | | | 过code服务进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| guarantee_period | ** | int | | 否 | 质保周期,单位是月 | | guarantee_period | ** | int | | 否 | 质保周期,单位是月 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| sign_date | ** | date | | 否 | 签订时间 | | sign_date | ** | date | | 否 | 签订时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| product_line_type | ** | string | <=32 | 否 | 产品线类型,通过code服务 | | product_line_type | ** | string | <=32 | 否 | 产品线类型,通过code服务 |
| | | | | | 进行选择 | | | | | | | 进行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_state | ** | string | <=32 | 否 | 合同状态,通过code服务进 | | contract_state | ** | string | <=32 | 否 | 合同状态,通过code服务进 |
| | | | | | 行选择 | | | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_type | ** | string | <=32 | 否 | 合同类型,通过code服务进 | | contract_type | ** | string | <=32 | 否 | 合同类型,通过code服务进 |
| | | | | | 行选择 | | | | | | | 行选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount | ** | float | | 否 | 合同金额 | | contract_amount | ** | float | | 否 | 合同金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| deduct_amount | ** | float | | 否 | 抵扣金额 | | deduct_amount | ** | float | | 否 | 抵扣金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_amount_note | *否* | text | | 否 | 合同金额备注 | | contract_amount_note | *否* | text | | 否 | 合同金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| stop_amount | ** | float | | 否 | 暂停金额 | | stop_amount | ** | float | | 否 | 暂停金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| reback_note | *否* | text | | 否 | 累计回款额备注 | | reback_note | *否* | text | | 否 | 累计回款额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| exemptions_amount | ** | float | | 否 | 豁免金额 | | exemptions_amount | ** | float | | 否 | 豁免金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_remain_note | *否* | text | | 否 | 合同余额备注 | | contract_remain_note | *否* | text | | 否 | 合同余额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_archive | ** | bool | | 否 | 是否归档 | | is_archive | ** | bool | | 否 | 是否归档 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount | ** | float | | 否 | 坏账金额 | | bad_amount | ** | float | | 否 | 坏账金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| bad_amount_note | *否* | text | | 否 | 坏账金额备注 | | bad_amount_note | *否* | text | | 否 | 坏账金额备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| confirm_income_amount | ** | float | | 否 | 确定收入金额 | | confirm_income_amount | ** | float | | 否 | 确定收入金额 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| amount_state_unid | ** | string | <=32 | 否 | 账款状态,通过code服务进行| | amount_state_unid | ** | string | <=32 | 否 | 账款状态,通过code服务进行|
| | | | | | 选择 | | | | | | | 选择 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| start_guarantee_date | *是* | date | | 否 | 维保服务期开始时间 | | start_guarantee_date | *否* | date | | 否 | 维保服务期开始时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| end_guarantee_date | *是* | date | | 否 | 维保服务期结束时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| mainten_start_point | *是* | string | <=32 | 否 | 质保期开始节点 | | end_guarantee_date | *否* | date | | 否 | 维保服务期结束时间 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| mainten_start_date | *是* | date | | 否 | 质保期开始时间 | | mainten_start_point | *否* | string | <=32 | 否 | 质保期开始节点 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| contract_note | *否* | text | | 否 | 合同备注 | | contract_note | *否* | text | | 否 | 合同备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| is_delete | *是* | bool | | 否 | 合同删除标识 | | is_delete | *否* | bool | | 否 | 合同删除标识 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
...@@ -165,8 +164,6 @@ ...@@ -165,8 +164,6 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| goods_acceptanc_date | *是* | date | | 否 | 到货验收日期 | | goods_acceptanc_date | *是* | date | | 否 | 到货验收日期 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
工程验收信息表 工程验收信息表
...@@ -187,8 +184,6 @@ ...@@ -187,8 +184,6 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| acceptanc_note | *否* | text | | 否 | 验收备注 | | acceptanc_note | *否* | text | | 否 | 验收备注 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_unid | *否* | FK | | 否 | 附件id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
附件表 附件表
...@@ -201,6 +196,10 @@ ...@@ -201,6 +196,10 @@
+=======================+=============+===========+===========+=========+==========================+ +=======================+=============+===========+===========+=========+==========================+
| appendix_unid | *是* | PK | <=32 | 是 | 附件主键 | | appendix_unid | *是* | PK | <=32 | 是 | 附件主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| business_table | *是* | string | <=32 | 否 | 业务表名 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| business_unid | *否* | string | <=32 | 否 | 业务表主键 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_name | *是* | string | <=255 | 否 | 附件文件名 | | appendix_name | *是* | string | <=255 | 否 | 附件文件名 |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
| appendix_type | *是* | string | <=32 | 否 | 附件类型 | | appendix_type | *是* | string | <=32 | 否 | 附件类型 |
...@@ -209,16 +208,6 @@ ...@@ -209,16 +208,6 @@
+-----------------------+-------------+-----------+-----------+---------+--------------------------+ +-----------------------+-------------+-----------+-----------+---------+--------------------------+
合同编号表
++++++++++++
表名:tb_contract_code
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
| 字段名称 | 是否必填 | 类型 | 限制 | 唯一 | 说明 |
+=======================+=============+===========+===========+=========+==========================+
| contract_unid | *是* | PK | <=32 | 是 | 合同id |
+-----------------------+-------------+-----------+-----------+---------+--------------------------+
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
************* *************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract | Path: /api/v1/financial/contracts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -17,35 +17,34 @@ ...@@ -17,35 +17,34 @@
{ {
"constract_unid":"2018-079", #合同unid "constract_unid":"2018-079", #合同unid
"salesperson_unid":"xxxx", #销售员unid "salesperson_unid":"1235", #销售员unid
"project_unid":"xxxx", #项目unid "project_unid":"1000", #项目unid
"customer_unid":"xxxx", #客户unid "customer_unid":"1000", #客户unid
"province":"河北省", #项目所在地的省份 "province":"1234", #项目所在地的省份,通过code服务进行查询
"city":"沧州市", #项目所在地的市区 "city":"1234", #项目所在地的市区,通过code服务进行查询
"county":"献县", #项目所在地的县或区 "county":"1234", #项目所在地的县或区,通过code服务进行查询
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6 "guarantee_period":6, #质保周期,月份,步长为6(目前取值范围:6~60)
"sign_date":"2018/3/9", #签订时间 "sign_date":"2018-03-09", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保) "product_line_type":"1", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保) "contract_type":"3", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位 "contract_amount":140000.00, #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位 "deduct_amount":5000.00, #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本 "contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位 "stop_amount":200.00, #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本 "reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位 "exemptions_amount":100.00, #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注 "contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档 "is_archive":false, #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位 "bad_amount":5000.00, #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注 "bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位 "confirm_income_amount":144000.00, #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态,通过code服务进行查询 "amount_state_unid":"3", #帐款状态,通过code服务进行查询
"start_guarantee_date":"xxxx", #维保服务期开始时间 "start_guarantee_date":"2018-02-03", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间 "end_guarantee_date":"2018-06-09", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点 "mainten_start_point":"3", #质保期开始节点(签订时间,到货验收时间,项目终验时间)
"mainten_start_date":"xxxx", #质保期开始时间
"contract_note":"xxxx", #合同备注 "contract_note":"xxxx", #合同备注
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段) "appendix_unids":["xxxx","xxxx",...] #合同附件(若有附件上传该字段)
} }
Response Body: Response Body:
...@@ -64,7 +63,7 @@ ...@@ -64,7 +63,7 @@
****************** ******************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{contract_unid} | Path: /api/v1/financial/contracts/{$contract_unid}
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -79,46 +78,46 @@ ...@@ -79,46 +78,46 @@
"project_unid":"12321", #项目unid "project_unid":"12321", #项目unid
"project_name":"金源时代客流项目", #项目名称 "project_name":"金源时代客流项目", #项目名称
"customer_unid":"1234", #客户unid "customer_unid":"1234", #客户unid
"customer_name":"北京金源时代购物中心有限公司", #客户名称 "customer_name":"金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在地的省份 "province":"1010", #项目所在地的省份
"city":"沧州市", #项目所在地的市区 "city":"2350", #项目所在地的市区
"county":"献县", #项目所在地的县或区 "county":"2120", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6 "guarantee_period":6, #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间 "sign_date":"2018-03-09", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保) "product_line_type":"2", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质,(供货,施工,集成,维保) "contract_type":"5", #合同性质,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位 "contract_amount":140000.00, #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位 "deduct_amount":5000.00, #折扣金额,小数点保留两位
"total_reback_amount":"xxxx", #累计回款额 "total_reback_amount":50000.00, #累计回款额
"contract_amount_note":"xxxx", #合同金额备注,文本 "contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位 "stop_amount":6000.00, #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本 "reback_note":"xxxx", #累计回款额备注,文本
"contract_remain":"xxxx", #合同余额 "contract_remain":3000.00, #合同余额
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位 "exemptions_amount":400.00, #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注 "contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档 "is_archive":false, #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位 "bad_amount":15500.00, #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注 "bad_amount_note":"xxxx", #坏账金额备注
"total_receive_amount":"xxxx", #累计应收款,小数点保留两位 "total_receive_amount":800.00, #累计应收款,小数点保留两位
"total_amount_remain":"xxxx", #应收账款余额 "total_amount_remain":6000.00, #应收账款余额
"over_days":"xxxx", #逾期天数 "over_days":176, #逾期天数
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位 "confirm_income_amount":130000.00, #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态 "amount_state_unid":"3", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间 "start_guarantee_date":"2018-03-09", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间 "end_guarantee_date":"2018-06-09", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点 "mainten_start_point":"3", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间 "mainten_start_date":"2018-02-03", #质保期开始时间
"mainten_end_date":"xxxx", #质保期结束时间 "mainten_end_date":"2018-06-09", #质保期结束时间
"payment_data":[ #付款约定 "payment_data":[ #付款约定
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"2", #付款进度
"payment_type":"xxxx", #付款类型 "payment_type":"3", #付款类型
"days":"xxxx", #天数 "days":200, #天数
"payment_date":"xxxx", #本期应付款日期 "payment_date":2018-03-02, #本期应付款日期
"payment_amount":"xxxx", #本期应付金额 "payment_amount":1400.00, #本期应付金额
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx" #付款条件 "payment_requirement":"xxxx" #付款条件
}, },
... ...
...@@ -132,7 +131,7 @@ ...@@ -132,7 +131,7 @@
************** **************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid} | Path: /api/v1/financial/contracts/{$constract_unid}
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -140,35 +139,35 @@ ...@@ -140,35 +139,35 @@
.. code-block:: python .. code-block:: python
{ {
"salesperson_unid":"xxxx", #销售员unid "salesperson_unid":"1234", #销售员unid
"project_unid":"xxxx", #项目unid "project_unid":"1232", #项目unid
"customer_unid":"xxxx", #客户unid "customer_unid":"1234", #客户unid
"province":"河北省", #项目所在地的省份 "province":"1000", #项目所在地的省份
"city":"沧州市", #项目所在地的市区 "city":"1234", #项目所在地的市区
"county":"献县", #项目所在地的县或区 "county":"1253", #项目所在地的县或区
"guarantee_period":"6/12/.../60", #质保周期,月份,步长为6 "guarantee_period":6, #质保周期,月份,步长为6
"sign_date":"2018/3/9", #签订时间 "sign_date":"2018-03-09", #签订时间
"product_line_type":"xxxx", #产品线类型,(安防、交通、客流、维保) "product_line_type":"3", #产品线类型,(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态,(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态,(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同类型,(供货,施工,集成,维保) "contract_type":"2", #合同类型,(供货,施工,集成,维保)
"contract_amount":"140000.00", #合同金额,小数点保留两位 "contract_amount":140000.00, #合同金额,小数点保留两位
"deduct_amount":"5000.00", #折扣金额,小数点保留两位 "deduct_amount":5000.00, #折扣金额,小数点保留两位
"contract_amount_note":"xxxx", #合同金额备注,文本 "contract_amount_note":"xxxx", #合同金额备注,文本
"stop_amount":"xxxx", #暂停金额,小数点保留两位 "stop_amount":1500.00, #暂停金额,小数点保留两位
"reback_note":"xxxx", #累计回款额备注,文本 "reback_note":"xxxx", #累计回款额备注,文本
"exemptions_amount":"xxxx", #豁免金额,小数点保留两位 "exemptions_amount":1500.00, #豁免金额,小数点保留两位
"contract_remain_note":"xxxx", #合同余额备注 "contract_remain_note":"xxxx", #合同余额备注
"is_archive":"xxxx", #是否归档 "is_archive":false, #是否归档
"bad_amount":"xxxx", #坏账金额,小数点保留两位 "bad_amount":120000.00, #坏账金额,小数点保留两位
"bad_amount_note":"xxxx", #坏账金额备注 "bad_amount_note":"xxxx", #坏账金额备注
"confirm_income_amount":"xxxx", #确定收入金额,小数点保留两位 "confirm_income_amount":1400.00, #确定收入金额,小数点保留两位
"amount_state_unid":"xxxx", #帐款状态 "amount_state_unid":"2", #帐款状态
"start_guarantee_date":"xxxx", #维保服务期开始时间 "start_guarantee_date":"2018-03-02", #维保服务期开始时间
"end_guarantee_date":"xxxx", #维保服务期结束时间 "end_guarantee_date":"2018-03-02", #维保服务期结束时间
"mainten_start_point":"xxxx", #质保期开始节点 "mainten_start_point":"2", #质保期开始节点
"mainten_start_date":"xxxx", #质保期开始时间 "mainten_start_date":"2018-03-02", #质保期开始时间
"contract_note":"xxxx", #合同备注 "contract_note":"2018-06-02", #合同备注
"appendix_unid":"xxxx", #合同附件unid "appendix_unids":["xxxx","xxxx",...] #合同附件(若有附件上传该字段)
} }
Response Body: Response Body:
...@@ -186,7 +185,7 @@ ...@@ -186,7 +185,7 @@
**************** ****************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid} | Path: /api/v1/financial/contracts/{$contract_unid}
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -205,7 +204,7 @@ ...@@ -205,7 +204,7 @@
******************************** ********************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract | Path: /api/v1/financial/contracts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -216,28 +215,28 @@ ...@@ -216,28 +215,28 @@
"salesperson_name__like":"吴旭", #销售员 "salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称 "project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称 "customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省 "province":"1232", #项目所在省
"city":"沧州市", #项目所在市 "city":"1000", #项目所在市
"county":"献县", #项目所在县(区) "county":"1256", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期 "guarantee_period":7, #质保周期(单位是月)
"year":"2018", #所属年份 "year":"2018", #所属年份
"month":"3", #所属月份 "month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保) "product_line_type":"3", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_type":"xxxx", #合同性质(供货,施工,集成,维保) "contract_type":"2", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验 "acceptanc_type":"2", #验收类型(1为初验,2为终验)
"is_archive":"xxxx", #合同是否归档 "is_archive":false, #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额 "confirm_income_amount":1400.00, #确定收入金额
"amount_state_unid":"xxxx", #账款状态 "amount_state_unid":"3", #账款状态
"start_date":"xxxx", #签订时间,设置开始时间 "start_date":"2018-03-02", #签订时间,设置开始时间
"end_date":"xxxx", #结束时间,设置结束时间 "end_date":"2018-06-09" #结束时间,设置结束时间
"amount_point":"xxxx", #设置金额查询节点 "amount_point":140000.00, #设置金额查询节点
"overdays_point":"xxxx", #设置逾期天数查询节点 "overdays_point":176, #设置逾期天数查询节点
"leave_amount_point":"xxxx", #设置应收账款余额查询节点 "leave_amount_point":11200.00, #设置应收账款余额查询节点
"offset":"xxxx", #起始位置 "offset":45, #起始位置
"limit":"xxxx" #每页显示的数量 "limit":25 #每页显示的数量
} }
Response Body: Response Body:
...@@ -245,47 +244,49 @@ ...@@ -245,47 +244,49 @@
.. code-block:: python .. code-block:: python
{ {
"total_number":"xxxx", #总的数据量 "total_number":1000, #总的数据量
"list_size":"xxxx", #本次返回的列表数量 "list_size":50, #本次返回的列表数量
"offset":"xxxx", #本次返回的起始索引 "offset":70, #本次返回的起始索引
"list_data": #数据列表 "list_data": #数据列表
[ [
{
"contract_code":"2019-079", #合同编号 "contract_code":"2019-079", #合同编号
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保) "product_line_type":"3", #产品线类型(安防、交通、客流、维保)
"sign_date":"xxxx", #签订日期 "sign_date":"2018-02-03", #签订日期
"salesperson_name":"xxxx", #销售员名称 "salesperson_name":"1000", #销售员名称
"province":"河北省", #所在省份 "province":"1000", #所在省份
"city":"沧州市", #所在市 "city":"1234", #所在市
"county":"献县", #所在县(区) "county":"1000", #所在县(区)
"customer_name":"北京金源时代购物中心有限公司", #客户名称 "customer_name":"北京金源时代购物中心有限公司", #客户名称
"project_name":"金源时代客流项目", #项目名称 "project_name":"金源时代客流项目", #项目名称
"contract_amount":"xxxx", #合同金额 "contract_amount":140000.00, #合同金额
"stop_amount":"xxxx", #暂停金额 "stop_amount":5000.00, #暂停金额
"bad_amount":"xxxx", #坏账金额 "bad_amount":4000.00, #坏账金额
"exemptions_amount":"xxxx", #豁免金额 "exemptions_amount":5000.00, #豁免金额
"deduct_amount":"xxxx", #抵扣金额 "deduct_amount":7000.00, #抵扣金额
"total_reback_amount":"xxxx", #累计已收款 "total_reback_amount":600.00, #累计已收款
"contract_remain":"xxxx", #合同余额 "contract_remain":8000.00, #合同余额
"account_state_unid":"xxxx", #账款状态 "account_state_unid":"3", #账款状态
"total_receive_amount":"xxxx", #累计应收 "total_receive_amount":15000.00, #累计应收
"total_amount_remain":"xxxx", #应收账款余额 "total_amount_remain":8000.00, #应收账款余额
"over_days":"xxxx", #逾期天数 "over_days":176, #逾期天数
"payment_data":[ #付款约定 "payment_data":[ #付款约定
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"2", #付款进度
"payment_type":"xxxx", #付款类型 "payment_type":"3", #付款类型
"days":"xxxx", #天数 "days":198, #天数
"payment_date":"xxxx", #本期应付款日期 "payment_date":"2018-03-02", #本期应付款日期
"payment_amount":"xxxx", #本期应付金额 "payment_amount":"2018-06-07", #本期应付金额
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx" #付款条件 "payment_requirement":"xxxx" #付款条件
}, },
... ...
], ],
"contract_note":"xxxx" #合同备注 "contract_note":"xxxx" #合同备注
], },
...... ...
]
} }
...@@ -293,7 +294,7 @@ ...@@ -293,7 +294,7 @@
************************************************ ************************************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/export | Path: /api/v1/financial/contracts/export
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -304,25 +305,25 @@ ...@@ -304,25 +305,25 @@
"salesperson_name__like":"吴旭", #销售员 "salesperson_name__like":"吴旭", #销售员
"project_name__like":"金源时代客流项目", #项目名称 "project_name__like":"金源时代客流项目", #项目名称
"customer_name__like":"北京金源时代购物中心有限公司", #客户名称 "customer_name__like":"北京金源时代购物中心有限公司", #客户名称
"province":"河北省", #项目所在省 "province":"1000", #项目所在省
"city":"沧州市", #项目所在市 "city":"1245", #项目所在市
"area":"献县", #项目所在县(区) "area":"5623", #项目所在县(区)
"guarantee_period":"xxxx", #质保周期 "guarantee_period":24, #质保周期
"year":"2018", #所属年份 "year":"2018", #所属年份
"month":"3", #所属月份 "month":"3", #所属月份
"product_line_type":"xxxx", #产品线类型(安防、交通、客流、维保) "product_line_type":"3", #产品线类型(安防、交通、客流、维保)
"contract_state":"xxxx", #合同状态(已完成、待发货,施工中,项目暂停) "contract_state":"2", #合同状态(已完成、待发货,施工中,项目暂停)
"contract_nature":"xxxx", #合同性质(供货,施工,集成,维保) "contract_type":"3", #合同性质(供货,施工,集成,维保)
"is_end_check":"xxxx", #是否终验 "is_end_check":true, #是否终验
"is_archive":"xxxx", #合同是否归档 "is_archive":false, #合同是否归档
"confirm_income_amount":"xxxx", #确定收入金额 "confirm_income_amount":14000.00, #确定收入金额
"amount_state_unid":"xxxx", #账款状态 "amount_state_unid":"3", #账款状态
"start_date":"xxxx", #签订时间,设置开始时间 "start_date":"2018-03-02", #签订时间,设置开始时间
"end_date":"xxxx", #结束时间,设置结束时间 "end_date":"2018-06-09", #结束时间,设置结束时间
"amount_point":"xxxx", #设置金额查询节点 "amount_point":14000.00, #设置金额查询节点
"overdays_point":"xxxx", #设置逾期天数查询节点 "overdays_point":176, #设置逾期天数查询节点
"leave_amount_point":"xxxx" #设置应收账款余额查询节点 "leave_amount_point":1400.00 #设置应收账款余额查询节点
} }
Response Body:无 Response Body:无
...@@ -335,7 +336,7 @@ ...@@ -335,7 +336,7 @@
************************** **************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/payment | Path: /api/v1/financial/contracts/{$constract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -346,12 +347,12 @@ ...@@ -346,12 +347,12 @@
"list_payment_data": #付款约定信息表 "list_payment_data": #付款约定信息表
[ [
{ {
"payment_progress":"xxxx", #付款进度(1,2,3,4) "payment_progress":"2", #付款进度(1,2,3,4)
"payment_type":"xxxx", #付款类型,通过code服务进行选择 "payment_type":"3", #付款类型,通过code服务进行选择
"days":"xxxx", #天数 "days":45, #天数
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
}, },
...... ...
] ]
} }
...@@ -370,7 +371,7 @@ ...@@ -370,7 +371,7 @@
*************************** ***************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/payment | Path: /api/v1/financial/contracts/{$constract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -384,15 +385,15 @@ ...@@ -384,15 +385,15 @@
[ [
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"1", #付款进度
"payment_type":"xxxx", #付款类型 "payment_type":"2", #付款类型
"days":"xxxx", #天数 "days":23, #天数
"payment_date":"xxxx", #本期应付款日期 "payment_date":"2018-03-02", #本期应付款日期
"payment_amount":"xxxx", #本期应付金额 "payment_amount":14000.00, #本期应付金额
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx", #付款条件 "payment_requirement":"xxxx", #付款条件
}, },
...... ...
] ]
} }
...@@ -401,7 +402,7 @@ ...@@ -401,7 +402,7 @@
****************************** ******************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/payment | Path: /api/v1/financial/contracts/{$constract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -413,13 +414,13 @@ ...@@ -413,13 +414,13 @@
[ [
{ {
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
"payment_progress":"xxxx", #付款进度 "payment_progress":"2", #付款进度
"payment_type":"xxx", #付款类型 "payment_type":"3", #付款类型
"days":"xxxx", #天数 "days":30, #天数
"payment_propority":"xxxx", #付款比例 "payment_propority":0.30, #付款比例
"payment_requirement":"xxxx" #付款条件 "payment_requirement":"xxxx" #付款条件
}, },
...... ...
] ]
} }
...@@ -438,7 +439,7 @@ ...@@ -438,7 +439,7 @@
******************************* *******************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/payment | Path: /api/v1/financial/contracts/{$contract_unid}/payments
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -449,7 +450,7 @@ ...@@ -449,7 +450,7 @@
"payment_unids": #付款unid数组 "payment_unids": #付款unid数组
[ [
"payment_unid":"xxxx", #付款unid "payment_unid":"xxxx", #付款unid
...... ...
] ]
} }
...@@ -470,7 +471,7 @@ ...@@ -470,7 +471,7 @@
************************ ************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/reback | Path: /api/v1/financial/contracts/{$constract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -483,12 +484,12 @@ ...@@ -483,12 +484,12 @@
"list_reback_data": #合同回款信息表 "list_reback_data": #合同回款信息表
[ [
{ {
"reback_progress ":"xxxx", #回款进度 "reback_progress ":"1", #回款进度
"reback_date":"xxxx", #回款时间 "reback_date":"2018-06-03", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额 "actual_reback_amount":14000.00, #实际回款数额
"reback_note":"xxxx", #回款备注 "reback_note":"xxxx", #回款备注
}, },
...... ...
] ]
} }
...@@ -507,7 +508,7 @@ ...@@ -507,7 +508,7 @@
*********************** ***********************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/reback | Path: /api/v1/financial/contracts/{$constract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -521,13 +522,13 @@ ...@@ -521,13 +522,13 @@
[ [
{ {
"reback_unid":"xxxx", #回款unid "reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度 "reback_progress":"2", #回款进度
"reback_date":"xxxx", #回款时间 "reback_date":"2018-03-02", #回款时间
"reback_propority":"xxxx", #回款比例 "reback_propority":0.30, #回款比例
"actual_reback_amount":"xxxx", #实际回款数额 "actual_reback_amount":14000.00, #实际回款数额
"reback_note":"xxxx", #回款备注 "reback_note":"xxxx", #回款备注
}, },
...... ...
] ]
} }
...@@ -536,7 +537,7 @@ ...@@ -536,7 +537,7 @@
*********************** ***********************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/reback | Path: /api/v1/financial/contracts/{$constract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -548,12 +549,12 @@ ...@@ -548,12 +549,12 @@
[ [
{ {
"reback_unid":"xxxx", #回款unid "reback_unid":"xxxx", #回款unid
"reback_progress":"xxxx", #回款进度 "reback_progress":"3", #回款进度
"reback_date":"xxxx", #回款时间 "reback_date":"2018-03-02", #回款时间
"actual_reback_amount":"xxxx", #实际回款数额 "actual_reback_amount":14000.00, #实际回款数额
"reback_note ":"xxxx", #回款备注 "reback_note ":"xxxx", #回款备注
}, },
...... ...
] ]
} }
...@@ -571,7 +572,7 @@ ...@@ -571,7 +572,7 @@
************************** **************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/reback | Path: /api/v1/financial/contracts/{$contract_unid}/rebacks
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -582,7 +583,7 @@ ...@@ -582,7 +583,7 @@
"reback_unids": #回款unid数组 "reback_unids": #回款unid数组
[ [
"reback_unid":"xxxx", #回款unid "reback_unid":"xxxx", #回款unid
...... ...
] ]
} }
...@@ -603,7 +604,7 @@ ...@@ -603,7 +604,7 @@
**************************** ****************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/receipt | Path: /api/v1/financial/contracts/{$constract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -614,12 +615,12 @@ ...@@ -614,12 +615,12 @@
"list_receipt_data": #合同发票信息表 "list_receipt_data": #合同发票信息表
[ [
{ {
"receipt_progress":"xxxx", #开票进度 "receipt_progress":"3", #开票进度
"receipt_amount":"xxxx", #开票金额 "receipt_amount":14000.00, #开票金额
"oa_flow_id":"xxxx", #oa流水号 "oa_flow_id":"12345", #oa流水号
"receipt_note":"xxxx", #发票备注 "receipt_note":"xxxx", #发票备注
}, },
...... ...
] ]
} }
...@@ -637,7 +638,7 @@ ...@@ -637,7 +638,7 @@
**************************** ****************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/receipt | Path: /api/v1/financial/contracts/{$constract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -651,15 +652,15 @@ ...@@ -651,15 +652,15 @@
[ [
{ {
"receipt_unid":"xxxx", #发票unid "receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票次数 "receipt_progress":"3", #开票次数
"oa_flow_id ":"xxxx", #oa流水号 "oa_flow_id ":"12345", #oa流水号
"receipt_amount":"xxxx", #开票金额 "receipt_amount":14000.00, #开票金额
"total_receipt_amount":"xxxx", #累计开票金额 "total_receipt_amount":5000.00, #累计开票金额
"receipt_propority":"xxxx", #开票比例 "receipt_propority":0.30, #开票比例
"receipt_note":"xxxx", #开票备注 "receipt_note":"xxxx", #开票备注
"create_date":"xxxx", #开票时间 "create_date":"2018-03-02", #开票时间
}, },
...... ...
] ]
} }
...@@ -668,7 +669,7 @@ ...@@ -668,7 +669,7 @@
********************************* *********************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/receipt | Path: /api/v1/financial/contracts/{$constract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -680,12 +681,12 @@ ...@@ -680,12 +681,12 @@
[ [
{ {
"receipt_unid":"xxxx", #发票unid "receipt_unid":"xxxx", #发票unid
"receipt_progress":"xxxx", #开票进度 "receipt_progress":"3", #开票进度
"receipt_amount":"xxxx", #开票金额 "receipt_amount":14000.00, #开票金额
"oa_flow_id":"xxxx", #oa流水号 "oa_flow_id":"12345", #oa流水号
"receipt_note":"xxxx", #发票备注 "receipt_note":"xxxx", #发票备注
}, },
...... ...
] ]
} }
...@@ -704,7 +705,7 @@ ...@@ -704,7 +705,7 @@
****************************** ******************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/receipt | Path: /api/v1/financial/contracts/{$contract_unid}/receipts
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -715,7 +716,7 @@ ...@@ -715,7 +716,7 @@
"receipt_unids": #发票unid数组 "receipt_unids": #发票unid数组
[ [
"receipt_unid":"xxxx", #发票unid "receipt_unid":"xxxx", #发票unid
...... ...
] ]
} }
...@@ -737,7 +738,7 @@ ...@@ -737,7 +738,7 @@
**************************** ****************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/deliver | Path: /api/v1/financial/contracts/{$constract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -748,12 +749,12 @@ ...@@ -748,12 +749,12 @@
"list_deliver_data": #合同发货信息表 "list_deliver_data": #合同发货信息表
[ [
{ {
"deliver_goods_date":"xxxx", #发货时间 "deliver_goods_date":"2018-03-02", #发货时间
"goods_acceptanc_date":"xxxx", #到货验收时间 "goods_acceptanc_date":"2018-06-03", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件 "goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段 "appendix_unids":["xxxx","xxxx",...] #合同附件(若有附件上传该字段)
}, },
...... ...
] ]
} }
...@@ -772,7 +773,7 @@ ...@@ -772,7 +773,7 @@
************************ ************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/deliver | Path: /api/v1/financial/contracts/{$constract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -786,11 +787,18 @@ ...@@ -786,11 +787,18 @@
[ [
{ {
"deliver_unid":"xxxx", #发货unid "deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间 "deliver_goods_date":"2018-03-02", #发货时间
"goods_acceptanc_date ":"xxxx", #到货验收时间 "goods_acceptanc_date ":"2018-06-09", #到货验收时间
"appendix_unid":"xxxx", #附件id "appendix_list": #附件列表集合
[
{
"appendix_unid":"1234", #附件unid
"appendix_url":"http://xxxx.pdf" #附件url
}
...
]
}, },
...... ...
] ]
} }
...@@ -798,7 +806,7 @@ ...@@ -798,7 +806,7 @@
************************ ************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/deliver | Path: /api/v1/financial/contracts/{$constract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -810,12 +818,12 @@ ...@@ -810,12 +818,12 @@
[ [
{ {
"deliver_unid":"xxxx", #发货unid "deliver_unid":"xxxx", #发货unid
"deliver_goods_date":"xxxx", #发货时间 "deliver_goods_date":"2018-03-02", #发货时间
"goods_acceptanc_date":"xxxx", #到货验收时间 "goods_acceptanc_date":"2018-03-02", #到货验收时间
"goods_sign_appendix":"xxxx", #到货签收单附件 "goods_sign_appendix":"xxxx", #到货签收单附件
"appendix_unid":"xxxx", #合同附件(若有附件上传该字段必传 "appendix_unids":["xxxx","xxxx",...], #合同附件(若有附件上传该字段
}, },
...... ...
] ]
} }
...@@ -834,7 +842,7 @@ ...@@ -834,7 +842,7 @@
************************** **************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/deliver | Path: /api/v1/financial/contracts/{$contract_unid}/delivers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -845,7 +853,7 @@ ...@@ -845,7 +853,7 @@
"deliver_unids": #发货unid数组 "deliver_unids": #发货unid数组
[ [
"deliver_unid":"xxxx", #发货unid "deliver_unid":"xxxx", #发货unid
...... ...
] ]
} }
...@@ -867,7 +875,7 @@ ...@@ -867,7 +875,7 @@
****************************** ******************************
| Verb: POST | Verb: POST
| Path: /api/v1/financial/contract/{constract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$constract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -878,8 +886,8 @@ ...@@ -878,8 +886,8 @@
"list_check_data": "list_check_data":
[ [
{ {
"acceptanc_type":"xxxx", #验收类型(1为初验、2为终验 "acceptanc_type":"1", #验收类型(1为初验、2为终验
"acceptanc_date":"xxxx", #验收时间 "acceptanc_date":"2018-06-09", #验收时间
"acceptanc_note":"xxxx" #验收备注 "acceptanc_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表 "appendix_unids":["1234","5678",...] #附件列表
} }
...@@ -902,7 +910,7 @@ ...@@ -902,7 +910,7 @@
************************** **************************
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/{constract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$constract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -916,8 +924,8 @@ ...@@ -916,8 +924,8 @@
[ [
{ {
"acceptanc_unid":"xxxx", #工程id "acceptanc_unid":"xxxx", #工程id
"acceptanc_type":"xxxx", #验收类型 "acceptanc_type":"2", #验收类型
"acceptanc_date":"xxxx", #验收时间 "acceptanc_date":"2018-07-02", #验收时间
"acceptanc_note":"xxxx", #验收备注 "acceptanc_note":"xxxx", #验收备注
"appendix_list": #附件列表集合 "appendix_list": #附件列表集合
[ [
...@@ -928,7 +936,7 @@ ...@@ -928,7 +936,7 @@
... ...
] ]
}, },
...... ...
] ]
} }
...@@ -938,7 +946,7 @@ ...@@ -938,7 +946,7 @@
******************************* *******************************
| Verb: PUT | Verb: PUT
| Path: /api/v1/financial/contract/{constract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$constract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -950,11 +958,12 @@ ...@@ -950,11 +958,12 @@
[ [
{ {
"acceptanc_unid":"xxxx", #工程验收unid "acceptanc_unid":"xxxx", #工程验收unid
"acceptanc_type":"xxxx", #验收类型(1为初验、2为终验) "acceptanc_type":"2", #验收类型(1为初验、2为终验)
"acceptanc_date":"xxxx", #验收时间 "acceptanc_date":"2018-05-02", #验收时间
"acceptanc_note":"xxxx" #验收备注 "acceptanc_note":"xxxx" #验收备注
"appendix_unids":["1234","5678",...] #附件列表 "appendix_unids":["1234","5678",...] #附件列表
} },
...
] ]
} }
...@@ -974,7 +983,7 @@ ...@@ -974,7 +983,7 @@
***************************** *****************************
| Verb: DELETE | Verb: DELETE
| Path: /api/v1/financial/contract/{contract_unid}/project/acceptanc | Path: /api/v1/financial/contracts/{$contract_unid}/project/acceptancs
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body: Request Body:
...@@ -985,7 +994,7 @@ ...@@ -985,7 +994,7 @@
"acceptanc_unids": #验收unid数组 "acceptanc_unids": #验收unid数组
[ [
"acceptanc_unid":"xxxx", #验收unid "acceptanc_unid":"xxxx", #验收unid
...... ...
] ]
} }
...@@ -1000,11 +1009,45 @@ ...@@ -1000,11 +1009,45 @@
} }
上传附件
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: POST
| Path: /api/v1/financial/contracts/{$constract_unid}/upload/appendixes
| Header: (Content-Type: multipart/form-data)
Request Body:
.. code-block:: python
{
"business_table":"project_acceptanc", #业务表名
"appendix_files":["xxxx","xxxxx"] #上传附件文件(file类型
}
Response Body:
.. code-block:: python
{
"appendix_data":[
{
"business_table":"project_acceptanc", #业务表名
"appendix_unid":"xxxxxxx" #附件主键
},
...
]
}
查询合同编号 查询合同编号
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/code | Path: /api/v1/financial/contracts/codes
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -1014,7 +1057,12 @@ ...@@ -1014,7 +1057,12 @@
.. code-block:: python .. code-block:: python
{ {
"contract_unids":["xxxx","xxxx",...] #合同编号 "contract_unids": #合同编号集合
[
"2018-032",
"2018-079",
...
]
} }
...@@ -1022,7 +1070,7 @@ ...@@ -1022,7 +1070,7 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/customer | Path: /api/v1/financial/contracts/customers
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -1035,9 +1083,9 @@ ...@@ -1035,9 +1083,9 @@
"customer_list": #顾客列表集合 "customer_list": #顾客列表集合
[ [
{ {
"customer_unid":"xxxx", #顾客id "customer_unid":"1000", #顾客id
"customer_name":"xxxx" #顾客名称 "customer_name":"金源时代购物中心有限公司" #顾客名称
} },
... ...
] ]
} }
...@@ -1047,7 +1095,7 @@ ...@@ -1047,7 +1095,7 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Verb: GET | Verb: GET
| Path: /api/v1/financial/contract/project | Path: /api/v1/financial/contracts/projects
| Header: (Content-Type: application/json) | Header: (Content-Type: application/json)
Request Body:无 Request Body:无
...@@ -1060,9 +1108,9 @@ ...@@ -1060,9 +1108,9 @@
"project_list": #项目列表集合 "project_list": #项目列表集合
[ [
{ {
"project_unid":"xxxx", #项目id "project_unid":"1234", #项目id
"project_name":"xxxx" #项目名称 "project_name":"金源时代客流项目" #项目名称
} },
... ...
] ]
} }
\ No newline at end of file \ 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!