Commit a2be3251 by wujiabao

fix bug

parent 93d8809a
...@@ -98,9 +98,12 @@ class TakeStokeContaniner extends React.Component { ...@@ -98,9 +98,12 @@ class TakeStokeContaniner extends React.Component {
//核对产品数量 //核对产品数量
checkProductNum(){ checkProductNum(){
let {initNum}=this.state; let {initNum}=this.state;
let {workListId,skuPassId}=this.props.tokeTaskProduct; if(!initNum===''){
let tokeProductInfo={workListId,skuPassId,quantity:initNum} let {workListId,skuPassId}=this.props.tokeTaskProduct;
this.props.checkProductQuantity(tokeProductInfo) let tokeProductInfo={workListId,skuPassId,quantity:initNum}
this.props.checkProductQuantity(tokeProductInfo)
}
} }
//根据后台返回的数据 判断显示的组件 //根据后台返回的数据 判断显示的组件
componentWillReceiveProps(nextProps){ componentWillReceiveProps(nextProps){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment