style:调整新建商品组件布局

This commit is contained in:
wangsongsole 2022-10-27 13:36:14 +08:00
parent 330a70f359
commit e61b6a44a7
1 changed files with 11 additions and 11 deletions

View File

@ -574,6 +574,17 @@ export default class adduserinfo extends React.Component {
return (
<div id='addproduct'>
<Form model={this.state.model} rules={rules} ref='form1'>
<FormItem labelname='商品类型' prop='type' id='type'>
<RadioGroup
onChange={(e) => {
this.onTypeChange(e)
}}
disabled={true}
value={this.state.model.product_type}>
<RadioButton value={1}>直充</RadioButton>
<RadioButton value={2}>卡密</RadioButton>
</RadioGroup>
</FormItem>
<FormItem labelname='映射商品' prop='product' id='product'>
<Select
options={this.state.productOption}
@ -587,17 +598,6 @@ export default class adduserinfo extends React.Component {
}}
/>
</FormItem>
<FormItem labelname='商品类型' prop='type' id='type'>
<RadioGroup
onChange={(e) => {
this.onTypeChange(e)
}}
disabled={true}
value={this.state.model.product_type}>
<RadioButton value={1}>直充</RadioButton>
<RadioButton value={2}>卡密</RadioButton>
</RadioGroup>
</FormItem>
<FormItem labelname='预估成本价' prop='cost_price' id='cost_price'>
<div className='line-value'>{this.state.model.cost_price}</div>
</FormItem>