| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=GBK">
- <title>扫描条码</title>
- <link href="main.css" rel="stylesheet" type="text/css"></link>
- <link href="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath}/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $("#product_count").val(1);
- $("input[type='text']:second").focus();
- });
- function replaceNotNumber(item){
- var pattern = /[^0-9]/g;
- if(pattern.test(item.value))
- {
- item.value = item.value.replace(pattern,"");
- }
- }
- function enterForSure(){
- if(event.keyCode == 13)
- {
- $('.l-dialog-btn', parent.document).eq(1).click();
- }
- }
- </script>
- </head>
- <body >
- <%@ include file="/include/message.jsp"%>
- <form id="theForm" name="theForm">
- <div class="container">
- <div class="forum-container">
- <center>
- <table class="l-table-edit line">
- <tr>
- <th colspan="2">扫描条码</th>
- </tr>
- <tr>
- <td class="l-table-edit-text" width="15%" >数量 :
- </td>
- <td class="l-table-edit-td" ><input type="text" id="product_count"
- name="product_count" value="" onpropertychange="replaceNotNumber(this)" oninput="replaceNotNumber(this)">
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">存货条码<FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td">
- <input type="text" id="quickmark_msg" name="quickmark_msg" onkeypress="enterForSure()"/>
- </td>
- </tr>
-
- </table>
- <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
- </center>
- </div>
- </div>
- </form>
- </body>
- </html>
|