自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-03-30 0474a145d356ad5f539b05ddc74129b73fe60b41
#
2个文件已修改
13 ■■■■ 已修改文件
src/main/webapp/static/js/common.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/pakStore/pakStore.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js
@@ -182,8 +182,9 @@
var detlCols = [
    {field: 'matnr', align: 'center',title: '商品编号'}
    ,{field: 'maktx', align: 'center',title: '商品名称'}
    ,{field: 'batch', align: 'center',title: '批号'}
    ,{field: 'lgnum', align: 'center',title: '规格'}
    ,{field: 'type', align: 'center',title: '型号'}
    ,{field: 'type', align: 'center',title: '型号', hide: true}
    ,{field: 'supplier', align: 'center',title: '批号', hide: true}
    ,{field: 'anfme', align: 'center',title: '数量'}
    ,{field: 'altme', align: 'center',title: '单位'}
src/main/webapp/static/js/pakStore/pakStore.js
@@ -79,11 +79,16 @@
                        return;
                    }
                }
                let devpNo = $('#putSiteSelect').val();
                if (isEmpty(devpNo)) {
                    layer.msg("请选择入库站", {icon: 2});
                    return;
                }
                $.ajax({
                    url: baseUrl+"/full/store/put/start",
                    headers: {'token': localStorage.getItem('token')},
                    data: JSON.stringify({
                        devpNo: Number($('#putSiteSelect').val()),
                        devpNo: Number(devpNo),
                        list: matCodeData
                    }),
                    contentType:'application/json;charset=UTF-8',
@@ -95,7 +100,6 @@
                            matCodeData = [];
                            $('#focusMatByMat').val("");
                            tableIns.reload({data: matCodeData,done:function (res) { limit(); getInBound();}});
                            document.getElementById("focusMatByMat").focus();
                        } else if (res.code === 403){
                            top.location.href = baseUrl+"/";
                        }else {
@@ -104,6 +108,8 @@
                    }
                })
                break;
            default:
                break;
        }
    });