Commit 102a4cbd by Denglingling

解决IOS 库存不足弹窗显示失败问题

(cherry picked from commit 622e3bc6)
parent a2e2494b
Showing with 10 additions and 3 deletions
...@@ -1123,13 +1123,20 @@ class EquipConsuPage extends Component { ...@@ -1123,13 +1123,20 @@ class EquipConsuPage extends Component {
} }
// 处理提交后返回的数据 // 处理提交后返回的数据
processReturnData() { processReturnData() {
let { quickOrderOption, setQuickInitData } = this.props let { quickOrderOption } = this.props
let that = this
if(quickOrderOption.create_success) { if(quickOrderOption.create_success) {
if(quickOrderOption.create_success == 'N') { if(quickOrderOption.create_success == 'N') {
// 打开库存不足弹窗 // 打开库存不足弹窗
this.setState({ this.setState({
not_enough_items_list: quickOrderOption.not_enough_items_list, not_enough_items_list: quickOrderOption.not_enough_items_list
showNotEnogPop: true },() => {
// 解决 IOS 弹窗显示问题
setTimeout(() => {
that.setState({
showNotEnogPop: true
})
}, 500)
}) })
} else if(quickOrderOption.create_success == 'Y') { } else if(quickOrderOption.create_success == 'Y') {
// 打开下单成功页面 // 打开下单成功页面
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment