Commit 050dce64 authored by sujie@126.com's avatar sujie@126.com

dd

parent 03a050a3
......@@ -155,14 +155,14 @@ class ClassrRgistration extends React.Component {
<Radio value={3}>按班级收费</Radio>
</Radio.Group>
</div>
{parmas.type != 3 &&
{parmas.mode_type != 3 &&
<div className={pageStyle.fromItem}>
<span className={pageStyle.fromItemspan}>购买: &nbsp;&nbsp;</span><InputNumber min={1} max={9999} value={parmas.buy} onChange={this.onBuyChange} /><span>&nbsp;&nbsp;{parmas.type == 1 ? '课时' : '天'}</span>
<span className={pageStyle.fromItemspan}>购买: &nbsp;&nbsp;</span><InputNumber min={1} max={9999} value={parmas.buy} onChange={this.onBuyChange} /><span>&nbsp;&nbsp;{parmas.mode_type == 1 ? '课时' : '天'}</span>
</div>
}
{parmas.type != 3 &&
{parmas.mode_type != 3 &&
<div className={pageStyle.fromItem}>
<span className={pageStyle.fromItemspan}>赠送: &nbsp;&nbsp;</span><InputNumber min={1} max={9999} value={parmas.give} onChange={this.onGiveChange} /><span>&nbsp;&nbsp;{parmas.type == 1 ? '课时' : '天'}</span>
<span className={pageStyle.fromItemspan}>赠送: &nbsp;&nbsp;</span><InputNumber min={1} max={9999} value={parmas.give} onChange={this.onGiveChange} /><span>&nbsp;&nbsp;{parmas.mode_type == 1 ? '课时' : '天'}</span>
</div>
}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment