| | |
| | | , {field: 'weight', align: 'center', title: '单箱净重', hide: true} |
| | | , {field: 'length', align: 'center', title: '单箱毛重', hide: true} |
| | | , { |
| | | field: 'volume', align: 'center', title: 'kg/cm', templet: function (d) { |
| | | field: 'volume', align: 'center', title: '每公斤长度', templet: function (d) { |
| | | var raw = d.volume; |
| | | if (raw === null || raw === undefined) return ''; |
| | | if (typeof raw === 'string' && raw.trim() === '') return ''; |
| | |
| | | ] |
| | | |
| | | var detlCols = [ |
| | | {field: 'matnr', align: 'center', title: '商品编号(品号)', sort: true} |
| | | , {field: 'maktx', align: 'center', title: '商品名称(品名)', sort: true} |
| | | , {field: 'orderNo', align: 'center', title: '单据编号', hide: false} |
| | | , {field: 'batch', align: 'center', title: '货品特征', sort: true} |
| | | {field: 'matnr', align: 'center', title: '商品编号', sort: true, width: 160} |
| | | , {field: 'maktx', align: 'center', title: '商品名称', sort: true, width: 120} |
| | | , {field: 'orderNo', align: 'center', title: '单据编号', hide: false, width: 120} |
| | | , {field: 'batch', align: 'center', title: '批次', sort: false} |
| | | , { |
| | | field: 'anfme', align: 'center', title: '数量', hide: false, templet: function (d) { |
| | | var raw = d.anfme; |
| | |
| | | , {field: 'zpallet', align: 'center', title: '托盘条码', hide: false} |
| | | , {field: 'specs', align: 'center', title: '规格', hide: false} |
| | | , { |
| | | field: 'safeQty', align: 'center', title: '归零阀值', hide: false, templet: function (d) { |
| | | field: 'safeQty', align: 'center', title: '归零阀值', hide: true, templet: function (d) { |
| | | var raw = d.safeQty; |
| | | if (raw === null || raw === undefined) return ''; |
| | | if (typeof raw === 'string' && raw.trim() === '') return ''; |
| | |
| | | } |
| | | } |
| | | , { |
| | | field: 'volume', align: 'center', title: 'km/cm', hide: false, templet: function (d) { |
| | | field: 'volume', align: 'center', title: '每公斤长度', hide: true, templet: function (d) { |
| | | var raw = d.volume; |
| | | if (raw === null || raw === undefined) return ''; |
| | | if (typeof raw === 'string' && raw.trim() === '') return ''; |
| | |
| | | } |
| | | , {field: 'model', align: 'center', title: '代码', hide: true} |
| | | , {field: 'color', align: 'center', title: '颜色', hide: true} |
| | | , {field: 'brand', align: 'center', title: '品牌', hide: true} |
| | | , {field: 'brand', align: 'center', title: '品牌', hide: false} |
| | | , {field: 'unit', align: 'center', title: '单位', hide: false} |
| | | , {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: 'SN', hide: false} |
| | | , {field: 'origin', align: 'center', title: '产地', hide: true} |
| | | , {field: 'manu', align: 'center', title: '厂家', hide: true} |
| | | , {field: 'manuDate', align: 'center', title: '生产日期', hide: true} |