Update edit.js

This commit is contained in:
姜棚 2021-12-01 17:54:41 +08:00
parent 01d56d9ff9
commit 4f26e2204a
1 changed files with 2 additions and 2 deletions

View File

@ -952,14 +952,14 @@ export default class acclist extends React.Component{
/>
</FormItem>
<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={0}></RadioButton>
</RadioGroup>
</FormItem>
<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={0} ></RadioButton>
</RadioGroup>