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.

69 lines
1.8 KiB

  1. 
  2. @{
  3. ViewBag.Title = "SeachInventory";
  4. Layout = "~/Views/Shared/_Index.cshtml";
  5. }
  6. <link href="~/Content/js/select2/select2.min.css" rel="stylesheet" />
  7. <link href="~/Content/js/dialog/dialog.css?v=20120420" rel="stylesheet" />
  8. <script src="~/Content/js/datepicker/WdatePicker.js"></script>
  9. <script src="~/Content/js/select2/select2.min.js"></script>
  10. <script>
  11. debugger;
  12. var WorkPoint = '@NFine.Code.OperatorProvider.Provider.GetCurrent().Location'
  13. var LotNo = decodeURI($.request("LotNo"));
  14. $(function () {
  15. })
  16. function submitForm() {
  17. var Count = $("#txtCount").val();
  18. if (Count=="") {
  19. $.modalAlert("请录入数量!", "warning");
  20. return;
  21. }
  22. $.modalConfirm("确定修改吗?", function (r) {
  23. if (r) {
  24. debugger;
  25. $.submitForm({
  26. url: "/WMS/ICSMTDOC/UpdateICSMTDOC?LotNo=" + LotNo + "&Count=" + Count + "&" + Math.random(),
  27. // param: { ICSMTDOC: JSON.stringify(ICSMTDOC) },
  28. success: function () {
  29. $.currentWindow().$("#gridList").trigger("reloadGrid");
  30. }
  31. })
  32. }
  33. });
  34. };
  35. function Close() {
  36. $.modalClose();
  37. }
  38. function reloadData() {
  39. }
  40. </script>
  41. <form id="form1">
  42. <div style="padding-top: 20px; margin-right: 20px;">
  43. <table class="form">
  44. <tr>
  45. <th class="formTitle"><span style="color: red;">*</span>数量</th>
  46. <td class="formValue">
  47. <input id="txtCount" name="txtCount" type="text" class="form-control required" placeholder="请输入数量" />
  48. </td>
  49. </tr>
  50. </table>
  51. </div>
  52. </form>