| | |
| | | } |
| | | }, |
| | | { |
| | | field: 'inQty', |
| | | align: 'right', |
| | | title: '本期入库', |
| | | width: 120, |
| | | templet: function (d) { |
| | | var qty = parseFloat(d.inQty || 0); |
| | | return qty.toFixed(2); |
| | | } |
| | | }, |
| | | { |
| | | field: 'outQty', |
| | | align: 'right', |
| | | title: '本期出库', |
| | | width: 120, |
| | | templet: function (d) { |
| | | var qty = parseFloat(d.outQty || 0); |
| | | return qty.toFixed(2); |
| | | } |
| | | }, |
| | | { |
| | | field: 'endingQty', |
| | | align: 'right', |
| | | title: '期末库存', |
| | |
| | | return diff.toFixed(2); |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | field: 'inQty', |
| | | align: 'right', |
| | | title: '本期入库', |
| | | width: 120, |
| | | templet: function (d) { |
| | | var qty = parseFloat(d.inQty || 0); |
| | | return qty.toFixed(2); |
| | | } |
| | | }, |
| | | { |
| | | field: 'outQty', |
| | | align: 'right', |
| | | title: '本期出库', |
| | | width: 120, |
| | | templet: function (d) { |
| | | var qty = parseFloat(d.outQty || 0); |
| | | return qty.toFixed(2); |
| | | } |
| | | } |
| | | ]] |
| | | }); |