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
73df689d
Commit
73df689d
authored
Nov 15, 2018
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change id to employeeId
parent
f9c40116
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
client/actions/TokeStokeContainer.js
+1
-1
client/actions/breakaegContainer.js
+1
-1
client/actions/common.js
+1
-1
client/actions/recovery.js
+1
-1
client/actions/replenish.js
+1
-1
client/actions/uploadError.js
+1
-1
No files found.
client/actions/TokeStokeContainer.js
View file @
73df689d
...
...
@@ -7,7 +7,7 @@ const checkProductQuantity = (data)=>{
let
{
commonInfo
,
tokeProductInfo
}
=
data
;
let
storeId
=
commonInfo
.
storeInfo
.
id
;
let
{
taskId
,
area
,
currentTaskType
}
=
commonInfo
.
taskInfo
;
let
employeeId
=
commonInfo
.
userInfo
.
i
d
;
let
employeeId
=
commonInfo
.
userInfo
.
employeeI
d
;
let
{
quantity
,
skuPassId
,
workListId
}
=
tokeProductInfo
;
let
bodyData
=
{
storeId
,
taskId
,
area
,
quantity
,
skuPassId
,
workListId
,
employeeId
,
currentTaskType
}
let
url
=
domain
+
`machine_pad/work/ck`
;
...
...
client/actions/breakaegContainer.js
View file @
73df689d
...
...
@@ -12,7 +12,7 @@ let myHeaders = new Headers({
const
submitBreakageProduct
=
(
data
)
=>
{
let
{
productDetail
,
commonInfo
}
=
data
;
let
userId
=
commonInfo
.
userInfo
.
i
d
;
let
userId
=
commonInfo
.
userInfo
.
employeeI
d
;
let
{
taskId
}
=
commonInfo
.
taskInfo
;
let
machineId
=
commonInfo
.
storeInfo
.
id
;
let
{
skuPosition
,
skuId
,
skuStatus
}
=
productDetail
;
...
...
client/actions/common.js
View file @
73df689d
...
...
@@ -68,7 +68,7 @@ const getUserinfo = (employeeId,storeId)=>{
const
getTaskList
=
(
data
=
{})
=>
{
let
{
storeInfo
=
{},
userInfo
=
{},
taskInfo
=
{}}
=
data
;
let
taskId
=
taskInfo
.
taskId
||
0
;
let
url
=
`
${
domain
}
machine_pad/work/list/
${
storeInfo
.
id
}
/
${
taskInfo
.
area
}
/
${
taskId
}
/
${
userInfo
.
i
d
}
`
;
let
url
=
`
${
domain
}
machine_pad/work/list/
${
storeInfo
.
id
}
/
${
taskInfo
.
area
}
/
${
taskId
}
/
${
userInfo
.
employeeI
d
}
`
;
return
(
dispatch
)
=>
{
if
(
!
userInfo
.
id
){
dispatch
(
addErrorInfo
(
'没有获取用户信息'
))
...
...
client/actions/recovery.js
View file @
73df689d
...
...
@@ -15,7 +15,7 @@ const finishBoxRecovery = (info)=>{
let
bodyData
=
Object
.
assign
({},{
storeId
:
storeInfo
.
id
,
taskId
:
taskInfo
.
taskId
,
userId
:
userInfo
.
i
d
,
userId
:
userInfo
.
employeeI
d
,
id
:
taskList
.
workListId
,
taskType
:
taskInfo
.
currentTaskType
,
area
:
taskInfo
.
area
...
...
client/actions/replenish.js
View file @
73df689d
...
...
@@ -30,7 +30,7 @@ const finishReplenish = (info,source)=>{
let
bodyData
=
Object
.
assign
({},{
storeId
:
storeInfo
.
id
,
taskId
:
taskInfo
.
taskId
,
userId
:
userInfo
.
i
d
,
userId
:
userInfo
.
employeeI
d
,
taskType
:
taskInfo
.
currentTaskType
,
area
:
taskInfo
.
area
,
id
:
source
===
1
?
taskList
.
workListId
:
0
,
...
...
client/actions/uploadError.js
View file @
73df689d
...
...
@@ -41,7 +41,7 @@ const uploadError = (info,exceptionType,getTask=true)=>{
let
bodyData
=
{
storeId
:
storeInfo
.
id
||
0
,
id
:
taskList
.
workListId
||
0
,
userId
:
userInfo
.
i
d
||
0
,
userId
:
userInfo
.
employeeI
d
||
0
,
taskId
:
taskInfo
.
taskId
||
0
,
exceptionType
:
exceptionType
,
taskType
:
taskInfo
.
currentTaskType
||
''
,
...
...
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