自动化立体仓库 - WMS系统
pang.jiabao
2025-04-08 e55f015618ac1e85a5a6f7f3404a8b7a4f8f8e05
src/main/webapp/static/js/mat/mat.js
@@ -4,11 +4,11 @@
function getCol() {
    var cols = [
        {type: 'checkbox'}
        ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'}
        ,{field: 'tagId$', align: 'center',title: 'Классификация', templet: '#tagTpl'}
    ];
    cols.push.apply(cols, matCols);
    cols.push(
        {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150}
        {fixed: 'right', title:'Операция', align: 'center', toolbar: '#operate', width:200}
    )
    return cols;
}
@@ -122,7 +122,7 @@
            case 'deleteData':
                var data = checkStatus.data;
                if (data.length === 0){
                    layer.msg('请选择数据');
                    layer.msg('Пожалуйста, выберите данные');
                } else {
                    layer.confirm('确定删除'+(data.length===1?'此':data.length)+'条数据吗', function(){
                        $.ajax({
@@ -146,7 +146,7 @@
                }
                break;
            case 'exportData':
                layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){
                layer.confirm('Подтвердить экспорт в Excel?', {shadeClose: true}, function(){
                    var titles=[];
                    var fields=[];
                    obj.config.cols[0].map(function (col) {
@@ -242,7 +242,7 @@
        admin.open({
            type: 1,
            area: '600px',
            title: (mData ? '修改' : '添加') + '商品',
            title: (mData ? 'Изменить' : 'Добавить'),
            content: $('#editDialog').html(),
            success: function (layero, dIndex) {
                // 回显表单数据