Update edit.js
This commit is contained in:
parent
01d56d9ff9
commit
4f26e2204a
|
@ -952,14 +952,14 @@ export default class acclist extends React.Component{
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="重复选择商品" id="allow_repetition" prop="allow_repetition">
|
<FormItem labelname="重复选择商品" id="allow_repetition" prop="allow_repetition">
|
||||||
<RadioGroup onChange={(e)=>this.onRepetitionChange(e)} value={this.state.model.allow_repetition}>
|
<RadioGroup disabled={this.state.isEdit} onChange={(e)=>this.onRepetitionChange(e)} value={this.state.model.allow_repetition}>
|
||||||
<RadioButton value={1}>是</RadioButton>
|
<RadioButton value={1}>是</RadioButton>
|
||||||
<RadioButton value={0}>否</RadioButton>
|
<RadioButton value={0}>否</RadioButton>
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem labelname="是否允许亏损" id="allow_loss" prop="allow_loss">
|
<FormItem labelname="是否允许亏损" id="allow_loss" prop="allow_loss">
|
||||||
<RadioGroup onChange={(e)=>this.onLossChange(e)} value={this.state.model.allow_loss}>
|
<RadioGroup disabled={this.state.isEdit} onChange={(e)=>this.onLossChange(e)} value={this.state.model.allow_loss}>
|
||||||
<RadioButton value={1} >是</RadioButton>
|
<RadioButton value={1} >是</RadioButton>
|
||||||
<RadioButton value={0} >否</RadioButton>
|
<RadioButton value={0} >否</RadioButton>
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
Loading…
Reference in New Issue