自动化立体仓库 - WMS系统
#
zjj
2024-09-27 0efb79506251f0be7371bf183c1b95e65ccaae8e
#
2个文件已修改
15 ■■■■ 已修改文件
src/main/webapp/static/js/mat/mat.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/mat/mat.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/mat/mat.js
@@ -5,9 +5,9 @@
    var cols = [
        {type: 'checkbox'}
        ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'}
        ,{field: 'store_max', align: 'center',title: '库存上限'}
        ,{field: 'store_min', align: 'center',title: '库存下限'}
        ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)'}
        // ,{field: 'store_max', align: 'center',title: '库存上限'}
        // ,{field: 'store_min', align: 'center',title: '库存下限'}
        // ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)'}
    ];
    cols.push.apply(cols, matCols);
    cols.push(
@@ -333,10 +333,11 @@
                    for (let i=0;i<res.data.length;i++){
                        var templateDom = $("#templatePreview"+templateNo);
                        var className = templateDom.attr("class");
                        var param = "编码:"+res.data[i].matnr+";名称:"+res.data[i].maktx+";规格:"+res.data[i].specs;
                        if (className === 'template-barcode') {
                            res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=1&param="+res.data[i].matnr;
                            res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=1&param="+param;
                        } else {
                            res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2&param="+res.data[i].matnr;
                            res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2&param="+param;
                        }
                    }
                    var tpl = templateDom.html();
src/main/webapp/views/mat/mat.html
@@ -360,10 +360,10 @@
            <img class="template-qrcode" src="{{this.barcodeUrl}}">
            <div style="text-align: center;">{{this.matnr}}</div>
        </div>
        <div style="font-size: 15px;">
        <div style="font-size: 12px;">
            名称:{{this.maktx}}
        </div>
        <div style="font-size: 15px;">
        <div style="font-size: 12px;">
            规格:{{this.specs}}
        </div>
    </div>