| | |
| | | var pageCurr; |
| | | |
| | | function right(){ |
| | | top.layui.admin.popupRight({ |
| | | top.popupRight = top.layui.admin.popupRight({ |
| | | id: 'LAY_adminPopupLayerTest' |
| | | , area: '750px' |
| | | , type: 2 |
| | | ,content:'custOrder/matQuery.html' |
| | | ,success: function(){ |
| | | , content:'custOrder/matQuery.html' |
| | | , success: function(){ |
| | | // $('#'+ this.id).html('<div style="padding: 20px;">放入内容</div>'); |
| | | //admin.view(this.id).render('system/xxx') |
| | | } |
| | | , end: function () { |
| | | $(".layui-laypage-btn")[0].click(); |
| | | } |
| | | }); |
| | | } |
| | |
| | | success: function (res) { |
| | | if (res.code === 200){ |
| | | layer.closeAll(); |
| | | tableReload(false); |
| | | $(".layui-laypage-btn")[0].click(); |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/"; |
| | | } else { |
| | |
| | | } else if (res.code === 20001) { |
| | | layer.confirm(res.msg, { |
| | | shadeClose: true |
| | | , btn: ['库存调拨', '打印'] |
| | | , btn: ['库存调拨', '取消'] |
| | | }, function() { |
| | | // todo 库存调拨 |
| | | layer.closeAll(); |
| | | }, function() { |
| | | printPakouts(data.number); |
| | | // printPakouts(data.number); |
| | | layer.closeAll(); |
| | | } |
| | | ) |