style:调整新建商品组件布局
This commit is contained in:
parent
330a70f359
commit
e61b6a44a7
|
@ -574,6 +574,17 @@ export default class adduserinfo extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div id='addproduct'>
|
<div id='addproduct'>
|
||||||
<Form model={this.state.model} rules={rules} ref='form1'>
|
<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'>
|
<FormItem labelname='映射商品' prop='product' id='product'>
|
||||||
<Select
|
<Select
|
||||||
options={this.state.productOption}
|
options={this.state.productOption}
|
||||||
|
@ -587,17 +598,6 @@ export default class adduserinfo extends React.Component {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</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'>
|
<FormItem labelname='预估成本价' prop='cost_price' id='cost_price'>
|
||||||
<div className='line-value'>{this.state.model.cost_price}</div>
|
<div className='line-value'>{this.state.model.cost_price}</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
Loading…
Reference in New Issue