| | |
| | | <asp:Content runat="server" ID="Content2" ContentPlaceHolderID="title"> </asp:Content> |
| | | <asp:Content ID="Content3" ContentPlaceHolderID="content" runat="Server"> |
| | | |
| | | <form method="get" action="GwOrderCreate.aspx" class=" form-horizontal"> |
| | | <form method="get" action="GwOrder.ashx" class=" form-horizontal"> |
| | | <!--<form method="get" action="GwOrderCreate.aspx?action=Add" name="thisForm" id="thisForm" class=" form-horizontal"> --> |
| | | <input type="hidden" name="Action" id="Action" maxlength="6" value="add" /> |
| | | <div class="modal-dialog modal-lg"> |
| | | <div class="modal-content "> |
| | | <div class="modal-header"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="modal-footer"> |
| | | <input class="btn btn-default" value="返回" onclick="return window.location = 'GwSp.aspx'" type="button" /> |
| | | <button class="btn btn-primary action-save"> |
| | | 保存</button> |
| | | <a class="btn btn-primary action-save" href="javascript:;">保存</a> |
| | | <a class="btn btn-default action-back" href="javascript:;" onclick="return window.location = 'GwSp.aspx'">返回</a> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | $(document).on("click", ".action-save", function () { |
| | | |
| | | var spId = $("#spId").val(); |
| | | var clientId = $("#clientId").val(); |
| | | var productId = $("#productId").val(); |
| | | var basicNum = $("#basicNum").val(); |
| | | var givingNum = $("#givingNum").val(); |
| | | var remark = $("#remark").val(); |
| | | var spId = $("#spId").val(); |
| | | var clientId = $("#clientId").val(); |
| | | var productId = $("#productId").val(); |
| | | var basicNum = $("#basicNum").val(); |
| | | var givingNum = $("#givingNum").val(); |
| | | var remark = $("#remark").val(); |
| | | |
| | | mytek.confirm("是否确定充值?", "是否操作!", function (b) { |
| | | mytek.confirm("是否确定充值?", "是否操作!", function (b) { |
| | | |
| | | if (b) { |
| | | if (b) { |
| | | |
| | | $.post("gwOrder.ashx", { action: "add", spId: spId, clientId: clientId, productId: productId, basicNum: basicNum, givingNum: givingNum, remark: remark }, function (r) { |
| | | /** |
| | | if (r.OK) { |
| | | mytek.alert(r.Message); |
| | | //window.location = history.back(); |
| | | } else { |
| | | mytek.alert(r.Message); |
| | | } |
| | | **/ |
| | | |
| | | mytek.alert(r.Message, r.OK, function () { |
| | | //loadPageList(); |
| | | }); |
| | | |
| | | $.post("gwOrder.ashx", { action: "add", spId: spId, clientId: clientId, productId: productId, basicNum: basicNum, givingNum: givingNum, remark: remark }, function (r) { |
| | | mytek.alert(r.Message, r.OK, function () { |
| | | //loadPageList(); |
| | | }); |
| | | |
| | | } |
| | | }); |
| | | |
| | | }); |
| | | } |
| | | |
| | | }); |
| | | }); |
| | | |
| | | //} |
| | | |