| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {fixed: 'left', align: 'center', field: 'count', title: '数量', event: 'modify', style:'font-weight: bold;', width:50}, |
| | | {field: 'matnr', align: 'center', title: '商品编号', event: 'modify'}, |
| | | // {field: 'matnr', align: 'center', title: '商品编号', event: 'modify'}, |
| | | {field: 'maktx', align: 'center', title: '商品名称', event: 'modify'} |
| | | ]], |
| | | done: function (res, curr, count) { |
| | |
| | | content: 'matQuery.html', |
| | | success: function(layero, index){ |
| | | $('.layui-layer-title').css('font-size', '16px'); |
| | | $('.layui-layer.layui-layer-iframe').css('border-radius', '8px'); |
| | | }, |
| | | end: function () { |
| | | // $('#mat-btn').focus(); |
| | |
| | | tips("货位不能为空", true); |
| | | return; |
| | | } |
| | | if (locDetlData.length === 0) { |
| | | tips("请提取物料", true); |
| | | return; |
| | | if (locDetlData.length > 0) { |
| | | for (var i = 0; i<locDetlData.length; i++) { |
| | | if (locDetlData[i].count === null || locDetlData[i].count === 0) { |
| | | tips(locDetlData[i].matnr + "商品数量错误", true); |
| | | return; |
| | | } |
| | | } |
| | | } |
| | | $.ajax({ |
| | | url: baseUrl+"/work/stock/check", |