| | |
| | | , DLRentOutOfCost := cell.DLRentOutOfCost() |
| | | , WerkToDLRentTransCost := cell.WerkToDLRentTransCost() |
| | | , DLRentStorCost := cell.DLRentStorCost() |
| | | , CoefficientValue := cell.CoefficientValue() ); |
| | | , CoefficientValue := cell.CoefficientValue() |
| | | , AllCost := cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | | column.Cell( relinsert, showcell ); |
| | | //显示年单元格 |
| | | yearcell.CCRentInCost( cell.CCRentInCost() + yearcell.CCRentInCost() ); |
| | |
| | | sumcell.WerkToDLRentTransCost( cell.WerkToDLRentTransCost() + sumcell.WerkToDLRentTransCost() ); |
| | | sumcell.DLRentStorCost( cell.DLRentStorCost() + sumcell.DLRentStorCost() ); |
| | | } |
| | | yearcell.AllCost( yearcell.EstimateTotalCost() * [Real]yearcell.CoefficientValue() ); |
| | | } |
| | | } |
| | | Transaction::Transaction().Propagate( attribute( DLEngineLogisticsCostCell, EstimateTotalCost ) ); |
| | | traverse( yearcolumn, Cell, cell ){ |
| | | cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | | } |
| | | traverse( sumrow, Cell, cell ){ |
| | | cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | | if( exists( cell.Column(), Cell, acell, acell.IsUpdate() ) ){ |
| | | cell.IsUpdate( true ); |
| | | } |
| | | } |
| | | info( '-------------------------g------------end---------------------------------' ); |