1
0

outhelfByWave.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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. .mui-switch:before {
  21. font-size: 13px;
  22. position: absolute;
  23. top: 3px;
  24. right: 11px;
  25. content: attr(data-off);
  26. text-transform: uppercase;
  27. color: #999;
  28. }
  29. .mui-switch.mui-active:before {
  30. right: auto;
  31. left: 15px;
  32. content: attr(data-on);
  33. color: #fff;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <header class="mui-bar mui-bar-nav">
  39. <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
  40. <h1 class="mui-title">波次下架</h1>
  41. </header>
  42. </head>
  43. <body style="font-size: 16px;padding-top: 10px;">
  44. <div class="mui-content">
  45. <form class="mui-input-group">
  46. <div class="mui-input-row">
  47. <label>波次单号</label>
  48. <input type="search" class="mui-input-clear" placeholder="扫描波次单号或运单号" id="waveNo" style="text-align: left;">
  49. </div>
  50. <div class="mui-input-row" onclick="showUnOutShelfDetails()" style="width:100%;font-size: 10pt;height: 20px;line-height: 20px;">
  51. <label style="width: 15%;height: 20px;padding-top: 1px;padding-bottom: 0px;">
  52. &nbsp;<i class="fa fa-angle-double-down" id="showUnOutShelfIco"></i>
  53. </label>
  54. <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  55. <span id="barcode1">&nbsp;</span>
  56. </label>
  57. <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  58. <span id="productName">&nbsp;</span>
  59. </label>
  60. <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  61. <span id="locationCode">&nbsp;</span>
  62. </label>
  63. <label style="width: 5%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  64. <span id="quantity">&nbsp;</span>
  65. </label>
  66. <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  67. <span id="extend4">&nbsp;</span>
  68. </label>
  69. </div>
  70. <div class="mui-input-row" id="showUnOutShelfDetails" style="max-height: 60px;overflow-y: auto;display: none;" >
  71. <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px;">
  72. <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" >
  73. <thead>
  74. <tr>
  75. <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
  76. 商品条码
  77. </th>
  78. <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
  79. 商品名称
  80. </th>
  81. <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
  82. 库位号
  83. </th>
  84. <th style="text-align: left;font-size: 10pt;width:5%;height: 15px;line-height: 10px">
  85. 数量
  86. </th>
  87. <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
  88. 分拣
  89. </th>
  90. </tr>
  91. </thead>
  92. <tbody id="unOutShelfItemList">
  93. </tbody>
  94. </table>
  95. </label>
  96. </div>
  97. <div class="mui-input-row">
  98. <label>仓库代码</label>
  99. <input type="text" placeholder="" readonly="readonly" id="warehouseCode" name="warehouseCode" class="readonlyInput" >
  100. </div>
  101. <div class="mui-input-row">
  102. <label>货主代码</label>
  103. <input type="text" placeholder="" readonly="readonly" id="customerCode" class="readonlyInput">
  104. </div>
  105. <div class="mui-input-row">
  106. <label>波次状态</label>
  107. <input type="text" placeholder="" readonly="readonly" id="statusName" class="readonlyInput">
  108. </div>
  109. <!-- <div class="mui-input-row">
  110. <label>库位号码</label>
  111. <input type="text" class="allowClear" placeholder="库位号码" id="locationCode">
  112. </div> -->
  113. <div class="mui-input-row">
  114. <label>商品条码</label>
  115. <input type="text" class="allowClear" placeholder="商品条码" id="barcode">
  116. </div>
  117. <div class="mui-input-row">
  118. <label>下架数量</label>
  119. <input class="mui-input-numbox allowClear" type="number" pattern="\d*" id="productQty" placeholder="输入数量" style="float: left;" />
  120. </div>
  121. <div class="mui-input-row" onclick="alreadyOutShelfDetails()" style="width:100%;font-size: 10pt;height: 20px;line-height: 20px;">
  122. <label style="width: 15%;height: 20px;padding-top: 1px;padding-bottom: 0px;">
  123. &nbsp;<i class="fa fa-angle-double-down" id="showAlreadyOutShelfIco"></i>
  124. </label>
  125. <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  126. <span id="barcode">&nbsp;</span>
  127. </label>
  128. <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  129. <span id="productName">&nbsp;</span>
  130. </label>
  131. <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  132. <span id="locationCode">&nbsp;</span>
  133. </label>
  134. <label style="width: 5%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  135. <span id="quantity">&nbsp;</span>
  136. </label>
  137. <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
  138. <span id="extend4">&nbsp;</span>
  139. </label>
  140. </div>
  141. <div class="mui-input-row" id="alreadyOutShelfDetails" style="max-height: 60px;overflow-y: auto;display: none;" >
  142. <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px;">
  143. <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" >
  144. <thead>
  145. <tr>
  146. <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
  147. 商品条码
  148. </th>
  149. <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
  150. 商品名称
  151. </th>
  152. <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
  153. 库位号
  154. </th>
  155. <th style="text-align: left;font-size: 10pt;width:5%;height: 15px;line-height: 10px">
  156. 数量
  157. </th>
  158. <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
  159. 分拣
  160. </th>
  161. </tr>
  162. </thead>
  163. <tbody id="alreadyOutShelfItemList">
  164. </tbody>
  165. </table>
  166. </label>
  167. </div>
  168. </form>
  169. <div class="mui-content-padded">
  170. <table style="width:100%">
  171. <tr style="text-align: center;">
  172. <td>
  173. <button type="button" data-loading-text="下架中" class="mui-btn mui-btn-primary my-btn" id="subButton" onclick="submitOutShelf()"><i class="fa fa-check">&nbsp;</i>提交</button>
  174. <button type="button" class="mui-btn mui-btn-danger my-btn" onclick="cleanAll()"><i class="fa fa-times">&nbsp;</i>清空</button>
  175. </td>
  176. </tr>
  177. </table>
  178. </div>
  179. </div>
  180. <script src="../../js/mui.min.js"></script>
  181. <script type="text/javascript" src="../../js/jquery/jquery.min.js"></script>
  182. <script type="text/javascript" src="../../js/jquery/jquery.cookie.js"></script>
  183. <script type="text/javascript" src="../../js/wms/common.js"></script>
  184. <script type="text/javascript" src="../../js/wms/datefmt.js"></script>
  185. <script type="text/javascript" src="../../js/wms/formTransformEntity.js"></script>
  186. <script type="text/javascript" src="../../js/wms/appRequest.js?v=001"></script>
  187. <script type="text/javascript" src="../../js/out/waveOutShelf.js?v=010"></script>
  188. <script type="text/javascript" charset="utf-8">
  189. //$.noConflict()//jq 释放 $
  190. //mui初始化
  191. mui.init({
  192. swipeBack: true //启用右滑关闭功能
  193. });
  194. (function($, doc) {
  195. $.init();
  196. $.plusReady(function() {
  197. document.addEventListener("netchange", checkNetwork, false);
  198. function checkNetwork() {
  199. if(plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
  200. mui.toast("网络异常,请检查网络设置!");
  201. }
  202. }
  203. });
  204. document.getElementById("isAutoCountSwitch").addEventListener("toggle", function(event) {
  205. if(event.detail.isActive) {
  206. document.getElementById("isAutoCount").value = "true";
  207. } else {
  208. document.getElementById("isAutoCount").value = "false";
  209. }
  210. })
  211. }(mui, document));
  212. </script>
  213. </body>
  214. </html>