调整必填项前面星号显示
This commit is contained in:
parent
0b07bfbb12
commit
b55f961e32
|
@ -957,7 +957,7 @@ export default class acclist extends React.Component{
|
||||||
</FormItem>
|
</FormItem>
|
||||||
{
|
{
|
||||||
this.state.checkedList.length > 0 ?
|
this.state.checkedList.length > 0 ?
|
||||||
(<FormItem labelname="" prop="btn">
|
(<FormItem labelname="" prop="btn" required={false}>
|
||||||
{
|
{
|
||||||
this.state.checkedList.indexOf(1) > -1 ?
|
this.state.checkedList.indexOf(1) > -1 ?
|
||||||
(<Button onClick={(e)=>{this.checkIndex(0)}}>新建兑换码</Button>):null
|
(<Button onClick={(e)=>{this.checkIndex(0)}}>新建兑换码</Button>):null
|
||||||
|
@ -965,7 +965,7 @@ export default class acclist extends React.Component{
|
||||||
</FormItem>) : null
|
</FormItem>) : null
|
||||||
|
|
||||||
}
|
}
|
||||||
<FormItem labelname="绑定对象" prop="grid" >
|
<FormItem labelname="绑定对象" prop="grid" required={false}>
|
||||||
<Grid
|
<Grid
|
||||||
ref="bindObj"
|
ref="bindObj"
|
||||||
headBackgroud="#f9fafc"
|
headBackgroud="#f9fafc"
|
||||||
|
@ -1074,7 +1074,7 @@ export default class acclist extends React.Component{
|
||||||
unit="条" countShow={false}
|
unit="条" countShow={false}
|
||||||
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="使用说明" prop="describe" id="describe" >
|
<FormItem labelname="使用说明" prop="describe" id="describe" required={false}>
|
||||||
<Input type="textarea" autoSize width="520px" maxLength={100} maxCharacterCount={100}
|
<Input type="textarea" autoSize width="520px" maxLength={100} maxCharacterCount={100}
|
||||||
showCount value={this.state.codeInfo.describe} onChange={(e)=>{
|
showCount value={this.state.codeInfo.describe} onChange={(e)=>{
|
||||||
let model = this.state.codeInfo;
|
let model = this.state.codeInfo;
|
||||||
|
|
|
@ -67,7 +67,7 @@ export default class addinfoform extends React.Component{
|
||||||
unit="条" countShow={false}
|
unit="条" countShow={false}
|
||||||
value={this.state.model.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
value={this.state.model.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="使用说明" prop="tip" >
|
<FormItem labelname="使用说明" prop="tip" required={false}>
|
||||||
<Input type="textarea" autoSize width="520px" value={this.state.model.tip} maxLength={100} />
|
<Input type="textarea" autoSize width="520px" value={this.state.model.tip} maxLength={100} />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
|
@ -416,7 +416,7 @@ export default class adduserinfo extends React.Component{
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
this.state.loadshow? <FormItem prop="describe_url" labelname="商品描述" id="describe_url" >
|
this.state.loadshow? <FormItem prop="describe_url" labelname="商品描述" id="describe_url" required={false}>
|
||||||
<ImageUpload
|
<ImageUpload
|
||||||
className="zent-image-upload-demo"
|
className="zent-image-upload-demo"
|
||||||
maxSize={5 * 1024 * 1024}
|
maxSize={5 * 1024 * 1024}
|
||||||
|
|
|
@ -614,7 +614,7 @@ export default class exchangedit extends React.Component{
|
||||||
<div>{this.state.codeInfo.stock}</div>
|
<div>{this.state.codeInfo.stock}</div>
|
||||||
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="使用说明" prop="describe" id="describe" >
|
<FormItem labelname="使用说明" prop="describe" id="describe" required={false}>
|
||||||
<Input type="textarea" autoSize width="520px" maxLength={100} value={this.state.codeInfo.describe} onChange={(e)=>{
|
<Input type="textarea" autoSize width="520px" maxLength={100} value={this.state.codeInfo.describe} onChange={(e)=>{
|
||||||
let model = this.state.codeInfo;
|
let model = this.state.codeInfo;
|
||||||
model.describe = e.target.value;
|
model.describe = e.target.value;
|
||||||
|
|
|
@ -374,7 +374,7 @@ export default class adduserinfo extends React.Component{
|
||||||
value={this.state.model.show_url}
|
value={this.state.model.show_url}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem prop="describe_url" labelname="商品描述" id="describe_url" >
|
<FormItem prop="describe_url" labelname="商品描述" id="describe_url" required={false}>
|
||||||
<ImageUpload
|
<ImageUpload
|
||||||
className="zent-image-upload-demo"
|
className="zent-image-upload-demo"
|
||||||
maxSize={5 * 1024 * 1024}
|
maxSize={5 * 1024 * 1024}
|
||||||
|
|
|
@ -771,7 +771,7 @@ export default class acclist extends React.Component{
|
||||||
</FormItem>
|
</FormItem>
|
||||||
{
|
{
|
||||||
this.state.checkedList.length > 0 ?
|
this.state.checkedList.length > 0 ?
|
||||||
(<FormItem labelname="" prop="btn">
|
(<FormItem labelname="" prop="btn" required={false}>
|
||||||
{
|
{
|
||||||
this.state.checkedList.indexOf(1) > -1 ?
|
this.state.checkedList.indexOf(1) > -1 ?
|
||||||
(<Button onClick={(e)=>{this.checkIndex(0)}}>新建兑换码</Button>):null
|
(<Button onClick={(e)=>{this.checkIndex(0)}}>新建兑换码</Button>):null
|
||||||
|
@ -886,7 +886,7 @@ export default class acclist extends React.Component{
|
||||||
unit="条" countShow={false}
|
unit="条" countShow={false}
|
||||||
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="使用说明" prop="describe" id="describe" >
|
<FormItem labelname="使用说明" prop="describe" id="describe" required={false}>
|
||||||
<Input type="textarea" autoSize width="520px" maxLength={100} maxCharacterCount={100}
|
<Input type="textarea" autoSize width="520px" maxLength={100} maxCharacterCount={100}
|
||||||
showCount value={this.state.codeInfo.describe} onChange={(e)=>{
|
showCount value={this.state.codeInfo.describe} onChange={(e)=>{
|
||||||
let model = this.state.codeInfo;
|
let model = this.state.codeInfo;
|
||||||
|
|
|
@ -872,7 +872,7 @@ export default class acclist extends React.Component{
|
||||||
</FormItem>
|
</FormItem>
|
||||||
{
|
{
|
||||||
this.state.checkedList.length > 0 ?
|
this.state.checkedList.length > 0 ?
|
||||||
(<FormItem labelname="" prop="btn">
|
(<FormItem labelname="" prop="btn" required={false}>
|
||||||
{
|
{
|
||||||
this.state.checkedList.indexOf(1) > -1 ?
|
this.state.checkedList.indexOf(1) > -1 ?
|
||||||
(<Button onClick={(e)=>{this.checkIndex(0)}}>新建兑换码</Button>):null
|
(<Button onClick={(e)=>{this.checkIndex(0)}}>新建兑换码</Button>):null
|
||||||
|
@ -997,7 +997,7 @@ export default class acclist extends React.Component{
|
||||||
unit="条" countShow={false}
|
unit="条" countShow={false}
|
||||||
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="使用说明" prop="describe" id="describe" >
|
<FormItem labelname="使用说明" prop="describe" id="describe" required={false}>
|
||||||
<Input type="textarea" autoSize width="520px" maxLength={100} maxCharacterCount={100}
|
<Input type="textarea" autoSize width="520px" maxLength={100} maxCharacterCount={100}
|
||||||
showCount value={this.state.codeInfo.describe} onChange={(e)=>{
|
showCount value={this.state.codeInfo.describe} onChange={(e)=>{
|
||||||
let model = this.state.codeInfo;
|
let model = this.state.codeInfo;
|
||||||
|
|
|
@ -314,7 +314,7 @@ export default class adduserinfo extends React.Component{
|
||||||
value={this.state.model.show_url}
|
value={this.state.model.show_url}
|
||||||
/>
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem prop="describe_url" labelname="商品描述" id="describe_url" >
|
<FormItem prop="describe_url" labelname="商品描述" id="describe_url" required={false} >
|
||||||
<ImageUpload
|
<ImageUpload
|
||||||
className="zent-image-upload-demo"
|
className="zent-image-upload-demo"
|
||||||
maxSize={5 * 1024* 1024}
|
maxSize={5 * 1024* 1024}
|
||||||
|
|
|
@ -357,7 +357,7 @@ export default class adduserinfo extends React.Component{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<FormItem prop="describe_url" labelname="商品描述" id="describe_url" >
|
<FormItem prop="describe_url" labelname="商品描述" id="describe_url" required={false} >
|
||||||
<ImageUpload
|
<ImageUpload
|
||||||
className="zent-image-upload-demo"
|
className="zent-image-upload-demo"
|
||||||
maxSize={5 * 1024 * 1024}
|
maxSize={5 * 1024 * 1024}
|
||||||
|
|
Loading…
Reference in New Issue