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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeliverPlanWentiAdd.aspx.cs" Inherits="CY.WebForm.Pages.business.DeliverPlanWentiAdd" %>
 
<!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" />
    <!--前台页面start-->
    <link rel="stylesheet" type="text/css" href="../../Styles/base.css" />
    <link href="../../Styles/changes.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/ParticularWQJ.css" rel="stylesheet" type="text/css" />
    <!--前台页面end-->
    <script type="text/javascript" language="javascript">
        function ReBindClients() {
            $.ajax({
                url: "/Pages/business/OrderEdit.aspx",
                type: "POST",
                dataType: "html",
                data: { Target: "ReBindClients"},
                global: false,
                cache: false,
                async: false,
                success: function (data) {
                    $("#selBuyerId").html(data);
                }
            });
        }
        function custormerChange(sel) {
           
 
            CallServer({ Target: "GetCommunication", id: sel.value }, function (data, textStatus) {
                var jobj = false;
                try {
                    jobj = eval('[' + data + ']')[0];
                } catch (ex) {
                    global.DealDataException(ex); return;
                }
                if (jobj) {
                   /* document.getElementById('txtLianxiren').value = jobj.BusinessManagers;*/
                    //document.getElementById('txtDizhi').value = jobj.Province + jobj.City + jobj.County + jobj.DetailedAddress ;
                    //document.getElementById('txtDianhua').value = jobj.CompanyPhone;
                    document.getElementById('txtCompanyName').value = jobj.CompanyName;
                } else;
            });
        }
         
 
        
 
        //为Select新增过滤功能
        function SelectAddSearch() {
            $("select[SelInputHtml='True']").each(function (i, v) {
                $(this).unbind("blur");
                var old = $(this).html();
                var oldObject = $(this).clone();
                var sign = "selectS" + i;
                $(v).attr("sign", sign);
 
                var inputClass = "input_" + sign;
                var html = "<span style='margin-left:10px'>过滤:</span><input type='text' class='" + inputClass + "' style='width:80px;height:18px;line-height:18px;'/>";
                $(v).after(html);
                $("." + inputClass).blur(function () {
                    var nowval = $(this).val().trim();
                    var output = "";
                    if (nowval == "" || nowval == null) {
                        output = old;
                    } else {
                        output += "<option value=''>请选择</option>";
                        var valueArr = new Array();
                        oldObject.find("option").each(function (ii, vv) {
 
                            var value = $.trim($(vv).attr("value"));
                            var text = $.trim($(vv).text());
 
                            if (text.indexOf(nowval) >= 0)
                                valueArr.push(value + "|||" + text);
                        });
                        for (var ss in valueArr) {
                            var s = valueArr[ss];
                            if (s.split("|||").length == 2) {
                                var value1 = s.split("|||")[0];
                                var text1 = s.split("|||")[1];
                                output += "<option value='" + value1 + "'>" + text1 + "</option>";
                            }
                        }
                    }
                    $(v).html(output);
                });
            });
        }
 
        window.FastKeyDistinctived = true; //例外快捷键(不使用通用快捷键)
        var keyDownHook = new KeyBehaviorHook('keydown');
        keyDownHook.Regist(window.Keys.S, "ClickElement('btnSave')", window.WithKey.Ctrl); //Ctrl+s 保存
        keyDownHook.Regist(window.Keys.Enter, "ClickElement('btnSave')", window.WithKey.Ctrl); //Ctrl+Enter 保存
        keyDownHook.Regist(window.Keys.R, "ClickElement('btnReset')", window.WithKey.Ctrl); //Ctrl+R 重置
        keyDownHook.Regist(window.Keys.Q, "ClickElement('btnBackList')", window.WithKey.Ctrl); //Ctrl+Q 退出(Quit)
 
        $(function () {
            SelectAddSearch();
            keyDownHook.Binding();
            global.SetReqMsg();
             
        });
 
        
 
         
    </script>
   
</head>
<body style='padding: 0; margin: 0;'>
    <form id="form1" runat="server" style='padding: 0; margin: 0;' class='form2'>
   
    
    <table class="table2" id="tbBasic">
        <thead>
            <tr>
                <th colspan="8">
                    基本信息
                </th>
            </tr>
        </thead>
        <tr style=" height:1px;">
                <td style="border:none;width: 100px;">
                </td>
                <td style="border:none; width:300px;">
                </td>
                <td style="border:none;width: 100px;">
                </td>
                <td style="border:none;">
                </td>
                
            </tr>
         <tr>
      <td align="right">
                 反馈人:
            </td>
            <td align="left" colspan="3">
              <select keepdefaultstyle='true' id='selFankuiren' runat="server" datatextfield='Name' datavaluefield='Keyid' class="Sreq">
                        </select>
            </td>
             </tr>
        <tr>
            <td align="right">
                客户单位:
            </td>
            <td  align="left">
               
                <span id='spnCustormerControl'><select id='selBuyerId' runat="server" keepdefaultstyle='true' datavaluefield='MemberId' datatextfield='CompanyName' onchange='custormerChange(this)' selinputhtml="True" sign="" style=" width:123px;"></select>
                    <%--<input type="button" value='新增' keepdefaultstyle='true' onclick="top.Dialog.open({ URL: '/Pages/business/CorporateClientsEdit.aspx', Title: '新增客户', Width: 900, Height: 680});" />--%>
                </span>
                
            </td>
            <td align="right">
                客户单位:
            </td>
            <td align="left">
                  <input id='txtCompanyName'  runat="server"  maxlength="200"  style="width:200px;"   />
            </td>
        </tr>
        
        
         
              
            <tr>
                <td style="width: 100px; text-align:right;">
                    问题描述:
                </td>
                <td style=" text-align:left;" colspan="3">
                    <textarea id="txtRemark" name="txtRemark" runat="server" style="width: 692px; height: 30px;"  maxlength="200"  class="req" ></textarea>
                </td>
            </tr>
             
 
 
         <tr>
                <td class="contentLeft" colspan="4" style=" padding-left:300px;">
                    <asp:Button  ID="btnSaves"  runat="server" Text="保存反馈"  OnClick="btnSave_ServerClick" />
                     
 
                    
 
              
                </td>
            </tr>
    </table>
   
     
    
    </form>
    
</body>
<script type="text/javascript" language="javascript">
    
     
  
</script>
</html>