From ae6e40362a745caef9ead36f81f38313fb8c2c66 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 12 五月 2025 16:54:46 +0800
Subject: [PATCH] 扣板:2张 双面机只有“扣板”是2张,其他是1张
---
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx
index 03753bb..5f7d22e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx
@@ -24,10 +24,20 @@
<script type="text/javascript">
window.printBeginCallBack = function () {
document.getElementById('fram_operate').style.display = 'none';
+ document.getElementById('hetongchakan').style.display = 'none';
};
window.printOverCallBack = function () {
document.getElementById('fram_operate').style.display = '';
+ document.getElementById('hetongchakan').style.display = '';
};
+
+ //缁存姢
+ function onViewuplod(keyid) {
+ var l = (screen.availWidth - 500) / 2;
+ var t = (screen.availHeight - 300) / 2;
+ // window.open({ URL: "/Pages/business/CorporateClientsUpLoadContract.aspx?Keyid=" + keyid, Title: "鏌ョ湅鍚堝悓", Width: 900, Height: 750 });
+ window.open('/Pages/business/CorporateClientsContractShow.aspx?Keyid=' + keyid, '_blank', 'height=750,width=900,top=' + t + ',left=' + l +',toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
+ }
$(function () {
$("#btnPrint").click(function () {
@@ -48,6 +58,14 @@
<body style='padding: 0; margin: 0;' onbeforeprint="OnPrint()" onafterprint="OnPrintOver()">
<form id="form1" runat="server">
<input type="hidden" runat="server" id="hideOrderId" />
+ <table border="1" cellpadding="0" cellspacing="0" style="border: 0;" id='hetongchakan' >
+ <tr>
+ <td >
+<%-- <span onclick="onViewuplod('<%=BuyerId %>')" <%=ContractCount.ToString() == "0" ? "style=\"display:none;\"" : ""%> >鏌ョ湅鍚堝悓 </span>--%>
+ <input type="button" <%=ContractCount.ToString() == "0" ? "style=\"display:none;\"" : ""%> value="鏌ョ湅鍚堝悓" onclick="onViewuplod('<%=BuyerId %>')">
+ </td>
+ </tr>
+ </table>
<div class='dbody'>
<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0">
<embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0" pluginspage="/Pages/common/install_lodop32.exe"></embed>
@@ -333,6 +351,20 @@
<%#Eval("FetchContacts")%>
</td>
</tr>
+ <tr>
+ <td class='left'>
+ 姣忓寘鏁伴噺锛�
+ </td>
+ <td>
+ <%#Eval("NumPerBag")%>
+ </td>
+ <td class="left">
+ 鎬诲寘鏁帮細
+ </td>
+ <td colspan="5">
+ <%#Eval("BagNum")%>
+ </td>
+ </tr>
</div>
</ItemTemplate>
</asp:Repeater>
--
Gitblit v1.9.1