|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="customerlabelmodify.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.customermanage.customerlabelmodify" %>
|
|
|
2
|
+
|
|
|
3
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
4
|
+
|
|
|
5
|
+<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
6
|
+<head>
|
|
|
7
|
+ <title>编辑客户</title>
|
|
|
8
|
+ <script src="../scripts/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
|
|
|
9
|
+ <script type="text/javascript" src="../scripts/jquery/jquery.form.js"></script>
|
|
|
10
|
+ <script type="text/javascript" src="../scripts/jquery/jquery.validate.min.js"></script>
|
|
|
11
|
+ <script type="text/javascript" src="../scripts/jquery/messages_cn.js"></script>
|
|
|
12
|
+ <script type="text/javascript" src="../scripts/function.js"></script>
|
|
|
13
|
+ <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
|
|
|
14
|
+ <script src="../scripts/ui/json2.js" type="text/javascript"></script>
|
|
|
15
|
+ <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
|
|
|
16
|
+ <script src="../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
|
|
|
17
|
+ <link href="../scripts/ui/skins/Tab/css/tab.css" rel="stylesheet" type="text/css" />
|
|
|
18
|
+ <link href="../scripts/ui/skins/Tab/css/grid.css" rel="stylesheet" type="text/css" />
|
|
|
19
|
+ <script src="../scripts/ui/js/plugins/ligerGrid.js" type="text/javascript"></script>
|
|
|
20
|
+ <script src="../scripts/ui/js/plugins/ligerLayout.js" type="text/javascript"></script>
|
|
|
21
|
+ <script src="../scripts/ui/js/plugins/ligerTree.js" type="text/javascript"></script>
|
|
|
22
|
+ <script src="../scripts/ui/js/plugins/ligerMenu.js" type="text/javascript"></script>
|
|
|
23
|
+ <script src="../scripts/ui/js/plugins/ligerTextBox.js" type="text/javascript"></script>
|
|
|
24
|
+ <script src="../scripts/ui/js/plugins/ligerComboBox.js" type="text/javascript"></script>
|
|
|
25
|
+ <link href="../scripts/ui/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
|
|
|
26
|
+ <link href="../images/style.css" rel="stylesheet" type="text/css" />
|
|
|
27
|
+ <script src="../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
|
|
|
28
|
+ <script type="text/javascript">
|
|
|
29
|
+ var treelist = null;
|
|
|
30
|
+ $(function () {
|
|
|
31
|
+ LoadList();
|
|
|
32
|
+ //AddHistoryList();
|
|
|
33
|
+ InitList();
|
|
|
34
|
+ });
|
|
|
35
|
+ function toDay() {
|
|
|
36
|
+ var d = new Date();
|
|
|
37
|
+ var str = d.getFullYear() + "-" + (d.getMonth() + 1) + "-" + d.getDate();
|
|
|
38
|
+ return str;
|
|
|
39
|
+ }
|
|
|
40
|
+ var gridlist;
|
|
|
41
|
+ var singleClick;
|
|
|
42
|
+
|
|
|
43
|
+
|
|
|
44
|
+ function CloseThis() {
|
|
|
45
|
+ var dialog = frameElement.dialog;
|
|
|
46
|
+ parent.InitList();
|
|
|
47
|
+ dialog.close();
|
|
|
48
|
+ }
|
|
|
49
|
+ function SaveInfo(res) {
|
|
|
50
|
+ switch (res) {
|
|
|
51
|
+ case 'success':
|
|
|
52
|
+ $.ligerDialog.success('保存成功', function (yes) { CloseThis(); });
|
|
|
53
|
+ break;
|
|
|
54
|
+ case 'warn':
|
|
|
55
|
+ $.ligerDialog.error('保存失败,请确认数据正确性');
|
|
|
56
|
+ break;
|
|
|
57
|
+ case 'error':
|
|
|
58
|
+ $.ligerDialog.error('系统错误,请联系开发商');
|
|
|
59
|
+ break;
|
|
|
60
|
+ default:
|
|
|
61
|
+ break;
|
|
|
62
|
+ }
|
|
|
63
|
+ }
|
|
|
64
|
+ function validate() {
|
|
|
65
|
+ lblCustomerName.innerHTML = "*";
|
|
|
66
|
+ lblCustomerName.style.color = "#717171";
|
|
|
67
|
+ lblCustomerCode.innerHTML = "*";
|
|
|
68
|
+ lblCustomerCode.style.color = "#717171";
|
|
|
69
|
+ if (document.getElementById("txtCustomerName").value == "") {
|
|
|
70
|
+ lblCustomerName.innerHTML = "请填写客户名";
|
|
|
71
|
+ lblCustomerName.style.color = "red";
|
|
|
72
|
+ return false;
|
|
|
73
|
+ }
|
|
|
74
|
+ else if (document.getElementById("txtCustomerCode").value == "") {
|
|
|
75
|
+ lblCustomerCode.innerHTML = "请填写客户编号";
|
|
|
76
|
+ lblCustomerCode.style.color = "red";
|
|
|
77
|
+ return false;
|
|
|
78
|
+ }
|
|
|
79
|
+ return true;
|
|
|
80
|
+ }
|
|
|
81
|
+
|
|
|
82
|
+ </script>
|
|
|
83
|
+
|
|
|
84
|
+</head>
|
|
|
85
|
+<body class="mainbody" style="margin-top: 0px;">
|
|
|
86
|
+ <form id="form1" runat="server">
|
|
|
87
|
+ <div id="contentTab">
|
|
|
88
|
+ <table class="form_table">
|
|
|
89
|
+ <col width="95px" />
|
|
|
90
|
+ <col />
|
|
|
91
|
+ <col width="95px" />
|
|
|
92
|
+ <col />
|
|
|
93
|
+ <col width="95px" />
|
|
|
94
|
+ <col />
|
|
|
95
|
+ <tbody>
|
|
|
96
|
+ <tr>
|
|
|
97
|
+ <th>标签名称:
|
|
|
98
|
+ </th>
|
|
|
99
|
+ <td colspan="3">
|
|
|
100
|
+ <asp:HiddenField ID="hiddLabelId" runat="server" />
|
|
|
101
|
+ <asp:TextBox ID="txtLabelName" runat="server" CssClass="txtInput normal" Style="width: 300px;"></asp:TextBox><label
|
|
|
102
|
+ id="lblLabelName" for="txtLabelName">*</label>
|
|
|
103
|
+ </td>
|
|
|
104
|
+ </tr>
|
|
|
105
|
+ <tr>
|
|
|
106
|
+ <th>标签描述:
|
|
|
107
|
+ </th>
|
|
|
108
|
+ <td colspan="3">
|
|
|
109
|
+ <asp:TextBox ID="txtLabelDescription" runat="server" CssClass="txtInput normal" Style="width: 300px;" TextMode="MultiLine"></asp:TextBox><label
|
|
|
110
|
+ id="lblLabelDescription" for="txtLabelDescription">*</label>
|
|
|
111
|
+ </td>
|
|
|
112
|
+ </tr>
|
|
|
113
|
+ <tr>
|
|
|
114
|
+ <th>标签排序:
|
|
|
115
|
+ </th>
|
|
|
116
|
+ <td colspan="3">
|
|
|
117
|
+ <asp:TextBox ID="txtLabelSort" runat="server" CssClass="txtInput normal" Style="width: 300px;"></asp:TextBox><label
|
|
|
118
|
+ id="lblLabelSort" for="txtLabelSort">*</label>
|
|
|
119
|
+ </td>
|
|
|
120
|
+ </tr>
|
|
|
121
|
+
|
|
|
122
|
+ </tbody>
|
|
|
123
|
+ </table>
|
|
|
124
|
+ <div class="foot_btn_box">
|
|
|
125
|
+ <asp:Button ID="btnSubmit" runat="server" Text="保 存" CssClass="btnSubmit"
|
|
|
126
|
+ OnClientClick="return validate();" OnClick="btnSubmit_Click" />
|
|
|
127
|
+ </div>
|
|
|
128
|
+ </div>
|
|
|
129
|
+ </form>
|
|
|
130
|
+</body>
|
|
|
131
|
+</html>
|