| | |
| | | #parent: #root |
| | | Method Initialize ( |
| | | FinancialSalesColumn column, |
| | | Product_MP product, |
| | | String unit |
| | | ) |
| | | { |
| | | Description: '初始化单元格' |
| | | TextBody: |
| | | [* |
| | | // 甄兰鸽 Jun-24-2024 (created) |
| | | // 甄兰鸽 Jun-24-2024 (created) |
| | | cell := column.FinancialSalesCell( relnew, Value := '' ); |
| | | |
| | | this.FinancialSalesCell( relinsert, cell ); |
| | | if( unit <> FinancialProductionReport::GetDefaultAllUnit() ){ |
| | | importdata := product.MacroPlan().FSImportData( relnew, Generation := product.Generation() |
| | | , MqbMlb := product.MQBMLB() |
| | | , Power := product.Power() |
| | | , ProductID := product.ID() |
| | | , StartDate := column.Period() |
| | | , Unit := unit ); |
| | | importdata.Cell( relset, cell ); |
| | | } |
| | | *] |
| | | } |