自动化立体仓库 - WMS系统
pang.jiabao
2025-04-08 e55f015618ac1e85a5a6f7f3404a8b7a4f8f8e05
src/main/webapp/static/js/pakStore/stockAdjust.js
@@ -5,14 +5,14 @@
var matCodeLayerIdx;
function getCol() {
    var cols = [
        {fixed: 'left', field: 'count', title: '实际数量', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'}
        ,{field: 'anfme', align: 'center',title: '数量'}
        ,{field: 'batch', align: 'center',title: '批号(编辑)', edit: true, style: 'font-weight:bold'}
        {fixed: 'left', field: 'count', title: 'Фактическое количество', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'}
        ,{field: 'anfme', align: 'center',title: 'Количество'}
        ,{field: 'batch', align: 'center',title: 'Номер партии', edit: true, style: 'font-weight:bold'}
    ];
    arrRemove(detlCols, "field", "anfme");
    arrRemove(detlCols, "field", "batch");
    cols.push.apply(cols, detlCols);
    cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:80})
    cols.push({fixed: 'right', title:'Операция', align: 'center', toolbar: '#operate', width:80})
    return cols;
}
@@ -67,7 +67,7 @@
        switch(obj.event) {
            case 'adjust':
                if (isEmpty(currLocNo)) {
                    layer.msg("请先检索库位", {icon: 2})
                    layer.msg("Пожалуйста, сначала выполните поиск по месту", {icon: 2})
                    inputTip($("#searchLocNo"));
                    return;
                }
@@ -85,7 +85,7 @@
                        return;
                    }
                }
                layer.confirm('确定调整'+currLocNo+'库位的明细吗?', {shadeClose: true}, function(){
                layer.confirm('Вы уверены, что хотите скорректировать детали для местоположения '+currLocNo+'?', {shadeClose: true}, function(){
                    $.ajax({
                        url: baseUrl+"/locDdetl/adjust/start",
                        headers: {'token': localStorage.getItem('token')},
@@ -129,7 +129,7 @@
        let locNo = data.field.loc_no;
        if (locNo === "") {
            inputTip($("#searchLocNo"));
            layer.msg("请输入库位号");
            layer.msg("Пожалуйста, введите Номер партии");
            return;
        }
        init(locNo);
@@ -171,7 +171,7 @@
                let data = res.data;
                if (data != null) {
                    $(".retrieve").show();
                    $("#locMsg").html(locNo + " ,库位状态:" + data.locSts$);
                    $("#locMsg").html(locNo + " ,Статус мест хранения:" + data.locSts$);
                    $('.not-retrieve').hide();
                    currLocNo = locNo;
                } else {
@@ -193,7 +193,7 @@
    $(document).on('click','#mat-query', function () {
        if (isEmpty(currLocNo)) {
            layer.msg("请先检索库位")
            layer.msg("Пожалуйста, сначала выполните поиск по месту")
            inputTip($("#searchLocNo"));
            return;
        }