| | |
| | | } |
| | | |
| | | $(document).on("click", ".action-modal-detail", function () { |
| | | |
| | | var orderId = $(this).data("orderid"); |
| | | $("#orderDialog .modal-title").text("订单明细"); |
| | | |
| | | $.get("gwOrder.ashx", { "action": "get", orderId: orderId }, function (r) { |
| | | |
| | | //$("#orderDialog .modal-title").text("订单明细"); |
| | | //$("#orderDialog #action").val("detail"); |
| | | ////$("#orderDialog .modal-title").text("订单明细"); |
| | | ////$("#orderDialog #action").val("detail"); |
| | | $("#orderDialog #orderId").val(r.Message.OrderId).attr("readonly", "readonly"); |
| | | $("#orderDialog #spId").val(r.Message.SpId).attr("readonly", "readonly"); |
| | | //$("#orderDialog #clientId").val(r.Message.ClientId).attr("disabled", "disabled"); |
| | | ////$("#orderDialog #clientId").val(r.Message.ClientId).attr("disabled", "disabled"); |
| | | $("#orderDialog #clientId").val(r.Message.ClientId); |
| | | $("#orderDialog #clientCompany").val(r.Message.Company).attr("disabled", "disabled"); //转换名称 |
| | | //$("#orderDialog #productId").val(r.Message.ProductId).attr("disabled", "disabled"); |
| | | $("#orderDialog #productId").val(r.Message.ProductId); |
| | | $("#orderDialog #productName").val(r.Message.ProductName).attr("disabled", "disabled"); //转换名称 |
| | | //$("#orderDialog #comboId").val(r.Message.ComboId); |
| | | $("#orderDialog #basicNum").val(r.Message.BasicNum, 0).attr("readonly", readonly); |
| | | $("#orderDialog #givingNum").val(r.Message.GivingNum, 0).attr("readonly", readonly); |
| | | ////$("#orderDialog #comboId").val(r.Message.ComboId); |
| | | $("#orderDialog #basicNum").val(r.Message.BasicNum, 0).attr("readonly", "readonly"); |
| | | $("#orderDialog #givingNum").val(r.Message.GivingNum, 0).attr("readonly", "readonly"); |
| | | $("#orderDialog #price").val(r.Message.Price / 1000, 0.00).attr("readonly", "readonly"); |
| | | $("#orderDialog #orderNumTotal").val(r.Message.OrderNumTotal, 0).attr("readonly", "readonly"); |
| | | $("#orderDialog #orderAmountTotal").val(r.Message.OrderAmountTotal / 1000, 0).attr("readonly", "readonly"); |
| | | $("#orderDialog #payAmount").val(r.Message.PayAmount / 1000, 0).attr("readonly", readonly); |
| | | $("#orderDialog #payAmount").val(r.Message.PayAmount / 1000, 0).attr("readonly", "readonly"); |
| | | $("#orderDialog #beforeBalanceNum").val(r.Message.BeforeBalanceNum, 0).attr("readonly", "readonly"); |
| | | $("#orderDialog #creator").val(r.Message.Creator).attr("readonly", "readonly"); |
| | | $("#orderDialog #createTime").val(r.Message.CreateTime).attr("readonly", "readonly"); |
| | |
| | | <table class="table table-striped table-bordered table-hover" id="orderTable"> |
| | | <thead> |
| | | <tr class="header"> |
| | | <!-- |
| | | |
| | | <th>订单ID |
| | | </th> |
| | | --> |
| | | |
| | | <th>短信账号 |
| | | </th> |
| | | <th>客户账号 |
| | |
| | | <div id="pagination"> |
| | | </div> |
| | | <div class="footBar"> |
| | | |
| | | </div> |
| | | |
| | | <div class="modal inmodal fade" id="orderDialog" tabindex="-1" role="dialog" aria-hidden="true"> |