Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
102a4cbd
authored
Dec 02, 2020
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
解决IOS 库存不足弹窗显示失败问题
(cherry picked from commit
622e3bc6
)
parent
a2e2494b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
app/containers/quickOrder/QuickOrderPage.js
app/containers/quickOrder/QuickOrderPage.js
View file @
102a4cbd
...
...
@@ -1123,13 +1123,20 @@ class EquipConsuPage extends Component {
}
// 处理提交后返回的数据
processReturnData
()
{
let
{
quickOrderOption
,
setQuickInitData
}
=
this
.
props
let
{
quickOrderOption
}
=
this
.
props
let
that
=
this
if
(
quickOrderOption
.
create_success
)
{
if
(
quickOrderOption
.
create_success
==
'N'
)
{
// 打开库存不足弹窗
this
.
setState
({
not_enough_items_list
:
quickOrderOption
.
not_enough_items_list
,
showNotEnogPop
:
true
not_enough_items_list
:
quickOrderOption
.
not_enough_items_list
},()
=>
{
// 解决 IOS 弹窗显示问题
setTimeout
(()
=>
{
that
.
setState
({
showNotEnogPop
:
true
})
},
500
)
})
}
else
if
(
quickOrderOption
.
create_success
==
'Y'
)
{
// 打开下单成功页面
...
...
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