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
fab30682
Commit
fab30682
authored
Apr 15, 2019
by
wujiabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
6f5d1b8c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
client/components/BreakageComponent/BreakageProductDetail/BreakageProductDetail.jsx
+2
-1
client/containers/BreakageContainer/BreakageConatiner.jsx
+1
-0
client/containers/PageContainer/PageContainer.jsx
+2
-1
No files found.
client/components/BreakageComponent/BreakageProductDetail/BreakageProductDetail.jsx
View file @
fab30682
...
...
@@ -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
)
}
...
...
client/containers/BreakageContainer/BreakageConatiner.jsx
View file @
fab30682
...
...
@@ -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
;
}
...
...
client/containers/PageContainer/PageContainer.jsx
View file @
fab30682
...
...
@@ -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]:
...
...
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