Skip to content

Commit

Permalink
固定单价隐藏电损
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 21, 2017
1 parent e6e53e9 commit 2690079
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,12 @@ class ContractDetail extends React.Component {
</em> 元/度
<span style={{marginLeft: '20px'}}>
变比
<em className="color1">{this.state.contract.powerRatio}</em> 电损比
<em className="color1">{this.state.contract.powerLossRatio}</em>%
<em className="color1">{this.state.contract.powerRatio}</em>
{this.state.contract.powerType !== 0 &&
<span>
电损比<em className="color1">{this.state.contract.powerLossRatio}</em>%
</span>
}
</span>
</Col>
</Row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ class ElectricityDetail extends React.Component {
<em className="color1">
功峰平谷
</em>}
单价 <em className="color1">{this.state.contract.powerUnitPrice}</em> 元/度 变比 <em className="color1">{this.state.contract.powerRatio}</em> 电损比 <em className="color1">{this.state.contract.powerLossRatio}</em>%</Col>
单价 <em className="color1">{this.state.contract.powerUnitPrice}</em> 元/度 变比 <em className="color1">{this.state.contract.powerRatio}</em>
{this.state.contract.powerType !== 0 &&
<span>电损比 <em className="color1">{this.state.contract.powerLossRatio}</em>%</span>
}
</Col>
</Row>
<Row>
<Col span={16}><b>水费收费方式:</b>
Expand Down

0 comments on commit 2690079

Please sign in to comment.