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
eacdee7e
Commit
eacdee7e
authored
Apr 15, 2019
by
wujiabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报损增加区域
parent
ddc1dd41
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
client/actions/breakaegContainer.js
+2
-2
client/components/BreakageComponent/BreakageProductDetail/BreakageProductDetail.jsx
+1
-1
client/containers/BreakageContainer/BreakageConatiner.jsx
+1
-0
client/containers/PageContainer/PageContainer.jsx
+5
-3
No files found.
client/actions/breakaegContainer.js
View file @
eacdee7e
...
...
@@ -15,8 +15,8 @@ const submitBreakageProduct = (data)=>{
let
userId
=
commonInfo
.
userInfo
.
employeeId
;
let
{
taskId
}
=
commonInfo
.
taskInfo
;
let
machineId
=
commonInfo
.
storeInfo
.
id
;
let
{
skuPosition
,
skuId
,
skuStatus
}
=
productDetail
;
let
bodyData
=
{
skuPosition
,
skuId
,
skuStatus
,
machineId
,
taskId
}
let
{
skuPosition
,
skuId
,
skuStatus
,
area
}
=
productDetail
;
let
bodyData
=
{
skuPosition
,
skuId
,
skuStatus
,
machineId
,
taskId
,
area
}
let
url
=
domain
+
`machine_pad/lr/
${
userId
}
`
;
UTILPATH
.
myLogger
.
info
(
"submitBreakageProduct url"
,
url
);
UTILPATH
.
myLogger
.
info
(
"submitBreakageProduct request"
,
bodyData
);
...
...
client/components/BreakageComponent/BreakageProductDetail/BreakageProductDetail.jsx
View file @
eacdee7e
...
...
@@ -108,7 +108,7 @@ class BreakageProductDetail extends React.Component{
let
{
product
}
=
this
.
props
.
breakageProductInfo
;
let
{
statusColor
,
packStatus
,
positionColor
}
=
this
.
state
;
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
:
this
.
props
.
area
}
this
.
props
.
submitBreakageProduct
(
productDetail
);
this
.
props
.
changePopShow
(
true
)
}
...
...
client/containers/BreakageContainer/BreakageConatiner.jsx
View file @
eacdee7e
...
...
@@ -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 @
eacdee7e
...
...
@@ -149,9 +149,9 @@ class PageContainer extends React.Component {
// this.beginCountBack();
//
// dispatch(saveCommonInfo({ip:"192.168.10.128"}));
// dispatch(getStoreInfo(3
4
));
// dispatch(saveCommonInfo({userInfo:{employeeId:
14
}}));
// dispatch(getUserinfo(
14,34
))
// dispatch(getStoreInfo(3
1
));
// dispatch(saveCommonInfo({userInfo:{employeeId:
3
}}));
// dispatch(getUserinfo(
3,31
))
// dispatch(saveCommonInfo(Object.assign({},{taskInfo:{area:'A'}})))
on
(
CONFIG
.
socketType
.
GETSTOREINFO
,
this
,
function
(
data
)
{
...
...
@@ -833,6 +833,7 @@ class PageContainer extends React.Component {
breakageProductInfo=
{
state
.
barcodeCommon
}
breakageContainer
={
state
.
breakageContainer
}
submitBreakageProduct=
{
(
productDetail
)
=>
{
dispatch
(
submitBreakageProduct
({
commonInfo
,
productDetail
}))}
}
area=
{
area
}
/>
;
break;
case showPage[51]:
...
...
@@ -844,6 +845,7 @@ class PageContainer extends React.Component {
breakageProductInfo=
{
state
.
barcodeCommon
}
breakageContainer
={
state
.
breakageContainer
}
submitBreakageProduct=
{
(
productDetail
)
=>
{
dispatch
(
submitBreakageProduct
({
commonInfo
,
productDetail
}))}
}
area=
{
area
}
/>
;
break;
case showPage[10]:
...
...
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