This commit is contained in:
parent
fe0c173380
commit
d921066bef
|
@ -208,3 +208,9 @@
|
|||
padding-right: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.newpage{
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 380px;
|
||||
}
|
|
@ -543,15 +543,15 @@ 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}>
|
||||
<RadioButton value={1}>是</RadioButton>
|
||||
<RadioButton value={2}>否</RadioButton>
|
||||
<RadioButton value={0}>是</RadioButton>
|
||||
<RadioButton value={1}>否</RadioButton>
|
||||
</RadioGroup>
|
||||
</FormItem>
|
||||
|
||||
<FormItem labelname="是否允许亏损" id="allow_loss" prop="allow_loss">
|
||||
<RadioGroup onChange={(e)=>this.onLossChange(e)} value={this.state.model.allow_loss}>
|
||||
<RadioButton value={1} >是</RadioButton>
|
||||
<RadioButton value={2} >否</RadioButton>
|
||||
<RadioButton value={0} >是</RadioButton>
|
||||
<RadioButton value={1} >否</RadioButton>
|
||||
</RadioGroup>
|
||||
</FormItem>
|
||||
</Form>
|
||||
|
|
|
@ -8,8 +8,10 @@ import FormItem from "../../../components/form-item/main"
|
|||
import {addPlanStep,handelResponse,getTheme} from "../../../assets/api.js"
|
||||
import _ from "lodash";
|
||||
import Bus from "../../../assets/eventBus.js"
|
||||
import "./add.less"
|
||||
const TabPanel = Tabs.TabPanel;
|
||||
|
||||
|
||||
export default class acclist extends React.Component{
|
||||
constructor(props){
|
||||
super(props)
|
||||
|
@ -98,15 +100,22 @@ export default class acclist extends React.Component{
|
|||
{ type: "required", message: "请选择落地页"},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
||||
return(
|
||||
<div id="step3">
|
||||
<Form model={this.state.model} rules={rules} ref="form1">
|
||||
<FormItem labelname="选择落地页" prop="theme_id" id="theme_id" >
|
||||
<Select options={this.state.options} placeholder="选择一项" width={515} value={this.state.model.theme_id} onChange={(e)=>{
|
||||
<Select options={this.state.options} placeholder="选择一项" width={355} value={this.state.model.theme_id} onChange={(e)=>{
|
||||
this.onThemeChange(e)
|
||||
Bus.emit('change',"theme_id" ,e);
|
||||
}} />
|
||||
<Button type="primary" onClick={()=>{this.linkToPag()}} >新建落地页</Button>
|
||||
<Button type="primary" onClick={()=>{this.linkToPage()}} className="newpage">
|
||||
|
||||
新建落地页
|
||||
|
||||
</Button>
|
||||
</FormItem>
|
||||
<FormItem labelname="兑换入口交互" prop="link">
|
||||
<RadioGroup onChange={(e)=>{ this.onLinkChange(e)} } value={this.state.model.link}>
|
||||
|
|
Loading…
Reference in New Issue