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
c384db3a
Commit
c384db3a
authored
Sep 28, 2018
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善补货盘点点击查看区域照片,最后一部跳转到页面7
parent
70c53577
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
65 additions
and
61 deletions
+65
-61
client/components/CommonComponent/HeaderComponent/HeaderComponent.jsx
+1
-1
client/components/CommonComponent/HeaderComponent/index.css
+3
-2
client/components/CommonComponent/SkuInfoComponent/SkuInfoComponent.jsx
+14
-2
client/components/RecoveryComponent/RecoverySecondPage/RecoverySecondPage.jsx
+1
-1
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
+16
-5
client/containers/ChooseTaskContainer/ChooseTaskContainer.jsx
+3
-3
client/containers/HomePageContainer/index.css
+0
-20
client/containers/PageContainer/PageContainer.jsx
+27
-27
No files found.
client/components/CommonComponent/HeaderComponent/HeaderComponent.jsx
View file @
c384db3a
...
@@ -97,7 +97,7 @@ export default class HeaderComponent extends React.Component{
...
@@ -97,7 +97,7 @@ export default class HeaderComponent extends React.Component{
userInfo
&&
userInfo
.
id
?
<
div
className=
{
"userinfos"
}
>
userInfo
&&
userInfo
.
id
?
<
div
className=
{
"userinfos"
}
>
<
img
className=
{
"userheadImg"
}
src=
{
userInfo
.
headImageUrl
||
UTILPATH
.
localImg
.
defaultImg
}
alt=
""
/>
<
img
className=
{
"userheadImg"
}
src=
{
userInfo
.
headImageUrl
||
UTILPATH
.
localImg
.
defaultImg
}
alt=
""
/>
<
div
className=
{
"userinfo font
24
colfff"
}
>
<
div
className=
{
"userinfo font
30
colfff"
}
>
<
p
>
{
userInfo
.
employeeName
||
''
}
</
p
>
<
p
>
{
userInfo
.
employeeName
||
''
}
</
p
>
<
p
>
ID:
{
userInfo
.
id
||
0
}
</
p
>
<
p
>
ID:
{
userInfo
.
id
||
0
}
</
p
>
</
div
>
</
div
>
...
...
client/components/CommonComponent/HeaderComponent/index.css
View file @
c384db3a
...
@@ -79,8 +79,9 @@
...
@@ -79,8 +79,9 @@
margin-right
:
24px
;
margin-right
:
24px
;
}
}
.headerComponent
.homeHeader
.rightContent
.userinfo
{
.headerComponent
.homeHeader
.rightContent
.userinfo
{
line-height
:
34px
;
/*line-height: 34px;*/
padding-top
:
18px
;
/*padding-top: 18px;*/
line-height
:
40px
;
}
}
.otherHeader
{
.otherHeader
{
/*line-height: 97px;*/
/*line-height: 97px;*/
...
...
client/components/CommonComponent/SkuInfoComponent/SkuInfoComponent.jsx
View file @
c384db3a
...
@@ -2,7 +2,8 @@ import React from 'react';
...
@@ -2,7 +2,8 @@ import React from 'react';
require
(
'./index.css'
)
require
(
'./index.css'
)
export
default
class
SkuInfoComponent
extends
React
.
Component
{
export
default
class
SkuInfoComponent
extends
React
.
Component
{
constructor
(
props
){
constructor
(
props
){
super
(
props
)
super
(
props
);
this
.
showImg
=
this
.
showImg
.
bind
(
this
)
this
.
state
=
{
this
.
state
=
{
style
:
{
style
:
{
width
:
"100%"
,
width
:
"100%"
,
...
@@ -25,6 +26,17 @@ export default class SkuInfoComponent extends React.Component{
...
@@ -25,6 +26,17 @@ export default class SkuInfoComponent extends React.Component{
})
})
}
}
showImg
(
imgSrc
){
let
{
showPopup
,
hidePopup
}
=
this
.
props
;
let
showImgDom
=
<
div
onClick=
{
()
=>
hidePopup
()
}
className=
{
"showBigImg"
}
>
<
img
src=
{
imgSrc
||
UTILPATH
.
localImg
.
defaultImg
}
alt=
""
/>
</
div
>;
showPopup
({
popupChild
:
showImgDom
});
}
render
(){
render
(){
let
props
=
this
.
props
;
let
props
=
this
.
props
;
let
{
classNames
=
''
,
style
=
{},
skuInfo
=
{},
taskType
=
""
}
=
props
;
let
{
classNames
=
''
,
style
=
{},
skuInfo
=
{},
taskType
=
""
}
=
props
;
...
@@ -44,7 +56,7 @@ export default class SkuInfoComponent extends React.Component{
...
@@ -44,7 +56,7 @@ export default class SkuInfoComponent extends React.Component{
<
li
className=
{
""
}
>
<
li
className=
{
""
}
>
<
span
className=
{
""
}
>
所在区域:
{
skuInfo
.
shortPosition
||
''
}
<
span
className=
{
""
}
>
所在区域:
{
skuInfo
.
shortPosition
||
''
}
{
{
skuInfo
.
areaImage
?
<
span
className=
{
"areaBtn colff775c"
}
>
位置照片
</
span
>
:
null
skuInfo
.
areaImage
?
<
span
className=
{
"areaBtn colff775c"
}
onClick=
{
()
=>
this
.
showImg
(
skuInfo
.
areaImage
)
}
>
位置照片
</
span
>
:
null
}
}
</
span
>
</
span
>
{
{
...
...
client/components/RecoveryComponent/RecoverySecondPage/RecoverySecondPage.jsx
View file @
c384db3a
...
@@ -85,7 +85,7 @@ export default class RecoverySecondPage extends React.Component{
...
@@ -85,7 +85,7 @@ export default class RecoverySecondPage extends React.Component{
<
div
className=
{
"RecoverySecondPage commonPage"
}
>
<
div
className=
{
"RecoverySecondPage commonPage"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
任务目标:请将该货道货品进行扫码回收
</
div
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
任务目标:请将该货道货品进行扫码回收
</
div
>
<
div
className=
{
"box pagebox"
}
>
<
div
className=
{
"box pagebox"
}
>
<
SkuInfoComponent
style=
{
{
'display'
:
'flex'
}
}
skuInfo=
{
taskList
}
taskType=
{
taskInfo
.
currentTaskType
||
""
}
/>
<
SkuInfoComponent
s
howPopup=
{
props
.
showPopup
}
hidePopup=
{
props
.
hidePopup
}
s
tyle=
{
{
'display'
:
'flex'
}
}
skuInfo=
{
taskList
}
taskType=
{
taskInfo
.
currentTaskType
||
""
}
/>
<
div
className=
{
"btn"
}
>
<
div
className=
{
"btn"
}
>
<
Button
btnContainer=
{
"recoverySecondPageBtn font32 colfff"
}
key=
{
"RecoverySecondPageBtn"
}
text=
{
'扫码回收'
}
option=
{
this
.
scanQrcode
}
/>
<
Button
btnContainer=
{
"recoverySecondPageBtn font32 colfff"
}
key=
{
"RecoverySecondPageBtn"
}
text=
{
'扫码回收'
}
option=
{
this
.
scanQrcode
}
/>
<
div
className=
{
"text colff775c font28"
}
onClick=
{
()
=>
this
.
wrongSku
()
}
>
货品不符?
</
div
>
<
div
className=
{
"text colff775c font28"
}
onClick=
{
()
=>
this
.
wrongSku
()
}
>
货品不符?
</
div
>
...
...
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
View file @
c384db3a
...
@@ -30,6 +30,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -30,6 +30,7 @@ export default class ReplenishSkuPage extends React.Component{
this
.
putInBox
=
this
.
putInBox
.
bind
(
this
);
// 放回
this
.
putInBox
=
this
.
putInBox
.
bind
(
this
);
// 放回
this
.
continueScan
=
this
.
continueScan
.
bind
(
this
);
// 继续扫描
this
.
continueScan
=
this
.
continueScan
.
bind
(
this
);
// 继续扫描
this
.
scanOver
=
this
.
scanOver
.
bind
(
this
);
// 全部补货完毕
this
.
scanOver
=
this
.
scanOver
.
bind
(
this
);
// 全部补货完毕
this
.
showImg
=
this
.
showImg
.
bind
(
this
);
// 全部补货完毕
this
.
state
=
{
this
.
state
=
{
pageType
:
1
,
pageType
:
1
,
...
@@ -111,6 +112,16 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -111,6 +112,16 @@ export default class ReplenishSkuPage extends React.Component{
}
}
}
}
showImg
(
imgSrc
){
let
{
showPopup
,
hidePopup
}
=
this
.
props
;
let
showImgDom
=
<
div
onClick=
{
()
=>
hidePopup
()
}
className=
{
"showBigImg"
}
>
<
img
src=
{
imgSrc
||
UTILPATH
.
localImg
.
defaultImg
}
alt=
""
/>
</
div
>;
showPopup
({
popupChild
:
showImgDom
});
}
getSkuInfo
(){
getSkuInfo
(){
let
{
headerInfo
}
=
this
.
props
;
let
{
headerInfo
}
=
this
.
props
;
let
{
taskList
=
{}}
=
headerInfo
let
{
taskList
=
{}}
=
headerInfo
...
@@ -126,7 +137,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -126,7 +137,7 @@ export default class ReplenishSkuPage extends React.Component{
</
div
>
</
div
>
<
div
className=
{
"skuPos col333 font30"
}
>
<
div
className=
{
"skuPos col333 font30"
}
>
<
ul
>
<
ul
>
<
li
><
span
className=
{
"skuPosTitle fl"
}
>
所在区域:
</
span
>
{
taskList
.
area
}
区域
<
span
className=
{
"colff775c showAreaImg"
}
>
区域照片
</
span
></
li
>
<
li
><
span
className=
{
"skuPosTitle fl"
}
>
所在区域:
</
span
>
{
taskList
.
area
}
区域
<
span
className=
{
"colff775c showAreaImg"
}
onClick=
{
()
=>
this
.
showImg
(
taskList
.
areaImage
)
}
>
区域照片
</
span
></
li
>
<
li
className=
{
""
}
>
<
li
className=
{
""
}
>
<
span
className=
{
"skuPosTitle"
}
>
货道信息:
</
span
>
<
span
className=
{
"skuPosTitle"
}
>
货道信息:
</
span
>
<
span
className=
{
""
}
>
{
taskList
.
position
}
</
span
>
<
span
className=
{
""
}
>
{
taskList
.
position
}
</
span
>
...
@@ -166,7 +177,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -166,7 +177,7 @@ export default class ReplenishSkuPage extends React.Component{
}
}
getWrongSku
(){
getWrongSku
(){
let
{
headerInfo
}
=
this
.
props
;
let
{
headerInfo
,
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
taskList
=
{},
taskInfo
=
{}}
=
headerInfo
;
let
{
taskList
=
{},
taskInfo
=
{}}
=
headerInfo
;
return
(
return
(
<
div
className=
{
"replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"replenishWrongSkuPage commonPage"
}
>
...
@@ -181,7 +192,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -181,7 +192,7 @@ export default class ReplenishSkuPage extends React.Component{
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中的货品是否相符?
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中的货品是否相符?
</
div
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
SkuInfoComponent
style=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
<
SkuInfoComponent
s
howPopup=
{
showPopup
}
hidePopup=
{
hidePopup
}
s
tyle=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
</
div
>
</
div
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货品不符'
}
option=
{
this
.
handleWrongSkuQuestion
}
/>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货品不符'
}
option=
{
this
.
handleWrongSkuQuestion
}
/>
...
@@ -192,7 +203,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -192,7 +203,7 @@ export default class ReplenishSkuPage extends React.Component{
}
}
overflowShelf
(){
overflowShelf
(){
let
{
headerInfo
}
=
this
.
props
;
let
{
headerInfo
,
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
taskList
=
{}}
=
headerInfo
;
let
{
taskList
=
{}}
=
headerInfo
;
return
(
return
(
<
div
className=
{
"replenishOverflowShelfPage replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"replenishOverflowShelfPage replenishWrongSkuPage commonPage"
}
>
...
@@ -207,7 +218,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -207,7 +218,7 @@ export default class ReplenishSkuPage extends React.Component{
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中是否已放满货品
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中是否已放满货品
</
div
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
SkuInfoComponent
style=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
<
SkuInfoComponent
s
howPopup=
{
showPopup
}
hidePopup=
{
hidePopup
}
s
tyle=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
</
div
>
</
div
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货道已满'
}
option=
{
this
.
handleOverflowShelfQuestion
}
/>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货道已满'
}
option=
{
this
.
handleOverflowShelfQuestion
}
/>
...
...
client/containers/ChooseTaskContainer/ChooseTaskContainer.jsx
View file @
c384db3a
...
@@ -27,13 +27,13 @@ export default class ChooseTaskContainer extends React.Component{
...
@@ -27,13 +27,13 @@ export default class ChooseTaskContainer extends React.Component{
render
(){
render
(){
let
{
userInfo
,
storeInfo
}
=
this
.
props
;
let
props
=
this
.
props
;
let
{
headerInfo
}
=
props
;
return
(
return
(
<
div
>
<
div
>
<
HeaderComponent
<
HeaderComponent
showHeader=
{
CONFIG
.
headerStatus
[
1
]
}
showHeader=
{
CONFIG
.
headerStatus
[
1
]
}
userinfo=
{
userInfo
}
headerInfo=
{
headerInfo
}
storeInfo=
{
storeInfo
}
/>
/>
<
div
className=
{
"chooseTaskContainer"
}
>
<
div
className=
{
"chooseTaskContainer"
}
>
<
div
className=
{
"chooseTaskText font32"
}
>
<
div
className=
{
"chooseTaskText font32"
}
>
...
...
client/containers/HomePageContainer/index.css
View file @
c384db3a
/*.homeContainer{*/
/*text-align: center;*/
/*position: relative;*/
/*}*/
/*.homeContainer .homeIcon{*/
/*margin: 134px 0 40px 0;*/
/*}*/
/*.homeContainer .homeText{*/
/*}*/
/*.homeContainer .closeDoorContent{*/
/*margin-top: 140px;*/
/*}*/
/*.homeContainer .closeDoorContent .closeDoorText{*/
/*margin-bottom: 20px;*/
/*line-height: 40px;*/
/*}*/
.homeContainer
.homeIcon
{
.homeContainer
.homeIcon
{
width
:
213px
;
width
:
213px
;
height
:
240px
;
height
:
240px
;
...
...
client/containers/PageContainer/PageContainer.jsx
View file @
c384db3a
...
@@ -238,7 +238,7 @@ class PageContainer extends React.Component {
...
@@ -238,7 +238,7 @@ class PageContainer extends React.Component {
this
.
changePages
(
CONFIG
.
showPage
[
11
]);
this
.
changePages
(
CONFIG
.
showPage
[
11
]);
break
;
break
;
case
'PF'
:
case
'PF'
:
this
.
changePages
(
CONFIG
.
showPage
[
initPage
]);
this
.
changePages
(
CONFIG
.
showPage
[
9
]);
break
;
break
;
}
}
}
}
...
@@ -503,12 +503,13 @@ class PageContainer extends React.Component {
...
@@ -503,12 +503,13 @@ class PageContainer extends React.Component {
getPages
(){
getPages
(){
let
pages
=
null
;
let
pages
=
null
;
let
{
state
,
dispatch
}
=
this
.
props
;
let
{
state
,
dispatch
}
=
this
.
props
;
let
{
commonInfo
}
=
state
;
switch
(
this
.
state
.
showPage
){
switch
(
this
.
state
.
showPage
){
case
showPage
[
1
]:
case
showPage
[
1
]:
pages
=
<
TroubleContainer
pages
=
<
TroubleContainer
troubleList=
{
state
.
troubleList
}
troubleList=
{
state
.
troubleList
}
refreshImg
=
{
state
.
refreshImg
}
refreshImg
=
{
state
.
refreshImg
}
storeInfo=
{
state
.
commonInfo
.
storeInfo
}
storeInfo=
{
commonInfo
.
storeInfo
}
userInfo=
{
state
.
userInfo
}
userInfo=
{
state
.
userInfo
}
initTroubleList=
{
(
info
)
=>
dispatch
(
getTroubleList
(
info
))
}
initTroubleList=
{
(
info
)
=>
dispatch
(
getTroubleList
(
info
))
}
showTextArea=
{
(
text
)
=>
this
.
showTextArea
(
text
)
}
showTextArea=
{
(
text
)
=>
this
.
showTextArea
(
text
)
}
...
@@ -523,7 +524,7 @@ class PageContainer extends React.Component {
...
@@ -523,7 +524,7 @@ class PageContainer extends React.Component {
break
;
break
;
case
showPage
[
2
]:
case
showPage
[
2
]:
pages
=
<
ScanBarCodeContainer
pages
=
<
ScanBarCodeContainer
headerInfo
=
{
state
.
commonInfo
}
headerInfo
=
{
commonInfo
}
storeInfo=
{
state
.
storeInfo
}
storeInfo=
{
state
.
storeInfo
}
userInfo=
{
state
.
userInfo
}
userInfo=
{
state
.
userInfo
}
getProductInfo
=
{(
postData
)=
>
dispatch(scanBarCodeGetProductInfo(postData))}
getProductInfo
=
{(
postData
)=
>
dispatch(scanBarCodeGetProductInfo(postData))}
...
@@ -542,7 +543,7 @@ class PageContainer extends React.Component {
...
@@ -542,7 +543,7 @@ class PageContainer extends React.Component {
getReportDamageList
=
{(
postData
)=
>
dispatch(getReportDamageList(postData))}
getReportDamageList
=
{(
postData
)=
>
dispatch(getReportDamageList(postData))}
deleteDamageItem =
{
(
postData
)
=>
{
dispatch
(
deleteDamageItem
(
postData
))}
}
deleteDamageItem =
{
(
postData
)
=>
{
dispatch
(
deleteDamageItem
(
postData
))}
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
headerInfo =
{
state
.
commonInfo
}
headerInfo =
{
commonInfo
}
storeInfo=
{
state
.
storeInfo
}
storeInfo=
{
state
.
storeInfo
}
userInfo=
{
state
.
userInfo
}
userInfo=
{
state
.
userInfo
}
state =
{
state
}
state =
{
state
}
...
@@ -560,7 +561,7 @@ class PageContainer extends React.Component {
...
@@ -560,7 +561,7 @@ class PageContainer extends React.Component {
getRefreshImg=
{
(
errorId
,
type
)
=>
dispatch
(
getRefreshImg
(
errorId
,
type
))
}
getRefreshImg=
{
(
errorId
,
type
)
=>
dispatch
(
getRefreshImg
(
errorId
,
type
))
}
deleteImg=
{
(
errorId
,
type
,
fileId
)
=>
dispatch
(
deleteImg
(
errorId
,
type
,
fileId
))
}
deleteImg=
{
(
errorId
,
type
,
fileId
)
=>
dispatch
(
deleteImg
(
errorId
,
type
,
fileId
))
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
headerInfo =
{
state
.
commonInfo
}
headerInfo =
{
commonInfo
}
storeInfo=
{
state
.
storeInfo
}
storeInfo=
{
state
.
storeInfo
}
userInfo=
{
state
.
userInfo
}
userInfo=
{
state
.
userInfo
}
state =
{
state
}
state =
{
state
}
...
@@ -586,8 +587,7 @@ class PageContainer extends React.Component {
...
@@ -586,8 +587,7 @@ class PageContainer extends React.Component {
/>
;
/>
;
break;
break;
case showPage[9]:
case showPage[9]:
pages =
<
ChooseTaskContainer
storeInfo=
{
state
.
storeInfo
}
pages =
<
ChooseTaskContainer
headerInfo=
{
commonInfo
}
userInfo=
{
state
.
userInfo
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
showOpenDoorPage=
{
()
=>
this
.
showOpenDoorPage
.
bind
(
this
)()
}
showOpenDoorPage=
{
()
=>
this
.
showOpenDoorPage
.
bind
(
this
)()
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
...
@@ -595,54 +595,54 @@ class PageContainer extends React.Component {
...
@@ -595,54 +595,54 @@ class PageContainer extends React.Component {
break;
break;
/*以下是二期页面 start*/
/*以下是二期页面 start*/
case showPage[13]:
case showPage[13]:
pages =
<
HomePage
headerInfo=
{
state
.
commonInfo
}
pages =
<
HomePage
headerInfo=
{
commonInfo
}
getTaskList=
{
()
=>
{
dispatch
(
getTaskList
(
state
.
commonInfo
))}
}
getTaskList=
{
()
=>
{
dispatch
(
getTaskList
(
commonInfo
))}
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
changePages=
{
(
data
)
=>
this
.
changePages
(
data
)
}
/>
;
/>
;
break;
break;
case showPage[6]:
case showPage[6]:
pages =
<
TakeStokeContainer
headerInfo
=
{
state
.
commonInfo
}
pages =
<
TakeStokeContainer
headerInfo
=
{
commonInfo
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
tokeTaskProduct=
{
state
.
commonInfo
.
taskList
}
tokeTaskProduct=
{
commonInfo
.
taskList
}
checkProductQuantity=
{
(
tokeProductInfo
)
=>
{
dispatch
(
checkProductQuantity
({
commonInfo
:
state
.
commonInfo
,
tokeProductInfo
}))}
}
checkProductQuantity=
{
(
tokeProductInfo
)
=>
{
dispatch
(
checkProductQuantity
({
commonInfo
,
tokeProductInfo
}))}
}
TokeStokeState=
{
state
.
TokeStokeContainer
}
TokeStokeState=
{
state
.
TokeStokeContainer
}
getTaskList=
{
()
=>
{
dispatch
(
getTaskList
(
state
.
commonInfo
))}
}
getTaskList=
{
()
=>
{
dispatch
(
getTaskList
(
commonInfo
))}
}
/>
;
/>
;
break;
break;
case showPage[5]:
case showPage[5]:
pages =
<
BreakageContainer
pages =
<
BreakageContainer
pullTaskList=
{
()
=>
{
dispatch
(
hasNoSku
(
state
.
commonInfo
))}
}
pullTaskList=
{
()
=>
{
dispatch
(
hasNoSku
(
commonInfo
))}
}
headerInfo=
{
state
.
commonInfo
}
headerInfo=
{
commonInfo
}
getBarCodeProductInfo=
{
(
barcode
)
=>
{
dispatch
(
getBarCodeProductInfo
({
barcode
,
commonInfo
:
state
.
commonInfo
}))}
}
getBarCodeProductInfo=
{
(
barcode
)
=>
{
dispatch
(
getBarCodeProductInfo
({
barcode
,
commonInfo
}))}
}
breakageProductInfo=
{
state
.
barcodeCommon
}
breakageProductInfo=
{
state
.
barcodeCommon
}
submitBreakageProduct=
{
(
productDetail
)
=>
{
dispatch
(
submitBreakageProduct
({
commonInfo
:
state
.
commonInfo
,
productDetail
}))}
}
submitBreakageProduct=
{
(
productDetail
)
=>
{
dispatch
(
submitBreakageProduct
({
commonInfo
,
productDetail
}))}
}
/>
;
/>
;
break;
break;
case showPage[10]:
case showPage[10]:
pages =
<
RecoveryPage
pages =
<
RecoveryPage
headerInfo
=
{
state
.
commonInfo
}
headerInfo
=
{
commonInfo
}
recoveryInfo
=
{
state
.
recoveryInfo
}
recoveryInfo
=
{
state
.
recoveryInfo
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
getTaskName=
{
()
=>
dispatch
(
getTaskName
(
state
.
commonInfo
.
taskInfo
.
currentTaskType
,
2
))
}
getTaskName=
{
()
=>
dispatch
(
getTaskName
(
commonInfo
.
taskInfo
.
currentTaskType
,
2
))
}
finishBoxRecovery=
{
()
=>
dispatch
(
finishBoxRecovery
(
state
.
commonInfo
))
}
finishBoxRecovery=
{
()
=>
dispatch
(
finishBoxRecovery
(
commonInfo
))
}
uploadError=
{
(
exceptionType
)
=>
dispatch
(
uploadError
(
state
.
commonInfo
,
exceptionType
))
}
uploadError=
{
(
exceptionType
)
=>
dispatch
(
uploadError
(
commonInfo
,
exceptionType
))
}
getBarCodeProductInfo=
{
(
barcode
)
=>
{
dispatch
(
getBarCodeProductInfo
({
barcode
,
commonInfo
:
state
.
commonInfo
}))}
}
getBarCodeProductInfo=
{
(
barcode
)
=>
{
dispatch
(
getBarCodeProductInfo
({
barcode
,
commonInfo
}))}
}
/>
;
/>
;
break;
break;
case showPage[11]:
case showPage[11]:
pages =
<
ReplenishContainer
pages =
<
ReplenishContainer
headerInfo
=
{
state
.
commonInfo
}
headerInfo
=
{
commonInfo
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
showPopup=
{
(
info
)
=>
this
.
showPopup
(
info
)
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
hidePopup=
{
()
=>
this
.
hidePopup
()
}
barcodeInfo=
{
state
.
barcodeCommon
}
barcodeInfo=
{
state
.
barcodeCommon
}
replenishInfo=
{
state
.
replenishInfo
}
replenishInfo=
{
state
.
replenishInfo
}
getBarCodeProductInfo=
{
(
barcode
)
=>
{
dispatch
(
getBarCodeProductInfo
({
barcode
,
commonInfo
:
state
.
commonInfo
}))}
}
getBarCodeProductInfo=
{
(
barcode
)
=>
{
dispatch
(
getBarCodeProductInfo
({
barcode
,
commonInfo
}))}
}
finishBoxRecovery=
{
()
=>
dispatch
(
finishBoxRecovery
(
state
.
commonInfo
))
}
finishBoxRecovery=
{
()
=>
dispatch
(
finishBoxRecovery
(
commonInfo
))
}
emptyErrorInfo=
{
()
=>
dispatch
(
replenishAction
.
emptyErrorInfo
())
}
emptyErrorInfo=
{
()
=>
dispatch
(
replenishAction
.
emptyErrorInfo
())
}
uploadError=
{
(
exceptionType
)
=>
dispatch
(
uploadError
(
state
.
commonInfo
,
exceptionType
))
}
uploadError=
{
(
exceptionType
)
=>
dispatch
(
uploadError
(
commonInfo
,
exceptionType
))
}
finishReplenish=
{
(
source
)
=>
dispatch
(
replenishAction
.
finishReplenish
(
state
.
commonInfo
,
source
))
}
finishReplenish=
{
(
source
)
=>
dispatch
(
replenishAction
.
finishReplenish
(
commonInfo
,
source
))
}
/>
/>
/*以下是二期页面 end*/
/*以下是二期页面 end*/
}
}
...
...
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