自动化立体仓库 - WMS系统
skyouc
2026-01-20 eb5a5cc6596dc9aec77927c00a48e25ab0e4efab
src/main/webapp/static/js/mat/mat.js
@@ -5,8 +5,8 @@
function getCol() {
    var cols = [
        {type: 'checkbox'}
        , {field: 'tagId$', align: 'center', title: '归类', templet: '#tagTpl'}
        , {field: 'locType$', align: 'center', title: '库位类型'}
        , {field: 'tagId$', align: 'center', title: '归类', templet: '#tagTpl', width: 90}
        , {field: 'locType$', align: 'center', title: '库位类型', width: 90}
        // ,{field: 'store_max', align: 'center',title: '库存上限'}
        // ,{field: 'store_min', align: 'center',title: '库存下限'}
        // ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)'}
@@ -301,11 +301,11 @@
                // 回显表单数据
                form.val('detail', mData);
                // 新增自动生成商品编号
                if (!mData) {
                    http.get(baseUrl + "/mat/auto/matnr/auth", null, function (res) {
                        $('#matnr').val(res.data);
                    })
                }
                // if (!mData) {
                //     http.get(baseUrl + "/mat/auto/matnr/auth", null, function (res) {
                //         $('#matnr').val(res.data);
                //     })
                // }
                // 表单提交事件
                form.on('submit(editSubmit)', function (data) {
                    data.field.tagId = insXmSel.getValue('valueStr');