纽威
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

  1. 
  2. @{
  3. ViewBag.Title = "Index";
  4. Layout = "~/Views/Shared/_Index.cshtml";
  5. }
  6. <style>
  7. #ISO {
  8. width: 10px;
  9. }
  10. </style>
  11. <link href="~/Content/js/select2/select2.min.css" rel="stylesheet" />
  12. <script src="~/Content/js/select2/select2.min.js"></script>
  13. <script>
  14. var TransferCode = $.request("TransferCode");
  15. var WorkPoint = $.request("WorkPoint");
  16. $(function () {
  17. });
  18. function submitForm() {
  19. var ToLocationCode = $("#ToLocationCode").val();
  20. if (ToLocationCode == "") {
  21. alert("目标库位不能为空!");
  22. return;
  23. }
  24. $.modalConfirm("确定一键过账吗?", function (r) {
  25. if (r) {
  26. $.submitForm({
  27. url: "/WMS/ICSToSAP/ICSTransferToSAP?TransferCode=" + TransferCode + "&ToLocationCode=" + ToLocationCode + "&WorkPoint=" + WorkPoint + "&" + Math.random(),
  28. async: false,
  29. success: function () {
  30. $.currentWindow().$("#gridList").trigger("reloadGrid");
  31. }
  32. })
  33. }
  34. });
  35. }
  36. </script>
  37. <form id="form1">
  38. <div style="padding-top: 20px; margin-right: 20px;">
  39. <table class="form">
  40. <tr>
  41. <th class="formTitle">目标库位:</th>
  42. <td class="formValue">
  43. <input id="ToLocationCode" name="ToLocationCode" type="text" class="form-control required" style="width: 150px;" maxlength="100" placeholder="目标库位" />
  44. </td>
  45. </tr>
  46. </table>
  47. </div>
  48. </form>