| | |
| | | //入库量/包装容量*入库单价,入库量等于长春产量 |
| | | quantity := ceil( [Number]cell.Value() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice(); |
| | | column := selectobject( table, Column, column, column.Name() = cell.FinancialProductionColumn().Name() ); |
| | | //外租库入库费用 |
| | | // ccrow.SetRentEnterCost( column, quantity );属性类型修改 |
| | | //外租库入库费用 |
| | | ccrow.SetRentEnterCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | |
| | | quantity := ceil( [Number]cell.Value() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice(); |
| | | column := selectobject( table, Column, column, column.Name() = cell.FinancialSalesColumn().Name() ); |
| | | //外租库出库费用 |
| | | // ccrow.SetRentOutCost( column, quantity );属性类型修改 |
| | | ccrow.SetRentOutCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | |
| | | //运输数量/包装容量/装载容量*运输单价 |
| | | quantity := ceil( ceil( [Number]pit.Quantity() / enginecost.PackagingCapacity() ) / transcost.LoadingCapacity() ) * transcost.TransportPrice();//四舍五入 |
| | | |
| | | // row.SetFactoryToRentTransCost( column, quantity );属性类型修改 |
| | | row.SetFactoryToRentTransCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | column := selectobject( table, Column, column, column.Name() = periodname and column.StartDate() = periodtime ); |
| | | |
| | | // row.SetRentStorageCost( column, quantity );属性类型修改 |
| | | row.SetRentStorageCost( column, quantity ); |
| | | } |
| | | } |
| | | } |