| | |
| | | <th>重量信号</th> |
| | | <th>空满信号</th> |
| | | <th>目标站</th> |
| | | <th>高低信号</th> |
| | | <th>可放/可取</th> |
| | | <!-- <th>高低信号</th>--> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <div class="modal-footer"> |
| | | <button type="button" class="btn btn-primary" id="save">保存</button> |
| | | <button type="button" class="btn btn-secondary" id="clear">清除</button> |
| | | <button type="button" class="btn btn-secondary" id="safe">补充安全信号</button> |
| | | <button type="button" class="btn btn-secondary" id="cancel">取消</button> |
| | | </div> |
| | | </div> |
| | |
| | | <td>${site.weight || '--'}</td> |
| | | <td>${site.emptyMk || '--'}</td> |
| | | <td>${site.staNo || '--'}</td> |
| | | <td>${site.locType1 || '--'}</td> |
| | | <td>${site.allow || '--'}</td> |
| | | </tr> |
| | | `; |
| | | } |
| | |
| | | http.post(`${baseUrl}/site/detl/update`, { |
| | | siteId: $('#siteId').val(), |
| | | workNo: $('#workNo').val(), |
| | | staNo: $('#staNo').val(), |
| | | pakMk: $('#pakMk').val() |
| | | staNo: $('#staNo').val() |
| | | }, (res) => { |
| | | showSuccessMessage("修改成功"); |
| | | setTimeout(() => { |
| | |
| | | $('#staNo').val(0); |
| | | }); |
| | | |
| | | // 补充安全信号 |
| | | $(document).on('click', '#safe', function () { |
| | | http.post(`${baseUrl}/site/detl/safe`, { |
| | | siteId: $('#siteId').val() |
| | | }, (res) => { |
| | | showSuccessMessage("补充成功"); |
| | | setTimeout(() => { |
| | | closeModal(); |
| | | }, 1500); |
| | | }); |
| | | }); |
| | | |
| | | // 取消站点信息修改 |
| | | $(document).on('click', '#cancel', function () { |
| | | closeModal(); |