123
zhang
4 天以前 0a37b816117828dfc216d00c17724900f4bb14e3
zy-asc-conveyor/src/main/webapp/views/pipeline.html
@@ -781,12 +781,14 @@
                            <th>工作号</th>
                            <th>自动</th>
                            <th>有物</th>
                            <th>可入</th>
                            <th>可出</th>
                            <th>入库标记</th>
                            <th>空板信号</th>
                            <th>需求入</th>
                            <th>需求出</th>
                            <th>重量信号</th>
                            <th>空满信号</th>
                            <th>目标站</th>
                            <th>高低库位</th>
                            <th>条码</th>
                            <th>安全信号</th>
                            <!--                            <th>高低信号</th>-->
                        </tr>
                        </thead>
                        <tbody>
@@ -824,24 +826,25 @@
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="workNo">工作号:</label>
                            <input id="workNo" name="workNo" type="number" class="form-input"
                            <input id="workNo" name="workNo" type="number" min="0" class="form-input"
                                   autocomplete="off">
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="staNo">目标站:</label>
                            <input id="staNo" name="staNo" type="number" class="form-input"
                            <input id="staNo" name="staNo" type="number" min="0" class="form-input"
                                   autocomplete="off">
                        </div>
                        <div class="form-group">
                            <label class="form-label" for="pakMk">入库标记:</label>
                            <input id="pakMk" name="pakMk" type="text" class="form-input"
                                   autocomplete="off">
                        </div>
                        <!--                        <div class="form-group">-->
                        <!--                            <label class="form-label" for="pakMk">入库标记:</label>-->
                        <!--                            <input id="pakMk" name="pakMk" type="text" class="form-input"-->
                        <!--                                   autocomplete="off">-->
                        <!--                        </div>-->
                    </form>
                </div>
                <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>
@@ -987,10 +990,11 @@
                            ${site.outEnable === 'Y' ? 'Y' : 'N'}
                        </span>
                    </td>
                    <td>${site.pakMk || '--'}</td>
                    <td>${site.weight || '--'}</td>
                    <td>${site.emptyMk || '--'}</td>
                    <td>${site.staNo || '--'}</td>
                    <td>${site.locType1 || '--'}</td>
                    <td>${site.barcode || '--'}</td>
                    <td>${site.allow || '--'}</td>
                </tr>
            `;
        }
@@ -1081,8 +1085,7 @@
            http.post(`${baseUrl}/site/detl/update`, {
                siteId: $('#siteId').val(),
                workNo: $('#workNo').val(),
                staNo: $('#staNo').val(),
                pakMk: $('#pakMk').val()
                staNo: $('#staNo').val()
            }, (res) => {
                showSuccessMessage("修改成功");
                setTimeout(() => {
@@ -1097,6 +1100,18 @@
            $('#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();