| | |
| | | } |
| | | //外租库入库费用 |
| | | rententercostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rententercostcellElement.SetAttribute( "value", [String]c.RentEnterCost() ); |
| | | rententercostcellElement.SetAttribute( "value", [String]c.RentInCost() ); |
| | | columnelement.AppendChild( rententercostcellElement ); |
| | | //外租库出库费用 |
| | | rentoutcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rentoutcostcellElement.SetAttribute( "value", [String]c.RentOutCost() ); |
| | | rentoutcostcellElement.SetAttribute( "value", [String]c.RentOutOfCost() ); |
| | | columnelement.AppendChild( rentoutcostcellElement ); |
| | | //厂内到外租库运输费用 |
| | | factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | factorytorenttranscostcellElement.SetAttribute( "value", [String]c.FactoryToRentTransCost() ); |
| | | factorytorenttranscostcellElement.SetAttribute( "value", [String]c.WerkToRentTransCost() ); |
| | | columnelement.AppendChild( factorytorenttranscostcellElement ); |
| | | //外租库仓储费用 |
| | | rentstoragecostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rentstoragecostcellElement.SetAttribute( "value", [String]c.RentStorageCost() ); |
| | | rentstoragecostcellElement.SetAttribute( "value", [String]c.RentStorCost() ); |
| | | columnelement.AppendChild( rentstoragecostcellElement ); |
| | | //预计总费用 |
| | | estimatedtotalcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | estimatedtotalcostcellElement.SetAttribute( "value", [String]c.EstimatedTotalCost() ); |
| | | estimatedtotalcostcellElement.SetAttribute( "value", [String]c.EstimateTotalCost() ); |
| | | columnelement.AppendChild( estimatedtotalcostcellElement ); |
| | | //系数 |
| | | coefficientcellElement := xmlDOM.CreateElement( "cell" ); |
| | |
| | | columnelement.AppendChild( coefficientcellElement ); |
| | | //总费用 |
| | | totalcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | totalcostcellElement.SetAttribute( "value", [String]c.TotalCost() ); |
| | | totalcostcellElement.SetAttribute( "value", [String]c.AllCost() ); |
| | | columnelement.AppendChild( totalcostcellElement ); |
| | | } |
| | | tableElement.AppendChild( columnelement ); |