| | |
| | | <head> |
| | | <meta charset="UTF-8"> |
| | | <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no"/> |
| | | <title>中扬物流</title> |
| | | <title>浙江中扬储存设备有限公司</title> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <style> |
| | | * { |
| | |
| | | function comb() { |
| | | var barcode = code.value; |
| | | if (isEmpty(barcode)) { |
| | | tips("托盘条码为空", true); |
| | | tips("请输入托盘条码", true); |
| | | // document.getElementById("code").focus(); |
| | | return; |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | initCrnMsgTable(); |
| | | // initCrnMsgTable(); |
| | | function initCrnMsgTable(row) { |
| | | var line; |
| | | if (row === undefined){ |
| | |
| | | } else if (key === 13) { |
| | | confirmBtn.focus(); |
| | | } |
| | | |
| | | // if (code1 === 13) { |
| | | // if (window.getComputedStyle(matDetail).display === 'block') { |
| | | // confirm() |
| | | // } else if (window.getComputedStyle(btnCon).display === 'block') { |
| | | // comb() |
| | | // } |
| | | // } |
| | | } |
| | | |
| | | document.onkeydown = function (e) { |
| | |
| | | if (key === 114) { |
| | | comb() |
| | | } |
| | | |
| | | // if (code1 === 13) { |
| | | // if (window.getComputedStyle(matDetail).display === 'block') { |
| | | // confirm() |
| | | // } else if (window.getComputedStyle(btnCon).display === 'block') { |
| | | // comb() |
| | | // } |
| | | // } |
| | | } |
| | | |
| | | // todo |
| | | // setTimeout(function () { |
| | | // code.value = "888" |
| | | // addTableData({ |
| | | // matNo: "1902980-11/14", |
| | | // matName: "铝带|1100-O|0.33*475|", |
| | | // str1: "件", |
| | | // count: 1 |
| | | // }) |
| | | // }, 200) |
| | | function help() { |
| | | window.alert("① 按F1输入条码\n" + |
| | | "② 按F2输入物料号,按ENTER查询,选择数量后提取\n" + |