username@email.com
2025-05-15 6fe02a16e55f17e45a3997171e1b2284d45af25b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgSealEdit.aspx.cs" Inherits="CY.WebForm.Pages.business.AgSealEdit" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>封签管理</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <script type="text/javascript">
        $(function () {
            $("#txtNumberPerBag").blur(function () {
                var count = document.getElementById("spanPrintCount").innerHTML;
                var numPerBag = parseInt($("#txtNumberPerBag").val());
               
                if (isNaN(count)) {
 
                  
                    $("#txtBagNum").val(0);
                }
                else {
 
                    var bagNum = parseInt(count / numPerBag);
                    $("#txtBagNum").val(bagNum);
                }
                //                if (isNaN(money)) {
                //                    $("#txtAllMoney").val(0);
                //                } else {
                //                    $("#txtAllMoney").val(money.toFixed(2));
                //                }
            });
            $("#txtBagNum").blur(function () {
                var count = document.getElementById("spanPrintCount").innerHTML;
                
                var bagNum = parseInt($("#txtBagNum").val());
              
                if (isNaN(count)) {
 
                    $("#txtNumberPerBag").val(0);
                    
                }
                else {
                    var numPerBag = parseInt(count / bagNum);
                    $("#txtNumberPerBag").val(numPerBag);
                    
                }
                //                if (isNaN(money)) {
                //                    $("#txtAllMoney").val(0);
                //                } else {
                //                    $("#txtAllMoney").val(money.toFixed(2));
                //                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server" class="form2">
        <table class="tableStyle" width="100%" style=" margin:10px 0 0 0;">
            <tbody>
                 <tr>
                    <td class="ali03">
                        印件名称:
                    </td>
                    <td>
                        <span id="spanOrderTitle" runat="server"></span>
                    </td>
                    <td class="ali03">
                        客户名称:
                    </td>
                    <td>
                        <span id="spanCustomName" runat="server"></span>
                    </td>
                </tr>
                <tr>
                    <td class="ali03 w100px">
                        订单号:
                    </td>
                    <td>
                        <span id="spanOrderNum" runat="server"></span>
                    </td>
                   <%-- <td class="ali03 w100px">
                        印刷类别:
                    </td>
                    <td>
                        <span id="spanOrderType" runat="server"></span>
                    </td>--%>
                    <td class="ali03">
                        印刷数量:
                    </td>
                    <td>
                        <span id="spanPrintCount" runat="server"></span>
                    </td>
                </tr>
                <tr id="trbook"  runat="server">
                    <td align="right">
                        书号:
                    </td>
                    <td align="left">
                        <input id='txtBookNumber' runat="server" maxlength='200' />
                    </td>
                    <td align="right">
                        定价:
                    </td>
                    <td align="left">
                        <input id='txtBookPrice' runat="server" maxlength='9' class='float' />
                    </td>
                </tr>
                <tr>
                   <td align="right">
                        每包数量:
                    </td>
                    <td align="left">
                        <input id='txtNumberPerBag' runat="server" maxlength='200'  />
                    </td>
                    <td align="right">
                        总包数:
                    </td>
                    <td align="left">
                        <input id='txtBagNum' runat="server" maxlength='9'  />
                    </td>
                </tr>
                <tr>
                    
                   <%-- <td class="ali03">
                        外协工序:
                    </td>
                    <td colspan="3">
                        <textarea style=" width:400px; height:60px;" id="txtAfterWorksDemand" runat="server"></textarea>
                    </td>--%>
                </tr>
                <%--<tr style=" display:none;">
                    <td class="ali03">
                        工艺要求:
                    </td>
                    <td colspan="3">
                       <textarea style=" width:400px; height:60px;" id="txtPrintDemand" runat="server"></textarea>
                    </td>
                </tr>
                 <tr>
                    <td class="ali03">
                        外协厂商:
                    </td>
                    <td colspan="">
                        <select id="selOutFirm" runat="server" keepdefaultstyle="true">
                        </select>
                    </td>
                    
                </tr>
                 <tr>
                    <td class="ali03">
                        单价:
                    </td>
                    <td>
                        <input type="text" id="txtUnitPrice" runat="server" class="w100px float req" min="0" />
                    </td>
                    <td class="ali03">
                        总价:
                    </td>
                    <td>
                        <input type="text" id="txtAllMoney" runat="server" class="w100px float req" min="0"/>
                    </td>
                </tr>--%>
                <tr>
                    <td colspan="4" style=" text-align:center;">
                        <asp:Button ID="btn_submit" runat="server" Text="提交" OnClick="btn_Submit_form" OnClientClick="CorrectText();" />
                    </td>
                </tr>
            </tbody>
        </table>
           <div style=" display:none;">
    <div id='ReceiptT_Html' style=" display:none;"></div>
    </div>
    </form>
    <script type="text/javascript">
        ReceiptT('member', '<%=targetid %>', 6, 100);
    </script>
</body>
</html>