| | |
| | | //显示月单元格 |
| | | showcell := showrow.Cell( relnew, RentInCost := cell.RentInCost(), RentOutOfCost := cell.RentOutOfCost(), WerkToRentTransCost := cell.WerkToRentTransCost(), RentStorCost := cell.RentStorCost(), CoefficientValue := cell.CoefficientValue(), AllCost := cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | | column.Cell( relinsert, showcell ); |
| | | showcell.EstimateTotalCost( showcell.CalcEstimateTotalCost() ); |
| | | showcell.AllCost( showcell.EstimateTotalCost() * [Real]showcell.CoefficientValue() ); |
| | | //显示年单元格 |
| | | yearcell.RentInCost( cell.RentInCost() + yearcell.RentInCost() ); |
| | | yearcell.RentOutOfCost( cell.RentOutOfCost() + yearcell.RentOutOfCost() ); |
| | |
| | | cell.IsRentStorCostUpdate( exists( cell.Column(), Cell, acell, acell.IsRentStorCostUpdate() ) ); |
| | | cell.IsWerkToRentTransCostUpdate( exists( cell.Column(), Cell, acell, acell.IsWerkToRentTransCostUpdate() ) ); |
| | | } |
| | | rows := selectsortedset( this, Row, row, row.Name() ); |
| | | i := 0; |
| | | traverse( rows, Elements, e ){ |
| | | e.RowNr( i ); |
| | | i := i + 1; |
| | | } |
| | | *] |
| | | } |