|
|
|
@ -190,24 +190,11 @@ |
|
|
|
}); |
|
|
|
|
|
|
|
applicationOut = function () { |
|
|
|
/*var index = layer.open({ |
|
|
|
title: '出库申请', |
|
|
|
type: 2, |
|
|
|
shade: 0.2, |
|
|
|
maxmin: true, |
|
|
|
shadeClose: true, |
|
|
|
area: ['100%', '100%'], |
|
|
|
content: '/application_out_back?code=' + $("#code").val() + "&depositoryId=" + $("#depositoryId").val() |
|
|
|
}); |
|
|
|
$(window).on("resize", function () { |
|
|
|
layer.full(index); |
|
|
|
});*/ |
|
|
|
// 暂存当前选择的库存记录 |
|
|
|
$.ajax({ |
|
|
|
url: "/material/temporaryValue", |
|
|
|
type: "post", |
|
|
|
dataType: 'json', |
|
|
|
data: JSON.stringify({"id": $("#id").val()}), |
|
|
|
data: JSON.stringify({"id": $("#id").val(),"type":"Out"}), |
|
|
|
contentType: "application/json;charset=utf-8", |
|
|
|
success: function (d) { |
|
|
|
miniTab.openNewTabByIframeNew({ |
|
|
|
@ -216,7 +203,7 @@ |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
return false; |
|
|
|
}; |
|
|
|
|
|
|
|
|