lock_look.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <!-- include 'header' -->
  2. <link rel="stylesheet" href="<?= WEB_SITE_GLOBAL ?>/js/jquery-ui.css" />
  3. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery-ui.js"></script>
  4. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.core.js"></script>
  5. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.widget.js"></script>
  6. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.position.js"></script>
  7. <script src="<?= WEB_SITE_GLOBAL ?>/js/jquery.ui.autocomplete.js"></script>
  8. <script src="<?= WEB_SITE_GLOBAL ?>/js/autoTag.js"></script>
  9. <body>
  10. <div class="mainLayout">
  11. <div class="mainMenu">
  12. <div class="menuItem">
  13. <a href="/" class="mLogo">CLD</a>
  14. <ul>
  15. <!-- include 'menu' -->
  16. </ul>
  17. </div>
  18. </div>
  19. <div class="warpContent">
  20. <div class="contactTab">
  21. <a class="now" href="#">公共锁库</a>
  22. <a href="/statistics">使用统计</a>
  23. <form class="" action="/searchlongle" method="post">
  24. <div class="searchItem"><input type="text" name="search" placeholder="输入锁号进行搜索"><input type="submit" value="搜索" class="subBtn"><input value="新锁" class="subBtn add" type="button" onclick="javascrtpt:window.location.href='/adminlock'"></div>
  25. </form>
  26. </div>
  27. <div class="lockDatabase fL">
  28. <div class="lockCate">
  29. <form class="" id="LS" action="/keyonline" method="post" style="margin:0">
  30. <!-- <div class="fR"><a href="#" class="button">批量添加锁记录</a></div> -->
  31. <ul class="cateList">
  32. <li class="clearfix filter">
  33. <select name="year" onchange="longleSub()">
  34. {{dateHtml}}
  35. </select>
  36. <select name="cid" onchange="longleSub()">
  37. <!-- loop category -->
  38. <option <!-- if {{cid}}=={{category' value.cid}} --> selected <!-- endif --> value="{{category' value.cid}}">{{category' value.title}}</option>
  39. <!-- endloop -->
  40. </select>
  41. <select name="staff" onchange="longleSub()">
  42. <option value="">负责人</option>
  43. <!-- loop staffList -->
  44. <option <!-- if {{staff}}=={{staffList' value.username}} --> selected <!-- endif --> value="{{staffList' value.username}}">{{staffList' value.username}}</option>
  45. <!-- endloop -->
  46. </select>
  47. <select name="status" onchange="longleSub()">
  48. <option <!-- if {{status}}==0 --> selected <!-- endif --> value="0">不限</option>
  49. <option <!-- if {{status}}==1 --> selected <!-- endif --> value="1">生成</option>
  50. <option <!-- if {{status}}==2 --> selected <!-- endif --> value="2">接收</option>
  51. <option <!-- if {{status}}==3 --> selected <!-- endif --> value="3">借出</option>
  52. <option <!-- if {{status}}==4 --> selected <!-- endif --> value="4">销售</option>
  53. <option <!-- if {{status}}==5 --> selected <!-- endif --> value="5">升级</option>
  54. <option <!-- if {{status}}==6 --> selected <!-- endif --> value="6">更换</option>
  55. <option <!-- if {{status}}==7 --> selected <!-- endif --> value="7">收回</option>
  56. </select>
  57. <select name="product" onchange="longleSub()">
  58. <option <!-- if {{productName}}=="" --> selected <!-- endif --> value="">不限</option>
  59. <!-- loop product -->
  60. <option <!-- if {{productName}}=={{product' value.title}} --> selected <!-- endif --> value="{{product' value.title}}">{{product' value.title}}</option>
  61. <!-- endloop -->
  62. </select>
  63. </li>
  64. </ul>
  65. <ul class="lockTableUl">
  66. <li class="clearfix filter"><span>锁号</span><span style="width:18%">产品</span><span>办事处</span><span>出库</span><span>责任人</span><span>状态</span><span>客户</span></li>
  67. </ul>
  68. </form>
  69. </div>
  70. <div class="lockList autoHeightL1">
  71. <ul class="lockTableUl">
  72. <!-- loop longleArray -->
  73. <li class="clearfix"><span><a href="javascript:void(0)" <!-- if {{longleArray' value.status}}!=1 --> id="getLongleLog_{{longle' value.lid}}" <!-- endif --> data="{{longle' value.lid}}">{{longle' value.key_num}}</a></span><span style="width:18%">{{longle' value.product}}</span><span>{{longle' value.category}}</span><span>{{longle' value.make_day}}</span><span><a href="javascript:void(0)" id="getStaffInfo" data="{{longle' value.responsible}}">{{longle' value.responsible}}</a></span><span>{{longle' value.statusT}}</span><span><a href="javascript:void(0)" id="getClientInfo" data="{{longle' value.clientid}},{{longle' value.client}}">{{longle' value.client}}</a></span>
  74. </li>
  75. <!-- endloop -->
  76. </ul>
  77. </div>
  78. </div>
  79. <div class="lockDetil fL">
  80. <div style="display:none;" id="clientInfo"></div>
  81. <div class="contactInfo" style="display:none;" id="staffInfo"></div>
  82. <div id="longleLog" style="display:none;">
  83. <div class="header" style="">
  84. <h1 id="longleTitle"></h1>
  85. <h2><span id="longleResponsible"></span> <span id="longleStatus">收回 / 专业版+河南养护</span></h2>
  86. </div>
  87. <div class="lockRecord autoHeightR2" >
  88. <!--添加记录按钮-->
  89. <!--<div class="toolItem clearfix">
  90. <a href="#" class="button">添加记录</a>
  91. </div> -->
  92. <!--添加记录-->
  93. <div class="toolItem clearfix">
  94. <form name="lock" action="/addDoLockLog" method="post">
  95. <input type="hidden" name="klid" id="klid" ></input>
  96. <div class="control-group">
  97. <label class="control-label" for="inputEmail">记录类型</label>
  98. <div class="controls">
  99. <label class="radio inline">
  100. <input type="radio" name="longleStatus" id="longleStatus_3" value="3" checked>借出
  101. </label>
  102. <label class="radio inline">
  103. <input type="radio" name="longleStatus" id="longleStatus_4" value="4">销售
  104. </label>
  105. <label class="radio inline">
  106. <input type="radio" name="longleStatus" id="longleStatus_9" value="9">赠送
  107. </label>
  108. <label class="radio inline">
  109. <input type="radio" name="longleStatus" id="longleStatus_5" disabled="disabled" value="5">升级
  110. </label>
  111. <label class="radio inline">
  112. <input type="radio" name="longleStatus" id="longleStatus_6" disabled="disabled" value="6">更换
  113. </label>
  114. <label class="radio inline"> <!-- disabled="disabled" -->
  115. <input type="radio" name="longleStatus" id="longleStatus_7" value="7">收回
  116. </label>
  117. <label class="radio inline">
  118. <input type="radio" name="longleStatus" id="longleStatus_8" value="8">备注
  119. </label>
  120. </div>
  121. </div>
  122. <!--添加记录-借锁-->
  123. <div id="longleStatusShow_3">
  124. <div class="control-group" >
  125. <label class="control-label" for="inputPassword">借出客户</label>
  126. <div class="controls">
  127. <span data-placement="right" data-toggle="ctooltip" data-original-title="只允许填写库中存在的客户,若输入客户不存在,请先添加该客户。"><input type="text" name="browseClient" id="tags" value=""></span>
  128. </div>
  129. </div>
  130. <div class="control-group" style="display:none">
  131. <label class="control-label" for="inputPassword">产品</label>
  132. <div class="controls">
  133. <select name="test-browseProduct">
  134. <!-- loop product -->
  135. <option value="{{category' value.title}}">{{category' value.title}}</option>
  136. <!-- endloop -->
  137. </select>
  138. </div>
  139. </div>
  140. </div>
  141. <!--添加记录-销售-->
  142. <div id="longleStatusShow_4" style="display:none;">
  143. <div class="control-group">
  144. <label class="control-label" for="inputPassword">销售客户</label>
  145. <div class="controls">
  146. <span data-placement="right" data-toggle="ctooltip" data-original-title="只允许填写库中存在的客户,若输入客户不存在,请先添加该客户。"><input type="text" name="sellClient" id="tags2" value=""></span>
  147. </div>
  148. </div>
  149. <div class="control-group" style="display:none">
  150. <label class="control-label" for="inputPassword">产品</label>
  151. <div class="controls">
  152. <select name="test-sellProduct"><!-- loop product -->
  153. <option value="{{category' value.title}}">{{category' value.title}}</option>
  154. <!-- endloop --></select>
  155. </div>
  156. </div>
  157. </div>
  158. <!--添加记录-赠送-->
  159. <div id="longleStatusShow_9" style="display:none;">
  160. <div class="control-group">
  161. <label class="control-label" for="inputPassword">赠送客户</label>
  162. <div class="controls">
  163. <span data-placement="right" data-toggle="ctooltip" data-original-title="只允许填写库中存在的客户,若输入客户不存在,请先添加该客户。"><input type="text" name="giftClient" id="tags4" value=""></span>
  164. </div>
  165. </div>
  166. </div>
  167. <!--添加记录-升级-->
  168. <div id="longleStatusShow_5" style="display:none;">
  169. <div class="control-group">
  170. <label class="control-label" for="inputPassword">新增产品</label>
  171. <div class="controls">
  172. <select name="newProduct" id="newProduct">
  173. <!-- loop product -->
  174. <option value="{{product' value.title}}">{{product' value.title}}</option>
  175. <!-- endloop -->
  176. </select>
  177. </div>
  178. </div>
  179. </div>
  180. <!--添加记录-更换-->
  181. <div id="longleStatusShow_6" style="display:none;">
  182. <div class="control-group">
  183. <label class="control-label" for="inputPassword">新锁号</label>
  184. <div class="controls">
  185. <span data-placement="right" data-toggle="ctooltip" data-original-title="只允许填写库中存在锁号,若输入锁号不存在,请先生成/接收该锁。"><input type="text" name="key_num" id="tags3" value=""></span>
  186. </div>
  187. </div>
  188. </div>
  189. <!--添加记录-备注-->
  190. <div id="longleStatusShow_8" style="display:none;">
  191. <div class="control-group">
  192. <label class="control-label" for="inputPassword">备注</label>
  193. <div class="controls">
  194. <textarea style="width:95%" rows="5" name="mark" id="mark"></textarea>
  195. </div>
  196. </div>
  197. </div>
  198. <!--添加记录按钮-->
  199. <div class="control-group clearfix">
  200. <span id='LKMSG'></span>
  201. <input type="button" id="QTP" onclick="RLongMsg()" class="button" value="确定添加" />
  202. <!-- <a href="#" class="button"></a>
  203. <a href="#" class="button btn-gray">取消</a> -->
  204. </div>
  205. </form>
  206. </div>
  207. <!--记录列表-->
  208. <div id="LongleLogHtml"></div>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <!-- if {{reLongle}}!=0 -->
  215. <div class="globalNotice">
  216. <div class="entry clearfix">
  217. <div class="fR">
  218. <a class="button" href="/receive">前往</a>
  219. </div>
  220. <div class="item">
  221. <p>{{reLongle}}个锁需要接收</p>
  222. </div>
  223. </div>
  224. </div>
  225. <!-- endif -->
  226. <script type="text/javascript">autoFlashHeight();</script>
  227. </body>