| | |
| | | var pageCurr; |
| | | |
| | | function formatBeBatch(beBatch) { |
| | | return beBatch === 1 ? '强制入库' : '正常入库'; |
| | | } |
| | | |
| | | function getCol() { |
| | | var cols = [ |
| | | {type: 'checkbox'}, |
| | |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批号', sort:true} |
| | | ,{field: 'beBatch', align: 'center',title: '入库类型', templet: function(d) { |
| | | return formatBeBatch(d.beBatch); |
| | | }} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'zpallet', align: 'center',title: 'SN'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | |
| | | form.on('submit(reset)', function (data) { |
| | | pageCurr = 1; |
| | | clearFormVal($('#search-box')); |
| | | form.render('select'); |
| | | tableReload(false); |
| | | }); |
| | | |