| | |
| | | <fieldset> |
| | | <legend>入出库模式(IO-Mode)</legend> |
| | | <div class="io-mode-box"> |
| | | <label>F1</label> |
| | | <button id="io-mode-1" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>F2</label> |
| | | <button id="io-mode-2" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>F3</label> |
| | | <button id="io-mode-3" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>F4</label> |
| | |
| | | if (e.modeVal === 3 || e.modeVal === 4) { |
| | | layer.confirm('确定切换为入库模式吗?',function () { |
| | | $.ajax({ |
| | | url: baseUrl+ "/site/io/mode/action/site", |
| | | url: baseUrl+ "/site/io/mode/info/site", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: {floor: e.floor}, |
| | | method: 'POST', |