Commit 102a4cbd by Denglingling

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

(cherry picked from commit 622e3bc6)
parent a2e2494b
Showing with 9 additions and 2 deletions
......@@ -1123,14 +1123,21 @@ 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,
not_enough_items_list: quickOrderOption.not_enough_items_list
},() => {
// 解决 IOS 弹窗显示问题
setTimeout(() => {
that.setState({
showNotEnogPop: true
})
}, 500)
})
} else if(quickOrderOption.create_success == 'Y') {
// 打开下单成功页面
this.clearAllData()
......
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