自动化立体仓库 - WMS系统
pang.jiabao
2025-04-08 e55f015618ac1e85a5a6f7f3404a8b7a4f8f8e05
src/main/webapp/static/js/order/order.js
@@ -42,13 +42,13 @@
        cellMinWidth: 100,
        cols: [[
            {type: 'numbers'},
            {field: 'orderNo', title: '单据编号', templet: '#orderNoTpl'},
            {field: 'docType$', align: 'center', title: '类型',  minWidth: 160, width: 160},
            {align: 'center', title: '明细', toolbar: '#tbLook', minWidth: 160, width: 160},
            {field: 'orderNo', title: 'Номер квитанции', templet: '#orderNoTpl'},
            {field: 'docType$', align: 'center', title: 'Тип',  minWidth: 160, width: 160},
            {align: 'center', title: 'Детали', toolbar: '#tbLook', minWidth: 160, width: 160},
            {field: 'createTime$', title: '创建时间', minWidth: 200, width: 200},
            {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl',  minWidth: 160, width: 160},
            {field: 'memo', align: 'center',title: '备注', hide: true},
            {align: 'center', title: '操作', toolbar: '#operate', width: 180}
            {field: 'settle$', align: 'center', title: 'Статус заказа', templet: '#settleTpl',  minWidth: 160, width: 160},
            {field: 'memo', align: 'center',title: 'Примечание', hide: true},
            {align: 'center', title: 'Операция', toolbar: '#operate', width: 180}
        ]],
        request: {
            pageName: 'curr',
@@ -122,21 +122,21 @@
                        cellMinWidth: 100,
                        cols: [[
                            {type: 'numbers'},
                            {field: 'matnr', title: '商品编码', width: 160},
                            {field: 'maktx', title: '商品名称', width: 160},
                            {field: 'batch', title: '批号'},
                            {field: 'anfme', title: '数量'},
                            {field: 'matnr', title: 'Код товара', width: 160},
                            {field: 'maktx', title: 'Наименование товара', width: 160},
                            {field: 'batch', title: 'Номер партии'},
                            {field: 'anfme', title: 'Количество'},
                            {field: 'workQty', title: '作业数量'},
                            {field: 'qty', title: '完成数量', style: 'font-weight: bold'},
                            // {field: 'unit', title: '单位'},
                            // {field: 'unit', title: 'Цена за единицу'},
                            // {
                            //     field: 'createTime$', title: '创建时间', sort: true, templet: function (d) {
                            //         return util.toDateString(d.createTime);
                            //     },  width: 180
                            // },
                            // {field: 'inQty', title: '已入库量'},
                            // {field: 'color', title: '颜色'},
                            {field: 'specs', title: '规格'}
                            // {field: 'color', title: 'Цвет'},
                            {field: 'specs', title: 'Спецификация'}
                        ]],
                        request: {
                            pageName: 'curr',
@@ -167,7 +167,7 @@
    function showEditModel(expTpe) {
        admin.open({
            type: 1,
            title: (expTpe ? '修改' : '添加') + '单据',
            title: (expTpe ? 'Изменить' : 'Добавить'),
            content: $('#editDialog').html(),
            area: '1300px',
            success: function (layero, dIndex) {
@@ -234,15 +234,15 @@
                    cellMinWidth: 100,
                    cols: [[
                        {type: 'numbers', title: '#'},
                        {field: 'matnr', title: '商品编码', width: 160},
                        {field: 'maktx', title: '商品名称', width: 200},
                        {field: 'batch', title: '批号', edit: true},
                        {field: 'specs', title: '规格'},
                        {field: 'matnr', title: 'Код товара', width: 160},
                        {field: 'maktx', title: 'Наименование товара', width: 200},
                        {field: 'batch', title: 'Номер партии', edit: true},
                        {field: 'specs', title: 'Спецификация'},
                        {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110},
                        {field: 'workQty', title: '作业数量',  minWidth: 100, width: 100},
                        // {field: 'unit', title: '单位', width: 80},
                        {field: 'memo', title: '备注' , edit: true},
                        {align: 'center', title: '操作', toolbar: '#formSSXMTableBar', minWidth: 80, width: 80, fixed: 'right'}
                        // {field: 'unit', title: 'Цена за единицу', width: 80},
                        {field: 'memo', title: 'Примечание' , edit: true},
                        {align: 'center', title: 'Операция', toolbar: '#formSSXMTableBar', minWidth: 80, width: 80, fixed: 'right'}
                    ]],
                    done: function (res) {
                        $(layero).find('.layui-table-view').css('margin', '0');
@@ -279,7 +279,7 @@
                            layer.msg("已存在作业数量,不能删除", {icon: 2});
                            return;
                        }
                        layer.confirm('确定要删除吗?', {
                        layer.confirm('Вы уверены, что хотите удалить эту запись?', {
                            shade: .1,
                            skin: 'layui-layer-admin'
                        }, function (i) {
@@ -332,7 +332,7 @@
                        type: 1,
                        offset: '150px',
                        area: '680px',
                        title: (exp ? '修改' : '添加') + '明细',
                        title: (exp ? 'Изменить' : 'Добавить') + 'Детали',
                        content: $('#matEditDialog').html(),
                        success: function (layero, dIndex) {
                            // 回显数据
@@ -405,7 +405,7 @@
    // 删除单据
    function doDel(orderId) {
        layer.confirm('确定要删除吗?', {
        layer.confirm('Вы уверены, что хотите удалить эту запись?', {
            shade: .1,
            skin: 'layui-layer-admin'
        }, function (i) {