| | |
| | | $('.DivPickingArea2').show() |
| | | } |
| | | |
| | | outFunction() |
| | | outFunction(data.SONo) |
| | | } else { //不成功 |
| | | layer.msg(res.msg, { |
| | | icon: 2, |
| | |
| | | |
| | | $('.DivLoadingArea').hide() |
| | | |
| | | outFunction() |
| | | outFunction(data.SONo) |
| | | } |
| | | |
| | | |
| | |
| | | }); |
| | | |
| | | //选择出库口弹窗方法 |
| | | function outFunction(){ |
| | | function outFunction(soNo){ |
| | | layer.open({ |
| | | type: 1, |
| | | title: '确认出库口', |
| | |
| | | icon: 2, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }); |
| | | return; |
| | | } |
| | | if(isNeedUnpack=='1'){ |
| | | if(pa==''){ |
| | | layer.msg("请选择出库口", { |
| | | icon: 2, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }); |
| | | return; |
| | | } |
| | | } |
| | | }else{ |
| | | if(pa==''){ |
| | | layer.msg("请选择出库口", { |
| | | icon: 2, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }); |
| | | isChongFu= true; |
| | | return; |
| | | } |
| | | } |
| | | console.log($("#PickingArea").val()) |
| | | if($("#PickingArea").val() == '') |
| | | { |
| | | layer.msg("请选择出库口", { |
| | | icon: 2, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }); |
| | | isChongFu= true; |
| | | return; |
| | | } |
| | | var param = { |
| | | soNo: data.SONo, |
| | | soNo: soNo, |
| | | unstackingMode:$('#UnstackWay').val(), |
| | | outMode: pa, |
| | | loadingAddre:$('#LoadingArea').val() |