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
a2be3251
Commit
a2be3251
authored
Nov 16, 2018
by
wujiabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
93d8809a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
client/containers/TakeStokeContainer/TakeStokeContainer.jsx
+3
-0
No files found.
client/containers/TakeStokeContainer/TakeStokeContainer.jsx
View file @
a2be3251
...
@@ -98,10 +98,13 @@ class TakeStokeContaniner extends React.Component {
...
@@ -98,10 +98,13 @@ class TakeStokeContaniner extends React.Component {
//核对产品数量
//核对产品数量
checkProductNum
(){
checkProductNum
(){
let
{
initNum
}
=
this
.
state
;
let
{
initNum
}
=
this
.
state
;
if
(
!
initNum
===
''
){
let
{
workListId
,
skuPassId
}
=
this
.
props
.
tokeTaskProduct
;
let
{
workListId
,
skuPassId
}
=
this
.
props
.
tokeTaskProduct
;
let
tokeProductInfo
=
{
workListId
,
skuPassId
,
quantity
:
initNum
}
let
tokeProductInfo
=
{
workListId
,
skuPassId
,
quantity
:
initNum
}
this
.
props
.
checkProductQuantity
(
tokeProductInfo
)
this
.
props
.
checkProductQuantity
(
tokeProductInfo
)
}
}
}
//根据后台返回的数据 判断显示的组件
//根据后台返回的数据 判断显示的组件
componentWillReceiveProps
(
nextProps
){
componentWillReceiveProps
(
nextProps
){
if
(
!
(
this
.
props
.
TokeStokeState
.
type
===
3
&&
nextProps
.
TokeStokeState
.
type
===
3
)){
if
(
!
(
this
.
props
.
TokeStokeState
.
type
===
3
&&
nextProps
.
TokeStokeState
.
type
===
3
)){
...
...
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