From a5b2428bc6ebac0210e4c552f61e7c5e1f1c9134 Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期四, 24 十一月 2022 15:25:48 +0800
Subject: [PATCH] 优化多项

---
 web/web/GwOrderComplete.aspx |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/web/web/GwOrderComplete.aspx b/web/web/GwOrderComplete.aspx
index 403c9d4..4696107 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");
@@ -124,7 +125,7 @@
         <div class="m-b">
             <div class="form-group">
                 <div class="input-group m-b">
-                    <span class="input-group-addon">瀹㈡埛璐﹀彿</span>
+                    <span class="input-group-addon">瀹㈡埛璐︽埛</span>
                     <input type="text" name="ClientId" id="ClientId" class="form-control col-md-2" />
                 </div>
             </div>
@@ -161,13 +162,13 @@
         <table class="table table-striped table-bordered table-hover" id="orderTable">
             <thead>
                 <tr class="header">
-                    <!--
+                    
                     <th>璁㈠崟ID
                     </th>
-                    -->
+                    
                     <th>鐭俊璐﹀彿
                     </th>
-                    <th>瀹㈡埛璐﹀彿
+                    <th>瀹㈡埛璐︽埛
                     </th>
                     <th>鍏徃鍚嶇О
                     </th>
@@ -238,7 +239,7 @@
                         </div>
                         <div class="form-group">
                             <label class="col-sm-2 control-label">
-                                瀹㈡埛璐﹀彿</label>
+                                瀹㈡埛璐︽埛</label>
                             <div class="col-sm-4 ">
                                 <!--
                                 <select name="clientId" id="clientId" class="form-control">

--
Gitblit v1.9.1