1
0

check.html 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  6. <meta name="apple-mobile-web-app-capable" content="yes">
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  8. <!--标准mui.css-->
  9. <link rel="stylesheet" href="../../css/mui.min.css">
  10. <!-- FontAwesome字体图标 -->
  11. <link type="text/css" href="../../js/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
  12. <!--App自定义的css-->
  13. <link rel="stylesheet" type="text/css" href="../../css/common.css" />
  14. <style>
  15. .my-btn {
  16. width: 80px;
  17. height: 34px;
  18. margin: 10px auto;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <header class="mui-bar mui-bar-nav">
  24. <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
  25. <h1 class="mui-title">库存盘点</h1>
  26. </header>
  27. <div class="mui-content">
  28. <form class="mui-input-group">
  29. <div class="mui-input-row">
  30. <label>盘点单号</label>
  31. <input type="text" class="mui-input-clear" placeholder="扫描盘点单号" id="inventoryCheckCode">
  32. <input type="text" id="inventoryCheckId" style="display: none;">
  33. </div>
  34. <div class="mui-input-row">
  35. <label>仓库代码</label>
  36. <input type="text" placeholder="" readonly="readonly" id="warehouseCode" name="warehouseCode" class="readonlyInput" >
  37. </div>
  38. <div class="mui-input-row">
  39. <label>货主代码</label>
  40. <input type="text" id="customerId" style="display: none;">
  41. <input type="text" placeholder="" readonly="readonly" id="customerCode" class="readonlyInput">
  42. </div>
  43. <!--
  44. 作者:1279246617@qq.com
  45. 时间:2018-08-14
  46. 描述:计划盘点跟随机盘点不同之处,计划盘点可以获取下一个需要盘点的库位,并统计未盘点的库位,直到结束
  47. -->
  48. <div class="mui-input-row" style="width:100%;font-size: 10pt;font-weight: normal;height: 20px;line-height: 10px;">
  49. <label style="width:100%; height: 20px;padding-top: 4px;padding-bottom: 0px;">
  50. <span style="width:75%;float: left;overflow: hidden;" >
  51. 下一个库位:&nbsp;<span id="nextLocation" style="font-weight: bold;">&nbsp;</span>
  52. </span>
  53. <span style="width:25%; float: left;overflow: hidden;" >
  54. 进度:&nbsp;<span id="prosess" style="font-weight: bold;">0%</span>
  55. </span>
  56. </label>
  57. </div>
  58. <div class="mui-input-row">
  59. <label>盘点库位</label>
  60. <input type="text" class="mui-input-clear" placeholder="扫描库位条码" id="locationCode">
  61. <input type="text" id="inventoryCheckDetailId" style="display: none;">
  62. <input type="text" id="inventoryId" style="display: none;">
  63. </div>
  64. <div class="mui-input-row" onclick="showDetails()" style="width:100%;font-size: 10pt;height: 20px;line-height: 12px;">
  65. <label style="width:100%; height: 20px;padding-top: 0px;padding-bottom: 0px;">
  66. <span style="line-height: 12px;overflow: hidden;font-size: 10pt;">
  67. <i class="fa fa-angle-double-down" id="showIco" style="margin-top: 0px;"></i>
  68. <span style="margin-top: 0px;">本库位待盘库存</span>
  69. </span>
  70. </label>
  71. </div>
  72. <div class="mui-input-row" id="showDetails" style="max-height: 60px;overflow-y: auto;display: none;" >
  73. <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px; font-weight: normal;">
  74. <table style="border-left-width: 0px;border-right-width: 0px; margin-top: 0px;width:100%; height: auto;margin-bottom: 0px;padding-bottom: 0px;border-style:solid;border-color:#EFEFEF" border="1px" >
  75. <thead>
  76. <tr>
  77. <th style="text-align: left;font-size: 10pt;width:32%;height: 15px;line-height: 10px">
  78. 商品条码
  79. </th>
  80. <th style="text-align: left;font-size: 10pt;width:40%;height: 15px;line-height: 10px">
  81. 库存批次
  82. </th>
  83. <th style="text-align: left;font-size: 10pt;width:28%;height: 15px;line-height: 10px">
  84. 系统数量
  85. </th>
  86. </tr>
  87. </thead>
  88. <tbody id="itemList">
  89. </tbody>
  90. </table>
  91. </label>
  92. </div>
  93. <div class="mui-input-row">
  94. <label>商品条码</label>
  95. <input type="text" class="mui-input-clear" placeholder="扫描商品条码" id="barcode">
  96. </div>
  97. <div class="mui-input-row">
  98. <label>展示条码</label>
  99. <input type="text" placeholder="上次扫描的商品条码" id="barcodeShow" readonly="readonly" class="readonlyInput">
  100. </div>
  101. <div class="mui-input-row" style="display: none;">
  102. <label>入库单号</label>
  103. <input type="text" placeholder="库存属性:入库单号" id="inOrderNo" readonly="readonly" class="readonlyInput">
  104. </div>
  105. <div class="mui-input-row" style="">
  106. <label>批次号码</label>
  107. <input type="text" placeholder="批次号码" id="batchNo" readonly="readonly" class="readonlyInput">
  108. </div>
  109. <div class="mui-input-row" style="">
  110. <label>库存品质</label>
  111. <!--
  112. 作者:1279246617@qq.com
  113. 时间:2019-05-10
  114. 描述:盘点时并不能随意选择品质,如需要从正品转次品坏品,使用报损功能 , 选择品质是给盘盈原库位无库存记录的情况
  115. -->
  116. <select id="qualityCode" placeholder="库存品质" class="readonlyInput" onchange="selectQuality()" style="display: none;">
  117. <option value="0"></option>
  118. <option value="1">正品</option>
  119. <option value="2">次品</option>
  120. <option value="3">坏品</option>
  121. </select>
  122. <!--
  123. 作者:1279246617@qq.com
  124. 时间:2019-05-11
  125. 描述:当库位和商品条码可以找到库存时,显示原库存品质,不可编辑,不可选
  126. -->
  127. <input type="text" placeholder="不可编辑,需要转品质,请用报损功能" readonly="readonly" id="qualityName" name="qualityName" class="readonlyInput">
  128. </div>
  129. <div class="mui-input-row">
  130. <label>系统数量</label>
  131. <input type="text" placeholder="系统数量" id="sysQty" readonly="readonly" class="readonlyInput" style="width:35%;float: left;">
  132. </div>
  133. <div class="mui-input-row">
  134. <label>实盘数量</label>
  135. <input class="mui-input-numbox" type="number" pattern="\d*" id="checkQty" placeholder="扫描条码递增或输入数量" style=""/>
  136. </div>
  137. </form>
  138. <div class="mui-content-padded">
  139. <table style="width:100%">
  140. <tr style="text-align: center;">
  141. <td>
  142. <button type="button" class="mui-btn mui-btn-primary my-btn" onclick="submitInventoryCheck()"><i class="fa fa-check">&nbsp;</i>提交</button>
  143. <button type="button" class="mui-btn mui-btn-danger my-btn" onclick="cleanAll()"><i class="fa fa-times">&nbsp;</i>清空</button>
  144. </td>
  145. </tr>
  146. </table>
  147. </div>
  148. </div>
  149. <script src="../../js/mui.min.js"></script>
  150. <script type="text/javascript" src="../../js/jquery/jquery.min.js"></script>
  151. <script type="text/javascript" src="../../js/jquery/jquery.cookie.js"></script>
  152. <script type="text/javascript" src="../../js/wms/common.js"></script>
  153. <script type="text/javascript" src="../../js/wms/datefmt.js"></script>
  154. <script type="text/javascript" src="../../js/wms/formTransformEntity.js"></script>
  155. <script type="text/javascript" src="../../js/wms/appRequest.js"></script>
  156. <script type="text/javascript" src="../../js/inventory/inventory_check_plan.js"></script>
  157. <script type="text/javascript" charset="utf-8">
  158. //$.noConflict()//jq 释放 $
  159. //mui初始化
  160. mui.init({
  161. swipeBack: true //启用右滑关闭功能
  162. });
  163. (function($, doc) {
  164. $.init();
  165. $.plusReady(function() {
  166. document.addEventListener("netchange", checkNetwork, false);
  167. function checkNetwork() {
  168. if (plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
  169. mui.toast("网络异常,请检查网络设置!");
  170. }
  171. }
  172. });
  173. }(mui, document));
  174. </script>
  175. </body>
  176. </html>