From a3022b7241480fd71dae97443d98f12e313056be Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期三, 26 十月 2022 17:22:30 +0800 Subject: [PATCH] 修复24-25日反馈的bug --- web/web/GwOrderComplete.aspx | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/web/web/GwOrderComplete.aspx b/web/web/GwOrderComplete.aspx index 403c9d4..d4867fb 100644 --- a/web/web/GwOrderComplete.aspx +++ b/web/web/GwOrderComplete.aspx @@ -58,28 +58,29 @@ } $(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"); @@ -161,10 +162,10 @@ <table class="table table-striped table-bordered table-hover" id="orderTable"> <thead> <tr class="header"> - <!-- + <th>璁㈠崟ID </th> - --> + <th>鐭俊璐﹀彿 </th> <th>瀹㈡埛璐﹀彿 -- Gitblit v1.9.1