123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <!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;
- }
-
- </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>
-
- <div class="mui-content">
- <form class="mui-input-group">
- <div class="mui-input-row">
- <label>盘点单号</label>
- <input type="text" class="mui-input-clear" placeholder="扫描盘点单号" id="inventoryCheckCode">
- <input type="text" id="inventoryCheckId" style="display: none;">
- </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" id="customerId" style="display: none;">
- <input type="text" placeholder="" readonly="readonly" id="customerCode" class="readonlyInput">
- </div>
-
- <!--
- 作者:1279246617@qq.com
- 时间:2018-08-14
- 描述:计划盘点跟随机盘点不同之处,计划盘点可以获取下一个需要盘点的库位,并统计未盘点的库位,直到结束
- -->
- <div class="mui-input-row" style="width:100%;font-size: 10pt;font-weight: normal;height: 20px;line-height: 10px;">
- <label style="width:100%; height: 20px;padding-top: 4px;padding-bottom: 0px;">
- <span style="width:75%;float: left;overflow: hidden;" >
- 下一个库位: <span id="nextLocation" style="font-weight: bold;"> </span>
- </span>
- <span style="width:25%; float: left;overflow: hidden;" >
- 进度: <span id="prosess" style="font-weight: bold;">0%</span>
- </span>
- </label>
- </div>
-
- <div class="mui-input-row">
- <label>盘点库位</label>
- <input type="text" class="mui-input-clear" placeholder="扫描库位条码" id="locationCode">
- <input type="text" id="inventoryCheckDetailId" style="display: none;">
- <input type="text" id="inventoryId" style="display: none;">
- </div>
- <div class="mui-input-row" onclick="showDetails()" style="width:100%;font-size: 10pt;height: 20px;line-height: 12px;">
- <label style="width:100%; height: 20px;padding-top: 0px;padding-bottom: 0px;">
- <span style="line-height: 12px;overflow: hidden;font-size: 10pt;">
- <i class="fa fa-angle-double-down" id="showIco" style="margin-top: 0px;"></i>
- <span style="margin-top: 0px;">本库位待盘库存</span>
- </span>
- </label>
- </div>
- <div class="mui-input-row" id="showDetails" style="max-height: 60px;overflow-y: auto;display: none;" >
- <label style="width: 100%;padding-right: 0px;height: auto;padding-top: 0px; font-weight: normal;">
- <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:32%;height: 15px;line-height: 10px">
- 商品条码
- </th>
- <th style="text-align: left;font-size: 10pt;width:40%;height: 15px;line-height: 10px">
- 库存批次
- </th>
- <th style="text-align: left;font-size: 10pt;width:28%;height: 15px;line-height: 10px">
- 系统数量
- </th>
- </tr>
- </thead>
- <tbody id="itemList">
-
- </tbody>
- </table>
- </label>
- </div>
-
- <div class="mui-input-row">
- <label>商品条码</label>
- <input type="text" class="mui-input-clear" placeholder="扫描商品条码" id="barcode">
- </div>
-
- <div class="mui-input-row">
- <label>展示条码</label>
- <input type="text" placeholder="上次扫描的商品条码" id="barcodeShow" readonly="readonly" class="readonlyInput">
- </div>
-
- <div class="mui-input-row" style="display: none;">
- <label>入库单号</label>
- <input type="text" placeholder="库存属性:入库单号" id="inOrderNo" readonly="readonly" class="readonlyInput">
- </div>
-
- <div class="mui-input-row" style="">
- <label>批次号码</label>
- <input type="text" placeholder="批次号码" id="batchNo" readonly="readonly" class="readonlyInput">
- </div>
- <div class="mui-input-row" style="">
- <label>库存品质</label>
- <!--
- 作者:1279246617@qq.com
- 时间:2019-05-10
- 描述:盘点时并不能随意选择品质,如需要从正品转次品坏品,使用报损功能 , 选择品质是给盘盈原库位无库存记录的情况
- -->
- <select id="qualityCode" placeholder="库存品质" class="readonlyInput" onchange="selectQuality()" style="display: none;">
- <option value="0"></option>
- <option value="1">正品</option>
- <option value="2">次品</option>
- <option value="3">坏品</option>
- </select>
- <!--
- 作者:1279246617@qq.com
- 时间:2019-05-11
- 描述:当库位和商品条码可以找到库存时,显示原库存品质,不可编辑,不可选
- -->
- <input type="text" placeholder="不可编辑,需要转品质,请用报损功能" readonly="readonly" id="qualityName" name="qualityName" class="readonlyInput">
- </div>
-
- <div class="mui-input-row">
- <label>系统数量</label>
- <input type="text" placeholder="系统数量" id="sysQty" readonly="readonly" class="readonlyInput" style="width:35%;float: left;">
- </div>
-
- <div class="mui-input-row">
- <label>实盘数量</label>
- <input class="mui-input-numbox" type="number" pattern="\d*" id="checkQty" placeholder="扫描条码递增或输入数量" style=""/>
- </div>
-
-
- </form>
- <div class="mui-content-padded">
- <table style="width:100%">
- <tr style="text-align: center;">
- <td>
- <button type="button" class="mui-btn mui-btn-primary my-btn" onclick="submitInventoryCheck()"><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"></script>
- <script type="text/javascript" src="../../js/inventory/inventory_check_plan.js"></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("网络异常,请检查网络设置!");
- }
- }
- });
- }(mui, document));
- </script>
- </body>
- </html>
|