Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
0f14bb2e
Commit
0f14bb2e
authored
Dec 13, 2018
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
717b81d3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
client/components/RecoveryComponent/RecoveryScanPage/RecoveryScanPage.jsx
+1
-1
client/components/ReplenishComponent/ReplenishScanPage/ReplenishScanPage.jsx
+1
-1
client/containers/PageContainer/PageContainer.jsx
+16
-12
No files found.
client/components/RecoveryComponent/RecoveryScanPage/RecoveryScanPage.jsx
View file @
0f14bb2e
...
...
@@ -71,7 +71,7 @@ export default class RecoveryScanPage extends React.Component{
<
div
className=
{
"colfff font30 scanText"
}
style=
{
{
marginBottom
:
'0.5rem'
}
}
>
目标回收数量:
<
span
className=
{
"font40 colff775c"
}
>
{
taskList
.
targetNum
||
0
}
</
span
>
已回收数量:
<
span
className=
{
"font40 colff775c"
}
>
{
taskList
.
recoverNum
||
0
}
</
span
></
div
>
<
div
className=
{
"barcodeInputText font30"
}
>
{
this
.
state
.
barcodeErrorText
}
</
div
>
<
input
value=
{
this
.
state
.
barcodeText
}
autoFocus=
{
true
}
className=
{
"barcodeInput font30 col000"
}
type=
"text"
onChange=
{
this
.
handleInputChange
.
bind
(
this
)
}
/>
<
div
className=
{
"barcodeInputTip font30 colff775c"
}
onClick=
{
()
=>
this
.
changeShowInput
()
}
><
span
className=
{
"colfff"
}
>
or
</
span
>
条形码扫描
</
div
>
{
/*<div className={"barcodeInputTip font30 colff775c"} onClick={()=>this.changeShowInput()}><span className={"colfff"}>or</span>条形码扫描</div>*/
}
<
Button
btnContainer=
{
"barcodeInputBarcode font32 backff775c colfff"
}
key=
{
"barcodeInputBarcode"
}
text=
{
"确定"
}
option=
{
this
.
submitBarcode
}
/>
<
div
className=
{
"colfff scanInfo font30"
}
style=
{
{
marginTop
:
'1.5rem'
}
}
>
<
span
style=
{
{
marginRight
:
"0.1rem"
}
}
>
货道信息:
{
taskList
.
position
||
''
}
</
span
>
...
...
client/components/ReplenishComponent/ReplenishScanPage/ReplenishScanPage.jsx
View file @
0f14bb2e
...
...
@@ -202,7 +202,7 @@ export default class ReplenishScanPage extends React.Component{
<
div
className=
{
"replenishScanBarcodeInputDom"
}
>
<
div
className=
{
"barcodeInputText font30"
}
>
{
this
.
state
.
barcodeErrorText
}
</
div
>
<
input
value=
{
this
.
state
.
barcodeText
}
autoFocus=
{
true
}
className=
{
"barcodeInput font30 col000"
}
onFocus=
{
this
.
handleFocus
.
bind
(
this
)
}
type=
"text"
onChange=
{
this
.
handleInputChange
.
bind
(
this
)
}
/>
<
div
className=
{
"barcodeInputTip font30 colff775c"
}
onClick=
{
()
=>
this
.
changeShowInput
()
}
><
span
className=
{
"colfff"
}
>
or
</
span
>
条形码扫描
</
div
>
{
/*<div className={"barcodeInputTip font30 colff775c"} onClick={()=>this.changeShowInput()}><span className={"colfff"}>or</span>条形码扫描</div>*/
}
<
Button
btnContainer=
{
"barcodeInputBarcode font32 backff775c colfff"
}
key=
{
"barcodeInputBarcode"
}
text=
{
"确定"
}
option=
{
this
.
submitBarcode
}
/>
</
div
>
)
...
...
client/containers/PageContainer/PageContainer.jsx
View file @
0f14bb2e
...
...
@@ -284,6 +284,10 @@ class PageContainer extends React.Component {
}
}
}
else
if
(
!
nextUserInfo
.
employeeId
&&
this
.
state
.
showPage
!==
showPage
[
initPage
]){
this
.
setState
({
showPage
:
showPage
[
initPage
]
})
}
if
(
state
.
errMsg
&&
state
.
errMsg
.
errMsg
){
...
...
@@ -486,7 +490,7 @@ class PageContainer extends React.Component {
this
.
failCloseDoor
();
}
//写死的数据
this
.
tempLogout
();
//
this.tempLogout();
}
...
...
@@ -536,9 +540,9 @@ class PageContainer extends React.Component {
let
{
commonInfo
=
{}}
=
state
;
dispatch
(
willCloseDoor
(
commonInfo
));
this
.
hidePopup
();
this
.
setState
({
showPage
:
showPage
[
initPage
],
});
//
this.setState({
//
showPage : showPage[initPage],
//
});
}
/**
...
...
@@ -699,14 +703,6 @@ class PageContainer extends React.Component {
hidePopup=
{
()
=>
this
.
hidePopup
()
}
/>
;
break;
case showPage[12]:
pages =
<
TroubleContainer
headerInfo=
{
commonInfo
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
updateTroubleList=
{
(
info
)
=>
dispatch
(
updateTroubleList
(
info
,
commonInfo
))
}
/>
break;
case showPage[131]:
pages =
<
HomePage
headerInfo=
{
commonInfo
}
getTaskList=
{
()
=>
{
dispatch
(
getTaskList
(
commonInfo
))}
}
...
...
@@ -718,6 +714,14 @@ class PageContainer extends React.Component {
tempLogout=
{
()
=>
this
.
tempLogout
.
bind
(
this
)()
}
/>
;
break;
case showPage[12]:
pages =
<
TroubleContainer
headerInfo=
{
commonInfo
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
updateTroubleList=
{
(
info
)
=>
dispatch
(
updateTroubleList
(
info
,
commonInfo
))
}
/>
break;
case showPage[6]:
pages =
<
TakeStokeContainer
headerInfo
=
{
commonInfo
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment