username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CY.WebForm.Pages.Templet.Default.WebForm1" %>
 
<!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>
    
    <script src="../../js/utils/jquery-1.5.1.min.js" type="text/javascript"></script>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <link href="../../Styles/base.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/changes.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/ParticularWQJ.css" rel="stylesheet" type="text/css" />
    <script src="../../js/Inquiry/Inquiry.js" type="text/javascript"></script>
    <script src="../../js/business/Order.js" type="text/javascript"></script>
    <script src="../../js/jquery.form.js" type="text/javascript"></script>
    <script src="../../myPagination/js/myPagination/jquery.myPagination6.0.js" type="text/javascript"></script>
    <link href="../../myPagination/js/myPagination/page.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(
 
            function () {
                $("#hidPrintTypeId").val($("#selPrintTypes").val());
                LoadPrintType($("#selPrintTypes").val(), "1", "");
                $("#selPrintTypes").change(
                    function () {
                        $("#divInquiryResult").hide();
                        $("#hidPrintTypeId").val($(this).val());
                        DelayLoadPrintType($(this).val(), "1", "");
                    }
                );
            }
        );
 
        function OpenInquiryDetail(obj) {
            var hidFirmId = $(obj).next().val();
            var hidCustomerId = $("#selCustomer").val();
            //                    window.open("InsideInquiryDetail.aspx?fid=" + hidFirmId + "&Cus=" + hidCustomerId, '询价详情', 'width=600px, top=(window.screen.availHeight-30-580)/2, left=(window.screen.availWidth-10-650)/2,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no');
            top.Dialog.open({ URL: "/Pages/business/InsideInquiryDetail.aspx?fid=" + hidFirmId + "&Cus=" + hidCustomerId, Title: "工艺详情", Height: 600 });
        }
 
        function form1Submit() {
            $("#form1").ajaxSubmit(function (dataJsonStr) {
                var dataJson = eval('(' + dataJsonStr + ')');
                var pageCount = dataJson.pageCount;
                var inquiryList = dataJson.inquiryList;
                var trInsideHtml = "";
                var trHtml = "";
                for (var i = 0; i < inquiryList.length; i++) {
                    if (i == 0) {
                        trInsideHtml += "<tr>";
                        trInsideHtml += "<td align=\"center\" style=\"width:200px\">" + inquiryList[i].FirmName + "</td>";
                        trInsideHtml += "<td style=\"width:200px\"><b style=\"color: #ff6600;\">¥" + Float2('' + inquiryList[i].TotalPrice + '') + "</b></td>";
                        trInsideHtml += "<td style=\"width:200px\">" + inquiryList[i].Score + "分</td>";
                        trInsideHtml += "<td><a onclick=\"OpenInquiryDetail(this)\" class=\"showbox\">查看详情</a><input type=\"hidden\" id=\"hidFirmId\" value=\"" + inquiryList[i].FirmId + "\"/></td>";
                        trInsideHtml += "</tr>";
                    }
                    else {
                        trHtml += "<tr>";
                        trHtml += "<td align=\"center\" style=\"width:200px\">" + inquiryList[i].FirmName + "</td>";
                        trHtml += "<td style=\"width:200px\"><b style=\"color: #ff6600;\">¥" + Float2('' + inquiryList[i].TotalPrice + '') + "</b></td>";
                        trHtml += "<td style=\"width:200px\">" + inquiryList[i].Score + "分</td>";
                        trHtml += "<td><a onclick=\"OpenInquiryDetail(this)\" class=\"showbox\">查看详情</a><input type=\"hidden\" id=\"hidFirmId\" value=\"" + inquiryList[i].FirmId + "\"/></td>";
                        trHtml += "</tr>";
                    }
                }
                $("#tbInsideInquiryList tbody").html("");
                $("#tbInsideInquiryList tbody").append(trInsideHtml);
 
                $("#tbInquiryList tbody").html("");
                $("#tbInquiryList tbody").append(trHtml);
                $("#divInquiryResult").show();
                var pagination = $("#Pagin").myPagination(
                        {
                            currPage: $("#hidPageIndex").val(),
                            pageCount: pageCount,
                            ajax: {
                                on: false,
                                onClick: function (page) {
                                    $("#hidPageIndex").val(page);
                                    form1Submit();
                                }
                            }
                        }
                        );
            });
            return false;
        }
    </script>
    <script type="text/javascript"  language="javascript">
 
        $(function aa() {
            $("#divInqu").load("TTTInsideInquiry.aspx", { "PrintTypeId": "45" }, function () { alert(document.forms.length) });
 
        })
    </script>
</head>
<body>
     
    <div id="divInqu"> 
    </div>
    
</body>
</html>