| | |
| | | ########################## Server ########################## |
| | | spring: |
| | | profiles: |
| | | active: pro5324 |
| | | active: dev |
| | | application: |
| | | name: igds |
| | | main: |
| | |
| | | |
| | | //显示入库流程 |
| | | showProgress(); |
| | | |
| | | // 初始化WebSocket |
| | | //initInoutWS(deptId, bizType, progress, userId); |
| | | }); |
| | | |
| | | window.onload = function () { |
| | | //扫描枪自动回车事件 |
| | | $('#checkId').bind('keyup', function(event) { |
| | | if (event.keyCode == "13") { |
| | | getDataByCheckId(); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // socket信息返回處理 |
| | | function socketOnMessage(packet) { |
| | |
| | | area: ['700px', '320px'], |
| | | shade: 0, |
| | | content: $('#scanCodeDetail'), |
| | | success: function(layero, index){ |
| | | success: function(){ |
| | | document.getElementById('checkId').focus(); |
| | | }, |
| | | btnAlign: 'c', |
| | |
| | | <div class="layui-tab-content" id="scanCodeDetail" style="display: none;"> |
| | | <!-- 表单基本信息 --> |
| | | <form class="layui-form" id="form-sacnCodeDetail" lay-filter="form-sacnCodeDetail"> |
| | | |
| | | <div class="layui-col-xs12"> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">质检单号</label> |