#
luxiaotao1123
2021-04-09 ebd3722206d2e631edf0bea91ea3d30bce664996
src/main/webapp/views/pda/stockCheck.html
@@ -114,7 +114,7 @@
            cellMinWidth: 50,
            cols: [[
                {fixed: 'left', align: 'center', field: 'count', title: '数量', event: 'modify', style:'font-weight: bold;', width:50},
                {field: 'matnr', align: 'center', title: '商品编号', event: 'modify'},
                // {field: 'matnr', align: 'center', title: '商品编号', event: 'modify'},
                {field: 'maktx', align: 'center', title: '商品名称', event: 'modify'}
            ]],
            done: function (res, curr, count) {
@@ -264,6 +264,7 @@
            content: 'matQuery.html',
            success: function(layero, index){
                $('.layui-layer-title').css('font-size', '16px');
                $('.layui-layer.layui-layer-iframe').css('border-radius', '8px');
            },
            end: function () {
                // $('#mat-btn').focus();
@@ -299,9 +300,13 @@
            tips("货位不能为空", true);
            return;
        }
        if (locDetlData.length === 0) {
            tips("请提取物料", true);
            return;
        if (locDetlData.length > 0) {
            for (var i = 0; i<locDetlData.length; i++) {
                if (locDetlData[i].count === null || locDetlData[i].count === 0) {
                    tips(locDetlData[i].matnr + "商品数量错误", true);
                    return;
                }
            }
        }
        $.ajax({
            url: baseUrl+"/work/stock/check",