Commit 8a1ccc40 by wujiabao

修改报损页面

parent 90c93d54
......@@ -23,7 +23,7 @@ class BreakageCode extends React.Component{
}
//控制显示扫码
changeSanCodePage(){
this.props.changeSanCodePage('SanCode')
this.props.changePage(1)
}
//控制弹窗
changePopStatus(){
......
......@@ -35,7 +35,7 @@ class DefaultComponent extends React.Component{
//控制显示扫码页面并且显示扫码页
skipInputCode(){
this.props.changeCodePage(false);
this.props.changeSanCodePage('SanCode')
this.props.changeSanCodePage('HandCode')
}
}
DefaultComponent.contextTypes = {
......
......@@ -15,7 +15,7 @@ class BreakageContainer extends React.Component {
this.state={
showPage:1,//初始显示的页面
isShow:true,//控制扫码页的显示隐藏
SanCodePage:'SanCode',//控制显示扫码或手动输入
SanCodePage:'HandCode',//控制显示扫码或手动输入
popShow:false, //控制弹框,
pop1Show:true, //控制异常弹窗显示
pop2Show:false
......
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