You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
52 lines
1.6 KiB
|
|
@{
|
|
ViewBag.Title = "Index";
|
|
Layout = "~/Views/Shared/_Index.cshtml";
|
|
}
|
|
<style>
|
|
#ISO {
|
|
width: 10px;
|
|
}
|
|
</style>
|
|
<link href="~/Content/js/select2/select2.min.css" rel="stylesheet" />
|
|
<script src="~/Content/js/select2/select2.min.js"></script>
|
|
<script>
|
|
var TransferCode = $.request("TransferCode");
|
|
var WorkPoint = $.request("WorkPoint");
|
|
$(function () {
|
|
|
|
});
|
|
|
|
function submitForm() {
|
|
var ToLocationCode = $("#ToLocationCode").val();
|
|
if (ToLocationCode == "") {
|
|
alert("目标库位不能为空!");
|
|
return;
|
|
}
|
|
$.modalConfirm("确定一键过账吗?", function (r) {
|
|
if (r) {
|
|
$.submitForm({
|
|
url: "/WMS/ICSToSAP/ICSTransferToSAP?TransferCode=" + TransferCode + "&ToLocationCode=" + ToLocationCode + "&WorkPoint=" + WorkPoint + "&" + Math.random(),
|
|
async: false,
|
|
success: function () {
|
|
$.currentWindow().$("#gridList").trigger("reloadGrid");
|
|
}
|
|
})
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
|
|
<form id="form1">
|
|
<div style="padding-top: 20px; margin-right: 20px;">
|
|
<table class="form">
|
|
<tr>
|
|
<th class="formTitle">目标库位:</th>
|
|
<td class="formValue">
|
|
<input id="ToLocationCode" name="ToLocationCode" type="text" class="form-control required" style="width: 150px;" maxlength="100" placeholder="目标库位" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</form>
|