From 2decf5219e3476e30095fd9dbf6e49c55e105563 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 06 九月 2025 23:22:49 +0800
Subject: [PATCH] feat: 增加公交广告中的优惠券功能

---
 ServiceOrder_Data.gds |   64 ++++++++++++++++++++++++++-----
 1 files changed, 53 insertions(+), 11 deletions(-)

diff --git a/ServiceOrder_Data.gds b/ServiceOrder_Data.gds
index 08c5f6b..1430151 100644
--- a/ServiceOrder_Data.gds
+++ b/ServiceOrder_Data.gds
@@ -1,4 +1,3 @@
-
 <%'------------------------------------------鏈嶅姟鍗�------------------------------------------
 If admin_save<>"" Then
 '鎻愪氦杩斿洖瀛楁
@@ -1236,7 +1235,21 @@
 							</div>
 							<%End If
 							rs.close()
-							End If%>
+							else%>
+								<%If ServiceOrdUnitRemarks<>"" Then%>
+								<div class="field">
+									<div class="label" style="float: left;margin-left: 0px;">
+										<label for="input-small">瀹㈡埛瑕佹眰:</label>
+									</div>
+									<div class="checkboxes" style="float:left;margin-left: 70px;max-width: 800px;line-height: 25px;">
+										<ul>
+											<%=ServiceOrdUnitRemarks %>
+										</ul>
+									</div>
+								</div>
+								<% End If%>
+									
+							<%End If%>
 							<div class="field">
 								<div class="label" style="float: left;margin-left: 0px;">
 									<label for="input-small">瀵瑰尰鎶ゅ徃澶囨敞:</label>
@@ -1316,7 +1329,21 @@
 							<%Next%>
 							</div>
 					<%End If%>
-
+					<div class="field">
+						<!--鏍囧噯鎶ヤ环-->
+								<% if ServiceOrdTraOfferPrice<>"" and ServiceOrdTraOfferPrice<>0 then %>
+								<div class="label" style="float: left;">
+									<label for="input-small">鎺ㄩ�佹姤浠�:</label>
+								</div>
+								<div class="input" style="float:left;margin-left: 70px;">
+									<input type="text" id="ServiceOrdTraTxnPrice" name="ServiceOrdTraTxnPrice" value="<%=ServiceOrdTraOfferPrice%>" readonly>
+									<input id="ServiceOrdTraOfferPrice_A" type="hidden" value="<%=ServiceOrdTraOfferPrice%>">
+								</div>
+								<% else%>
+									<input id="ServiceOrdTraOfferPrice_A" type="hidden" value="<%=ServiceOrdTraOfferPrice%>">
+									<input type="hidden" id="ServiceOrdTraOfferPrice" name="ServiceOrdTraOfferPrice" class="small" style="width:138px;" onkeyup="value=value.replace(/[^\d.]/g,'')" onblur="value=value.replace(/[^\d.]/g,'')" value="<%=Round(ServiceOrdTraOfferPrice,2)%>">
+								<%end if%>
+					</div>
 					<%'鍦伴潰鏈嶅姟鍗�
 					If OrderClassB(ServiceOrdClass,"vType")="1" then%>
 						<%'杞﹁締璋冨害鍗�
@@ -1336,15 +1363,12 @@
 								%>
 								<input type="hidden" id="ServiceOrdTraUnitPrice" name="ServiceOrdTraUnitPrice" class="small" style="width:138px;" onkeyup="value=value.replace(/[^\d.]/g,'')" onblur="value=value.replace(/[^\d.]/g,'')" value="<%=Round(ServiceOrdTraUnitPrice,2)%>">
 
-								<!--鏍囧噯鎶ヤ环-->
-								<input id="ServiceOrdTraOfferPrice_A" type="hidden" value="<%=ServiceOrdTraOfferPrice%>">
-								<input type="hidden" id="ServiceOrdTraOfferPrice" name="ServiceOrdTraOfferPrice" class="small" style="width:138px;" onkeyup="value=value.replace(/[^\d.]/g,'')" onblur="value=value.replace(/[^\d.]/g,'')" value="<%=Round(ServiceOrdTraOfferPrice,2)%>">
-
+								
 								<!--琛岀▼鏃堕棿-->
 								<input type="hidden" id="ServiceOrdTraDuration" name="ServiceOrdTraDuration" class="small" style="width:138px;" value="<%=ServiceOrdTraDuration%>">
 
 								<!--鍑哄彂鍦�-->
-
+								
 								
 								<div class="label" style="float: left;">
 									<label for="input-small">鎴愪氦浠�:</label>
@@ -1782,9 +1806,13 @@
 								rs.close()%>
 								<span id="RV_PointE_TXT" style="color: #E91E63;font-weight: bold;"></span>
 							</div>
-							<%If DispatchOrd_AP_Check>=1 And isDepartment("020102")=1 Then%>
+							'<%If DispatchOrd_AP_Check>=1 And isDepartment("020102")=1 Then%>
+							'<input type="button" name="submit146_1" value="淇濆瓨鍥炶璁板綍" class="ui-state-default" style="background: #9a6d92 url(../../../resources/images/colors/purple/button_highlight.png) repeat-x;color: #ffffff;" onclick="form1_submit146_1();">
+							'<%End If%>
+		
+							'璐㈠姟閿佸畾鐨勫崟瀛愶紝璋冩暣鎴愪緷鏃у彲浠ュ洖璁匡紝閬垮厤璺ㄦ湀鐨勬湀鍒濈殑鏃跺�欙紝涓嶈兘鍥炶					
 							<input type="button" name="submit146_1" value="淇濆瓨鍥炶璁板綍" class="ui-state-default" style="background: #9a6d92 url(../../../resources/images/colors/purple/button_highlight.png) repeat-x;color: #ffffff;" onclick="form1_submit146_1();">
-							<%End If%>
+
 							<script LANGUAGE="javascript">
 								function js_RV_PointE(){
 									ServiceOrdVisit = document.form1.ServiceOrdVisit.value;
@@ -2534,4 +2562,18 @@
 				}
 				</script>
 				<!--浼佸井缁╂晥鏂规绐楀彛 end-->
-				<input name="EditDataForm" id="EditDataForm" type="hidden" value="">
\ No newline at end of file
+				<input name="EditDataForm" id="EditDataForm" type="hidden" value="">
+				<% if ServiceOrdTraOfferPrice<>"" and ServiceOrdTraOfferPrice<>0 then %>
+				<div class="label" style="float: left;">
+					<label for="input-small">鍙傝�冧环:</label>
+				</div>
+				<div class="input" style="float:left;margin-left: 70px;">
+					<input type="text" id="ServiceOrdTraOfferPrice_Display" name="ServiceOrdTraOfferPrice_Display" class="small" style="width:138px;" readonly value="<%=Round(ServiceOrdTraOfferPrice,2)%>">
+				</div>
+				<div class="label" style="float: left;margin-left:224px;">
+					<label for="input-small">鍙傝�冩垚浜や环:</label>
+				</div>
+				<div class="input" style="float:left;margin-left: 60px;">
+					<input type="text" id="ServiceOrdTraTxnPrice_Ref" name="ServiceOrdTraTxnPrice_Ref" class="small" style="width:138px;" readonly value="<%=MoneyCheck(ServiceOrdTraTxnPrice,0)%>">
+				</div>
+				<% end if%>
\ No newline at end of file

--
Gitblit v1.9.1