Update edit.js
This commit is contained in:
parent
b3f96b8b38
commit
4e4b9def52
|
@ -54,7 +54,8 @@ export default class exchangedit extends React.Component{
|
|||
issued:'',//发放总量
|
||||
describe:'',
|
||||
date_time:"",
|
||||
range:""
|
||||
range:"",
|
||||
stock:""
|
||||
},
|
||||
isload:false,
|
||||
tempdata:[],
|
||||
|
@ -82,6 +83,7 @@ export default class exchangedit extends React.Component{
|
|||
let codeInfo={
|
||||
code_name:req.title,
|
||||
issued:req.quantity,
|
||||
stock:req.stock,
|
||||
describe:req.describe,
|
||||
date_time:[req.begin_time,req.end_time],
|
||||
range:req.code_batch_stock
|
||||
|
@ -587,6 +589,10 @@ export default class exchangedit extends React.Component{
|
|||
<div>{this.state.codeInfo.issued}</div>
|
||||
|
||||
</FormItem>
|
||||
<FormItem labelname="剩余库存量" prop="issued" id="issued">
|
||||
<div>{this.state.codeInfo.stock}</div>
|
||||
|
||||
</FormItem>
|
||||
<FormItem labelname="使用说明" prop="describe" id="describe" >
|
||||
<Input type="textarea" autoSize width="520px" maxLength={100} value={this.state.codeInfo.describe} onChange={(e)=>{
|
||||
let model = this.state.codeInfo;
|
||||
|
|
Loading…
Reference in New Issue