stat.html 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script class="include" system="" path="inc/" file="head">include()</script>
  5. </head>
  6. <body>
  7. <div id="content_2" style="display:">
  8. <div class="layui-fluid">
  9. <div class="layui-card" id="stat_data_card" style="display:none">
  10. <div class="layui-card-header">数据概览</div>
  11. <div class="layui-card-body">
  12. <div class="layui-carousel layadmin-carousel layadmin-backlog">
  13. <div carousel-item>
  14. <ul class="layui-row layui-col-space10" id="stat_data"></ul>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="layui-card">
  20. <input type="hidden" name="url1" id="url" value="http://192.168.33.10/churen/package/manage/?l=project/database/list&project=cash&&table=factory&menu=cash&menu_id=88&search_option_state=1&search_option_state=1"/>
  21. <form id="form1" name="form1" method="get" target="f1" action="http://192.168.33.10/churen/package/manage/?l=project/database/list&project=cash&&table=factory&menu=cash&menu_id=88&search_option_state=1">
  22. <input type="hidden" name="l" id="l" value="stat"/>
  23. <input type="hidden" name="project" id="project" value="cash"/>
  24. <input type="hidden" name="table" id="tables" value="factory"/>
  25. <input type="hidden" name="menu" id="menu" value="cash"/>
  26. <input type="hidden" name="search_option_state" id="search_option_state" value="1"/>
  27. <input type="hidden" name="function" id="function" value="msg"/>
  28. <input type="hidden" name="method" id="method" value="search"/>
  29. <div id="search_param"></div>
  30. <iframe id="f1" name="f1" style="display:none;"></iframe>
  31. <div class="layui-card-header" style="display: none;"><span id="list-project">结算对账</span> > <span id="list-name">工厂对账单</span></div>
  32. <div class="layui-card-body" id="search_content" style="">
  33. <div class="layui-form layui-card-header layuiadmin-card-header-auto">
  34. <div class="layui-form-item">
  35. <div id="search"><div style="margin-top:0px;"><div ><div class="layui-inline"><div class="layui-input-inline"><input type="text" value="" placeholder=">=对账单时间" name="start" id="start" class="manage_day update_value form-control layui-input " autocomplete="off"/></div></div><div class="layui-inline"><div class="layui-input-inline"><input type="text" value="" placeholder="<=对账单时间" name="end" id="end" class="manage_day update_value form-control layui-input " autocomplete="off"/></div></div><div class="layui-inline"><div class="layui-input-inline"><select lay-ignore xm-select-radio="" class="update_value form-control layui-input layui-select " name="factory_status" id="factory_status" ><option value="0" selected>对账状态</option><option parent="" value="1" >未对账</option><option parent="" value="2" >已对账</option></select></div></div><div class="layui-inline"><input type="hidden" value="2" name="excel" id="excel"><button class="btn btn-primary layui-btn layuiadmin-btn-list" onclick="list_search($(this))" type="button" style="height: 38px;margin-left:0px;margin-top:-2px;">搜索</button></div></div></div><input type="hidden" value="2" name="page_type" id="page_type" /></div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="layui-card-body">
  40. <div id="table_1" style="display:none"></div>
  41. <div id="table_2" style="display:">
  42. <div id="chart" class="chart" style="display:none"></div>
  43. <table class="table layui-table layui-table-body" id="table">
  44. <thead id="list-thead">
  45. <tr><th data-priority="1">对账单时间</th><th data-priority="1">对账周期</th><th data-priority="1">对账金额</th><th data-priority="1">对账状态</th><th data-priority="1" class="dever-manage">管理</th></tr>
  46. </thead>
  47. <tbody id="list-tbody"><tr><td>2021年11月</td><td>第二个工厂</td><td>2021-11-01 ~ 2021-11-30</td><td>40</td><td>未对账</td><td>未对账</td><td><a href="http://192.168.33.10/churen/package/manage/?l=project/database/list&project=cash&&page_type=2&table=order&project=cash&id=2&page_type=1&type=factory&menu=cash&menu_id=88&search_option_state=1" class="oper_list"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 layui-btn layui-btn-xs"><span class="am-icon-pencil-square-o"></span>查看详情</button></a>&nbsp;&nbsp;<a href="javascript:;" onclick="load('http://192.168.33.10/churen/app/cash/?l=lib/manage.audit&id=2&type=factory', '2021年11月与第二个工厂对账单款项是否正确<br />对账金额¥40元', '请确认')"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 layui-btn layui-btn-xs">确认对账金额</button></a>&nbsp;&nbsp;</td></tr><tr><td>2021年11月</td><td>第二个工厂</td><td>2021-11-01 ~ 2021-11-30</td><td>0</td><td>未对账</td><td>未对账</td><td><a href="http://192.168.33.10/churen/package/manage/?l=project/database/list&project=cash&&page_type=2&table=order&project=cash&id=1&page_type=1&type=factory&menu=cash&menu_id=88&search_option_state=1" class="oper_list"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 layui-btn layui-btn-xs"><span class="am-icon-pencil-square-o"></span>查看详情</button></a>&nbsp;&nbsp;<a href="javascript:;" onclick="load('http://192.168.33.10/churen/app/cash/?l=lib/manage.audit&id=1&type=factory', '2021年11月与第二个工厂对账单款项是否正确<br />对账金额¥0元', '请确认')"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 layui-btn layui-btn-xs">确认对账金额</button></a>&nbsp;&nbsp;</td></tr></tbody>
  48. </table>
  49. <div id="mul"></div>
  50. <div id="page"></div>
  51. <div class="dever_desc" id="desc" style="display:none;"></div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </form>
  57. <form id="form2" name="form2" method="get" style="display: none;"></form>
  58. <div id="struct" style="display:none;"><table border=1 width=100% height=100%><tr><td style=width:30%;line-height:1.75;font-weight:bold>id</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>ID</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>type</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>tinyint-1</td><td style=word-break:break-all;word-wrap:break-word;>对账单类型</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>day</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>对账单时间</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>factory_id</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>对账工厂</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>start</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>对账单开始时间</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>end</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>对账单结束时间</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>cash</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>varchar-100</td><td style=word-break:break-all;word-wrap:break-word;>对账金额</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>num</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>varchar-100</td><td style=word-break:break-all;word-wrap:break-word;>对账数量</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>factory_status</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>工厂对账状态</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>status</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>平台对账状态</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>state</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>tinyint-1</td><td style=word-break:break-all;word-wrap:break-word;>状态</td></tr><tr><td style=width:30%;line-height:1.75;font-weight:bold>cdate</td><td style=width:30%;word-break:break-all;word-wrap:break-word;>int-11</td><td style=word-break:break-all;word-wrap:break-word;>生成时间</td></tr></table></div>
  59. </div>
  60. </div>
  61. </div>
  62. <script class="include" system="" path="inc/" file="script">include()</script>
  63. <script>
  64. layui.config({
  65. base: '../script/lib/layui/admin/' //静态资源所在路径
  66. }).extend({
  67. formSelects: 'plugin/formselects/formselects',
  68. index: 'lib/index' //主入口模块
  69. }).use(['index', 'contlist', 'table', 'form', 'formSelects'], function(){
  70. var table = layui.table;
  71. var form = layui.form;
  72. var formSelects = layui.formSelects;
  73. init();
  74. });
  75. function restart()
  76. {
  77. $('#restart').hide();
  78. $('#update_button').show();
  79. }
  80. </script>
  81. </body>
  82. </html>