| | |
| | | |
| | | /*************************************************************************************************************/ |
| | | /********************************************** 物料业务抽象 ***************************************************/ |
| | | |
| | | /*************************************************************************************************************/ |
| | | |
| | | function arrRemove(arr, key, val) { |
| | |
| | | ,{field: 'price', align: 'center',title: '单价', hide: true} |
| | | ,{field: 'sku', align: 'center',title: 'sku', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | , {field: 'barcode', align: 'center', title: '托盘码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '产地', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '批号', width: 80, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | , {field: 'zpallet', align: 'center', title: '托盘条码', sort: true} |
| | | ,{field: 'owner', align: 'center',title: '货主'} |
| | | ,{field: 'fullPlt$', align: 'center',title: '是否满板'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'templet', align: 'center',title: '机型',templet:function(row){ |
| | | , { |
| | | field: 'templet', align: 'center', title: '机型', templet: function (row) { |
| | | if(row.mat$) { |
| | | return row.mat$.model |
| | | } |
| | | }} |
| | | ,{field: 'templet', align: 'center',title: '制令',templet:function(row){ |
| | | } |
| | | } |
| | | , { |
| | | field: 'templet', align: 'center', title: '制令', templet: function (row) { |
| | | if (row.mat$) { |
| | | return row.mat$.decrees; |
| | | } |
| | | }} |
| | | } |
| | | } |
| | | |
| | | |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | |
| | | ,{field: 'price', align: 'center',title: '单价', hide: true} |
| | | ,{field: 'sku', align: 'center',title: 'sku', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | , {field: 'barcode', align: 'center', title: '托盘码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '产地', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | |
| | | var detlColsWrkDetl = [ |
| | | {field: 'matnr', align: 'center',title: '品号', sort:true, width: 150} |
| | | ,{field: 'maktx', align: 'center',title: '名称', sort:true, width: 150} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | , {field: 'orderNo', align: 'center', title: '单据编号', sort: true, hide: false} |
| | | ,{field: 'orderType', align: 'center',title: '单据类型', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '批号', width: 80, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量', width: 70} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', width: 100} |
| | | , {field: 'zpallet', align: 'center', title: '托盘条码', sort: true, width: 100} |
| | | ,{field: 'owner', align: 'center',title: '货主', width: 80} |
| | | ,{field: 'fullPlt$', align: 'center',title: '是否满板', width: 100} |
| | | ,{field: 'specs', align: 'center',title: '规格', width: 80} |
| | |
| | | ,{field: 'price', align: 'center',title: '单价', hide: true} |
| | | ,{field: 'sku', align: 'center',title: 'sku', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | , {field: 'barcode', align: 'center', title: '托盘码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '产地', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ] |
| | | |
| | | function getQueryVariable(variable) |
| | | { |
| | | function getQueryVariable(variable) { |
| | | var query = window.location.search.substring(1); |
| | | var vars = query.split("&"); |
| | | for (var i=0;i<vars.length;i++) { |
| | | var pair = vars[i].split("="); |
| | | if(pair[0] == variable){return pair[1];} |
| | | if (pair[0] == variable) { |
| | | return pair[1]; |
| | | } |
| | | } |
| | | return(false); |
| | | } |