123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <!--标准mui.css-->
- <link rel="stylesheet" href="../../css/mui.min.css">
- <!-- FontAwesome字体图标 -->
- <link type="text/css" href="../../js/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
- <!--App自定义的css-->
- <link rel="stylesheet" type="text/css" href="../../css/common.css" />
- <style>
- .my-btn {
- width: 80px;
- height: 34px;
- margin: 10px auto;
- }
-
- .mui-switch:before {
- font-size: 13px;
- position: absolute;
- top: 3px;
- right: 11px;
- content: attr(data-off);
- text-transform: uppercase;
- color: #999;
- }
-
- .mui-switch.mui-active:before {
- right: auto;
- left: 15px;
- content: attr(data-on);
- color: #fff;
- }
- </style>
- </head>
- <body>
- <header class="mui-bar mui-bar-nav">
- <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
- <h1 class="mui-title">波次下架</h1>
- </header>
- </head>
- <body style="font-size: 16px;padding-top: 10px;">
- <div class="mui-content">
- <form class="mui-input-group">
- <div class="mui-input-row">
- <label>波次单号</label>
- <input type="search" class="mui-input-clear" placeholder="扫描波次单号或运单号" id="waveNo" style="text-align: left;">
- </div>
- <div class="mui-input-row" onclick="showUnOutShelfDetails()" style="width:100%;font-size: 10pt;height: 20px;line-height: 20px;">
- <label style="width: 15%;height: 20px;padding-top: 1px;padding-bottom: 0px;">
- <i class="fa fa-angle-double-down" id="showUnOutShelfIco"></i>
- </label>
-
- <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="barcode1"> </span>
- </label>
-
- <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="productName"> </span>
- </label>
-
- <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="locationCode"> </span>
- </label>
-
- <label style="width: 5%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="quantity"> </span>
- </label>
-
- <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="extend4"> </span>
- </label>
- </div>
- <div class="mui-input-row" id="showUnOutShelfDetails" style="max-height: 60px;overflow-y: auto;display: none;" >
- <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px;">
- <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" >
- <thead>
- <tr>
- <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
- 商品条码
- </th>
- <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
- 商品名称
- </th>
- <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
- 库位号
- </th>
- <th style="text-align: left;font-size: 10pt;width:5%;height: 15px;line-height: 10px">
- 数量
- </th>
- <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
- 分拣
- </th>
- </tr>
- </thead>
- <tbody id="unOutShelfItemList">
- </tbody>
- </table>
- </label>
- </div>
- <div class="mui-input-row">
- <label>仓库代码</label>
- <input type="text" placeholder="" readonly="readonly" id="warehouseCode" name="warehouseCode" class="readonlyInput" >
- </div>
-
- <div class="mui-input-row">
- <label>货主代码</label>
- <input type="text" placeholder="" readonly="readonly" id="customerCode" class="readonlyInput">
- </div>
-
- <div class="mui-input-row">
- <label>波次状态</label>
- <input type="text" placeholder="" readonly="readonly" id="statusName" class="readonlyInput">
- </div>
-
- <!-- <div class="mui-input-row">
- <label>库位号码</label>
- <input type="text" class="allowClear" placeholder="库位号码" id="locationCode">
- </div> -->
- <div class="mui-input-row">
- <label>商品条码</label>
- <input type="text" class="allowClear" placeholder="商品条码" id="barcode">
- </div>
- <div class="mui-input-row">
- <label>下架数量</label>
- <input class="mui-input-numbox allowClear" type="number" pattern="\d*" id="productQty" placeholder="输入数量" style="float: left;" />
- </div>
-
- <div class="mui-input-row" onclick="alreadyOutShelfDetails()" style="width:100%;font-size: 10pt;height: 20px;line-height: 20px;">
- <label style="width: 15%;height: 20px;padding-top: 1px;padding-bottom: 0px;">
- <i class="fa fa-angle-double-down" id="showAlreadyOutShelfIco"></i>
- </label>
-
- <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="barcode"> </span>
- </label>
-
- <label style="width: 16%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="productName"> </span>
- </label>
-
- <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="locationCode"> </span>
- </label>
-
- <label style="width: 5%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="quantity"> </span>
- </label>
-
- <label style="width: 17%;height: 20px;padding-top: 3px;padding-bottom: 0px;">
- <span id="extend4"> </span>
- </label>
- </div>
- <div class="mui-input-row" id="alreadyOutShelfDetails" style="max-height: 60px;overflow-y: auto;display: none;" >
- <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px;">
- <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" >
- <thead>
- <tr>
- <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
- 商品条码
- </th>
- <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
- 商品名称
- </th>
- <th style="text-align: left;font-size: 10pt;width:16%;height: 15px;line-height: 10px">
- 库位号
- </th>
- <th style="text-align: left;font-size: 10pt;width:5%;height: 15px;line-height: 10px">
- 数量
- </th>
- <th style="text-align: left;font-size: 10pt;width:20%;height: 15px;line-height: 10px">
- 分拣
- </th>
- </tr>
- </thead>
- <tbody id="alreadyOutShelfItemList">
- </tbody>
- </table>
- </label>
- </div>
- </form>
-
- <div class="mui-content-padded">
- <table style="width:100%">
- <tr style="text-align: center;">
- <td>
- <button type="button" data-loading-text="下架中" class="mui-btn mui-btn-primary my-btn" id="subButton" onclick="submitOutShelf()"><i class="fa fa-check"> </i>提交</button>
- <button type="button" class="mui-btn mui-btn-danger my-btn" onclick="cleanAll()"><i class="fa fa-times"> </i>清空</button>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <script src="../../js/mui.min.js"></script>
- <script type="text/javascript" src="../../js/jquery/jquery.min.js"></script>
- <script type="text/javascript" src="../../js/jquery/jquery.cookie.js"></script>
- <script type="text/javascript" src="../../js/wms/common.js"></script>
- <script type="text/javascript" src="../../js/wms/datefmt.js"></script>
- <script type="text/javascript" src="../../js/wms/formTransformEntity.js"></script>
- <script type="text/javascript" src="../../js/wms/appRequest.js?v=001"></script>
- <script type="text/javascript" src="../../js/out/waveOutShelf.js?v=010"></script>
- <script type="text/javascript" charset="utf-8">
- //$.noConflict()//jq 释放 $
- //mui初始化
- mui.init({
- swipeBack: true //启用右滑关闭功能
- });
-
- (function($, doc) {
- $.init();
- $.plusReady(function() {
- document.addEventListener("netchange", checkNetwork, false);
- function checkNetwork() {
- if(plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
- mui.toast("网络异常,请检查网络设置!");
- }
- }
- });
- document.getElementById("isAutoCountSwitch").addEventListener("toggle", function(event) {
- if(event.detail.isActive) {
- document.getElementById("isAutoCount").value = "true";
- } else {
- document.getElementById("isAutoCount").value = "false";
- }
- })
- }(mui, document));
- </script>
- </body>
- </html>
|