username@email.com
2025-05-12 ae6e40362a745caef9ead36f81f38313fb8c2c66
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
177
178
179
180
181
182
183
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DemandOrderCreate.aspx.cs"
    Inherits="CY.WebForm.Pages.business.DemandOrderCreate" %>
 
<!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 id="Head1" runat="server">
    <title>报价需求展示</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <link rel="stylesheet" type="text/css" href="../../Styles/base.css" />
    <link href="../../Styles/changes.css" rel="stylesheet" type="text/css" />
    <script src="../../js/business/QuoteDemand.js" type="text/javascript"></script>
    <script src="../../js/Inquiry/Inquiry.js" type="text/javascript"></script>
    <link href="../../Styles/ParticularWQJ.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .table1 tfoot td
        {
            text-align: left;
            text-indent: 15px;
        }
    </style>
    <script type="text/javascript">
 
        var keyDownHook = new KeyBehaviorHook('keydown');
        keyDownHook.Regist(window.Keys.S, "document.getElementById('btnSave').click()", window.WithKey.Ctrl); //Ctrl+s 保存
        keyDownHook.Regist(window.Keys.Enter,"document.getElementById('btnSave').click()", window.WithKey.Ctrl); //Ctrl+Enter 保存
        keyDownHook.Regist(window.Keys.Q, "document.getElementById('btnBackList').click()", window.WithKey.Ctrl); //Ctrl+Q 退出(Quit)
 
        $(function () {
            keyDownHook.Binding();
        });
 
        window.ShowDataCallback = function (data) {
            document.getElementById('spnDocumentName').innerHTML = data.DemandName.replace('报价需求', '需求订单');
            document.getElementById('spnNow').innerHTML = new Date().ToString('yyyy-MM-dd');
            document.getElementById('spnLastDeliveryTime').innerHTML = new Date().ToFuture({ day: 15 }).ToString('yyyy-MM-dd');
            ReceiptT('member', data.MemberId,6,100);
            var quote = [<%=Request.RequestContext.RouteData.DataTokens["quote"] %>];
            if (quote.length > 0)
                window.SetJsonToDom(quote[0], 'spn', "innerHTML");
        };
    </script>
</head>
<body style='margin: 0; padding: 0;'>
    <form id="formShower" runat="server">
    <input type="hidden" id="txtModeldata" value='<%=Request.RequestContext.RouteData.DataTokens["jmodel"] %>' />
    <input type="hidden" id='txtKeyid' runat="server" />
    <input type="hidden" id='txtBillMode' runat="server" />
    
    <table class='table1'>
        <tfoot>
            <tr>
                <td>
                    业务类型:<span id='spnPrintTypeName'></span>
                </td>
                <td>
                    紧急程度:一般
                </td>
                <td>
                    卖家名称:<span id='spnSellerName'>印刷厂商</span>
                </td>
                <td>
                    制单时间:<span id='spnNow'></span>
                </td>
            </tr>
        </tfoot>
    </table>
    <table class="table2">
        <thead>
            <tr>
                <th colspan='4'>
                    基本信息
                </th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td class='col_third'>
                    &#12288;订单号:<strong><span id='spnSellerOrderId'></span></strong>
                </td>
                <td class='col_third'>
                    印件名称: <strong><span id='spnDocumentName'></span></strong>
                </td>
                <td class='col_third'>
                    订单类型: <strong><span id='spnOrderType'>需求订单</span></strong>
                </td>
            </tr>
            <tr>
                <td class='col_third'>
                    买家名称: <strong><span id='spnMemberName'></span></strong>
                </td>
                <td class='col_third'>
                    买家电话:<strong><span id='spnContactPhone'></span></strong>
                </td>
                <td class='col_third'>
                    &nbsp;&nbsp;买家QQ:<strong><span id='spnQQ'></span></strong>
                </td>
            </tr>
            <asp:Repeater ID='rptInquiryCommon' runat="server">
                <ItemTemplate>
                    <tr>
                        <td class='col_third'>
                            印刷数量: <strong><span id='spnPrintCount'>
                                <%#Eval("PrintCount")%></span></strong>
                        </td>
                        <td class='col_third'>
                            订单总额:<strong>¥<span id='spnOrderSumPrice'></span></strong>
                        </td>
                        <td class='col_third' title='最迟交货时间(默认下单后15天)'>
                            交货时间:<strong><span id='spnLastDeliveryTime'></span></strong>
                        </td>
                    </tr>
                    </tbody> </table>
                    <table class="table2">
                        <thead>
                            <tr>
                                <th colspan='4'>
                                    印刷详情
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td class='col_half'>
                                    印刷数量: <strong>
                                        <%#Eval("PrintCountName")%></strong>
                                </td>
                                <td class='col_half'>
                                    印刷方式: <strong>
                                        <%#Eval("PrintModeName")%></strong>
                                </td>
                            </tr>
                            <tr>
                                <td colspan='2' align="left">
                                    印刷要求: <strong>
                                        <%#Eval("PrintDemand")%></strong>
                                </td>
                            </tr>
                            <tr>
                                <td colspan='2' align="left">
                                    后道工序: <strong>
                                        <%#Eval("AfterWorksDemand") %></strong>
                                </td>
                            </tr>
                            <tr>
                                <td class='col_half'>
                                    交货方式: <strong>
                                        <%#Eval("DeliveryModeName")%></strong>
                                </td>
                                <td class='col_half'>
                                    票&#12288;&#12288;据: <strong>
                                        <%#Eval("BillModeName")%></strong>
                                </td>
                            </tr>
                            <tr>
                                <td colspan='2' align="left">
                                    备&#12288;&#12288;注: <strong>
                                        <%#Eval("Remarks")%></strong>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </ItemTemplate>
            </asp:Repeater>
            
            <table class="table2">
                    <tr  id='ReceiptT_Html'>
                        <th colspan='6'></th>
                    </tr>
            </table>
            <table class="table2">
                <tbody>
                    <tr>
                        <td class="contentLeft">
                            &#12288;&#12288;&#12288;&#12288;&#12288;
                            <input type="button" value="确认下单" id='btnSave' runat="server"   onclick="document.getElementById('txtBillMode').value=GetInvoice(); if(!confirm('是否确认下单?'))return false;" />&#12288;&#12288;
                            <input id='btnBackList' type="button" value="返回列表" onclick="window.location='QuoteView.aspx';" />
                        </td>
                    </tr>
                </tbody>
            </table>
    </form>
</body>
</html>