1
0

skuInventory.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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">SKU库存</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" placeholder="当前登录的仓库代码" readonly="readonly" id="warehouseCode" name="warehouseCode" class="readonlyInput" >
  32. </div>
  33. <div class="mui-input-row">
  34. <label>库位号码</label>
  35. <input type="text" class="mui-input-clear allowClear" placeholder="扫描库位号" id="locationCode" name="locationCode">
  36. </div>
  37. <div class="mui-input-row">
  38. <label>商品条码</label>
  39. <input type="text" class="mui-input-clear allowClear" placeholder="扫描商品条码" id="barcode" name="barcode">
  40. </div>
  41. <div class="mui-input-row">
  42. <label>货主代码</label>
  43. <input type="text" class="mui-input-clear allowClear" readonly="readonly" placeholder="库存所属货主" id="customerCode" name="customerCode">
  44. </div>
  45. <div class="mui-input-row">
  46. <label>商品SKU</label>
  47. <input type="text" placeholder="商品条码对应的SKU" id="sku" readonly="readonly" class="readonlyInput allowClear">
  48. </div>
  49. <div class="mui-input-row">
  50. <label>库存数量</label>
  51. <input type="text" id="totalQty" placeholder="SKU的总库存数量" readonly="readonly" class="readonlyInput allowClear">
  52. </div>
  53. <div class="mui-input-row" style="width:100%;font-size: 9pt;height: 25px;line-height: 10px; ;">
  54. <label style="width: 100%;height: 20px;padding-top: 5px;padding-bottom: 0px;text-align: left;">
  55. <b>SKU库存</b>
  56. </label>
  57. </div>
  58. <div class="mui-input-row" id="showDetails" style="max-height: 250px;min-height: 100px;; overflow-y: auto;" >
  59. <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px;">
  60. <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" >
  61. <thead>
  62. <tr>
  63. <th style="text-align: left;font-size: 10pt;width:32%;height: 15px;line-height: 10px">
  64. 库位号码
  65. </th>
  66. <th style="text-align: left;font-size: 10pt;width:48%;height: 15px;line-height: 10px">
  67. 商品条码
  68. </th>
  69. <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
  70. 库存数量
  71. </th>
  72. </tr>
  73. </thead>
  74. <tbody id="itemList">
  75. </tbody>
  76. </table>
  77. </label>
  78. </div>
  79. </form>
  80. <div class="mui-content-padded">
  81. <table style="width:100%">
  82. <tr style="text-align: center;">
  83. <td>
  84. <button type="button" class="mui-btn mui-btn-danger my-btn" onclick="cleanAll()"><i class="fa fa-times">&nbsp;</i>清空</button>
  85. </td>
  86. </tr>
  87. </table>
  88. </div>
  89. </div>
  90. <script src="../../js/mui.min.js"></script>
  91. <script type="text/javascript" src="../../js/jquery/jquery.min.js"></script>
  92. <script type="text/javascript" src="../../js/jquery/jquery.cookie.js"></script>
  93. <script type="text/javascript" src="../../js/wms/common.js"></script>
  94. <script type="text/javascript" src="../../js/wms/datefmt.js"></script>
  95. <script type="text/javascript" src="../../js/wms/formTransformEntity.js"></script>
  96. <script type="text/javascript" src="../../js/wms/appRequest.js"></script>
  97. <script type="text/javascript" src="../../js/other/sku_inventory.js?v=9"></script>
  98. <script type="text/javascript" charset="utf-8">
  99. //$.noConflict()//jq 释放 $
  100. //mui初始化
  101. mui.init({
  102. swipeBack: true //启用右滑关闭功能
  103. });
  104. (function($, doc) {
  105. $.init();
  106. $.plusReady(function() {
  107. document.addEventListener("netchange", checkNetwork, false);
  108. function checkNetwork() {
  109. if (plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
  110. mui.toast("网络异常,请检查网络设置!");
  111. }
  112. }
  113. });
  114. }(mui, document));
  115. </script>
  116. </body>
  117. </html>