| | |
| | | maxmin: true, |
| | | area: ['1200px', '90%'], |
| | | }); |
| | | }else if(obj.event === 'outKu'){ |
| | | }else if(obj.event === 'outKu'){ |
| | | $("#UnstackWay option[value='0']").attr("selected","selected"); |
| | | form.render('select'); |
| | | var param = { |
| | | soNo: SoNo |
| | | }; |
| | |
| | | if (res.code == 0) { //成功 |
| | | if(res.data=="1"){ |
| | | isNeedUnpack='1' |
| | | $('.DivPickingArea2').attr("style", "display:block") |
| | | $('.DivPickingArea2').show()//.attr("style", "display:block") |
| | | }else{ |
| | | isNeedUnpack='0' |
| | | $('.DivPickingArea2').attr("style", "display:none") |
| | | $('.DivPickingArea2').hide()//.attr("style", "display:none") |
| | | } |
| | | if($('#UnstackWay').val()=='1'){ |
| | | $('.DivPickingArea2').attr("style", "display:block") |
| | | $('.DivPickingArea2').show()//.attr("style", "display:block") |
| | | } |
| | | } else { //不成功 |
| | | layer.msg(res.msg, { |
| | |
| | | form.on('select(UnstackWay)',function(data){ |
| | | var value = data.value; |
| | | if(value==0){ |
| | | $('.DivLoadingArea').attr("style", "display:block") |
| | | $('.DivLoadingArea').show()//.attr("style", "display:block") |
| | | if(isNeedUnpack=='0'){ |
| | | $('.DivPickingArea2').attr("style", "display:none") |
| | | $('.DivPickingArea2').hide()//.attr("style", "display:none") |
| | | }else{ |
| | | $('.DivPickingArea2').attr("style", "display:block") |
| | | $('.DivPickingArea2').show()//.attr("style", "display:block") |
| | | } |
| | | }else{ |
| | | $('.DivLoadingArea').attr("style", "display:none") |
| | | $('.DivPickingArea2').attr("style", "display:block") |
| | | $('.DivLoadingArea').hide()//.attr("style", "display:none") |
| | | $('.DivPickingArea2').show()//.attr("style", "display:block") |
| | | } |
| | | }); |
| | | |