This commit is contained in:
parent
2ffac5cdc3
commit
bc07a195b5
|
@ -31,7 +31,7 @@ export default class acclist extends React.Component{
|
|||
model:{ //数据模型不可少
|
||||
style:1,
|
||||
quantity:"",
|
||||
|
||||
plan_id:"",
|
||||
allow_repetition:1,
|
||||
allow_loss:1,
|
||||
merge_stock:1,
|
||||
|
@ -560,6 +560,9 @@ export default class acclist extends React.Component{
|
|||
|
||||
<Card style={{ width:'98%',height:"auto" ,"margin":"10px auto"}} title={this.state.pagetitle}>
|
||||
<Form model={this.state.model} rules={rules} ref="form1">
|
||||
<FormItem labelname=" key归属" prop="style" id="style">
|
||||
<div className="line-value">{this.state.model.plan_id}</div>
|
||||
</FormItem>
|
||||
<FormItem labelname=" key样式" prop="style" id="style">
|
||||
<RadioGroup onChange={(e)=>{ this.onStyleChange(e)} } value={this.state.model.style} disabled={this.state.isEdit} >
|
||||
<RadioButton value={1}>串码</RadioButton>
|
||||
|
|
|
@ -192,6 +192,7 @@ export default class adduserinfo extends React.Component{
|
|||
],
|
||||
contract_price:[
|
||||
{ type: "required", message: "请输入合同价"},
|
||||
{ type: "regExp", message: "请输入4位小数",reg:"^[0-9]+(.[0-9]{1,4})?$"},
|
||||
],
|
||||
product_name:[
|
||||
{ type: "required", message: "请输入商品名称"},
|
||||
|
|
|
@ -187,7 +187,7 @@ export default class adduserinfo extends React.Component{
|
|||
],
|
||||
contract_price:[
|
||||
{ type: "required", message: "请输入合同价"},
|
||||
{ type: "regExp", message: "请输入数字",reg:"^[0-9]+(.[0-9]{1,3})?$"},
|
||||
{ type: "regExp", message: "请输入4位小数",reg:"^[0-9]+(.[0-9]{1,4})?$"},
|
||||
|
||||
],
|
||||
product_name:[
|
||||
|
|
Loading…
Reference in New Issue