Commit fab30682 by wujiabao

测试

parent 6f5d1b8c
......@@ -107,8 +107,9 @@ class BreakageProductDetail extends React.Component{
changePageDefault(){
let {product}=this.props.breakageProductInfo;
let {statusColor,packStatus,positionColor}=this.state;
let props=this.props;
let id=product.skuPositionList&&product.skuPositionList[positionColor]&&product.skuPositionList[positionColor].id?product.skuPositionList[positionColor].id : '';
let productDetail={skuId:product.skuId,skuStatus:packStatus[statusColor].code,skuPosition:id}
let productDetail={skuId:product.skuId,skuStatus:packStatus[statusColor].code,skuPosition:id,area:props.area}
this.props.submitBreakageProduct(productDetail);
this.props.changePopShow(true)
}
......
......@@ -147,6 +147,7 @@ class BreakageContainer extends React.Component {
changePage={this.changePage}
submitBreakageProduct={this.transmitInfo.bind(this)}
changePopShow={this.changePopShow.bind(this)}
area ={props.area}
/>
break;
}
......
......@@ -639,7 +639,7 @@ class PageContainer extends React.Component {
getPages(){
let pages = null;
let{state,dispatch} = this.props;
let {commonInfo} = state;
let {commonInfo ,area} = state;
switch (this.state.showPage){
case showPage[1]:
pages = <TroubleContainer
......@@ -771,6 +771,7 @@ class PageContainer extends React.Component {
breakageProductInfo={state.barcodeCommon}
breakageContainer ={state.breakageContainer}
submitBreakageProduct={(productDetail)=>{dispatch(submitBreakageProduct({commonInfo,productDetail}))}}
area={area}
/>;
break;
case showPage[51]:
......
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