| | |
| | | .site-none { |
| | | border: none; |
| | | background-color: transparent; |
| | | cursor: default; |
| | | } |
| | | /* 自动 */ |
| | | .site-auto { |
| | |
| | | if (res.code === 200){ |
| | | var barcodes = res.data; |
| | | for (var i = 0; i < barcodes.length; i++){ |
| | | console.log(barcodes[i].barcodeId); |
| | | console.log(barcodes[i].codeValue); |
| | | $("#code-decoder-data-"+barcodes[i].barcodeId).html(barcodes[i].codeValue); |
| | | } |
| | | } else if (res.code === 403){ |
| | |
| | | // 输送设备点击事件 |
| | | $('.site').on('click', function () { |
| | | var id = this.id.split("-")[1]; |
| | | if (id === undefined) { |
| | | return; |
| | | } |
| | | layer.open({ |
| | | title: id + " 站点信息详情", |
| | | closeBtn: 0, |