|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CodeOwefeeModuleSet.aspx.cs" Inherits="DSWeb.ParameterSet.CodeOwefeeModuleSet" %>
|
|
|
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
|
|
|
<!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/Date/jsDateFM.js" type="text/javascript"></script>
|
|
|
<script src="../js/Date/jsDateFormat.js" type="text/javascript"></script>
|
|
|
<script src="../js/jquery/js/jquery.js" type="text/javascript"></script>
|
|
|
<script src="../js/m97date/WdatePicker.js" type="text/javascript"></script>
|
|
|
<link href="../theme/style.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
|
function $(id) {
|
|
|
return document.getElementById(id);
|
|
|
}
|
|
|
|
|
|
function getgvFee(strGID) {
|
|
|
$("gv_gid").value = strGID;
|
|
|
document.getElementById("btgvfee").click();
|
|
|
}
|
|
|
|
|
|
function getgvDetailFee(sGID) {
|
|
|
$("gv_gidfee").value = sGID;
|
|
|
document.getElementById("btgvDetailFee").click();
|
|
|
}
|
|
|
|
|
|
function onClientClick0(selectedId, rowIndex) {
|
|
|
//用隐藏控件记录下选中的行号
|
|
|
var hidden = document.getElementById("Hidden0").value = rowIndex;
|
|
|
var inputs = document.getElementById("<%=gvModule.ClientID%>").getElementsByTagName("input");
|
|
|
for (var i = 0; i < inputs.length; i++) {
|
|
|
if (inputs[i].type == "radio") {
|
|
|
if (inputs[i].id == selectedId)
|
|
|
inputs[i].checked = true;
|
|
|
else
|
|
|
inputs[i].checked = false;
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
function onClientClick1(selectedId, rowIndex) {
|
|
|
//用隐藏控件记录下选中的行号
|
|
|
var hidden = document.getElementById("Hidden1").value = rowIndex;
|
|
|
var inputs = document.getElementById("<%=gvFee.ClientID%>").getElementsByTagName("input");
|
|
|
for (var i = 0; i < inputs.length; i++) {
|
|
|
if (inputs[i].type == "radio") {
|
|
|
if (inputs[i].id == selectedId)
|
|
|
inputs[i].checked = true;
|
|
|
else
|
|
|
inputs[i].checked = false;
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
<style type="text/css">
|
|
|
.divTop
|
|
|
{
|
|
|
width:100%;
|
|
|
height:30px;
|
|
|
background:url("../images/content-header.gif");
|
|
|
cursor:default;
|
|
|
vertical-align:middle;
|
|
|
}
|
|
|
.conDIV
|
|
|
{
|
|
|
width:100%;
|
|
|
height:30px;
|
|
|
background:url("../images/content-header.gif");
|
|
|
cursor:default;
|
|
|
vertical-align:middle;
|
|
|
}
|
|
|
.dropDown
|
|
|
{
|
|
|
width:155px;
|
|
|
}
|
|
|
.txtvalue
|
|
|
{
|
|
|
width:50px;
|
|
|
}
|
|
|
.unitvalue
|
|
|
{
|
|
|
width:91px;
|
|
|
}
|
|
|
#table_top tr td
|
|
|
{
|
|
|
width:30px;
|
|
|
}
|
|
|
.cssfont
|
|
|
{
|
|
|
}
|
|
|
.txt_repeter
|
|
|
{
|
|
|
width:80px;
|
|
|
border-width:0;
|
|
|
|
|
|
}
|
|
|
.drop_rep
|
|
|
{
|
|
|
width:80px;
|
|
|
}
|
|
|
.table_repeater tr td
|
|
|
{
|
|
|
width:90px;
|
|
|
}
|
|
|
.table_repeater
|
|
|
{
|
|
|
border:1 solid black;
|
|
|
}
|
|
|
.btncss
|
|
|
{
|
|
|
width:100px;
|
|
|
BORDER-RIGHT: #2C59AA 1px solid;
|
|
|
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
|
|
|
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
|
|
|
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
|
|
|
BORDER-BOTTOM: #2C59AA 1px solid;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body style=" background-color:#ECF2FF; height:100%">
|
|
|
<form id="formCodeOwefeeModuleSet" runat="server" style=" background-color:#ECF2FF; height:100%">
|
|
|
<div>
|
|
|
<div style=" height:30px; background-color:#ECF2FF; text-align:left; font-size:large; font-weight:bold;">客户对账的横向模板设置</div>
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td colspan=4>
|
|
|
<div id="divContainer" class="conDIV">
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td width=30px><asp:ImageButton ID="imgadd" runat="server" ToolTip="添加新项"
|
|
|
ImageUrl="~/images/icons/btnAdd.gif" CssClass="cssfont" onclick="imgadd_Click" /></td>
|
|
|
<td width=170px>
|
|
|
<asp:Button ID="btCreate" runat="server" Text="生成模板"
|
|
|
style="width:65px; height: 20px;" CssClass="btncss" onclick="btCreate_Click"/></td>
|
|
|
<td width=200px>业务字段:</td>
|
|
|
<td width=100px></td>
|
|
|
<td width=200px>字段选项:</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
<div style=" overflow-x:hidden; overflow-y:auto; height:200px; width:200px; word-break: keep-all;white-space:nowrap;">
|
|
|
<asp:GridView runat="server" ID="gvModule" AutoGenerateColumns="False"
|
|
|
onrowcommand="gvModule_RowCommand" Width="200px"
|
|
|
onrowdatabound="gvModule_RowDataBound">
|
|
|
<Columns>
|
|
|
<asp:TemplateField>
|
|
|
<ItemTemplate>
|
|
|
<asp:RadioButton ID="rbtSelect" runat="server" CssClass="checkitem"/>
|
|
|
</ItemTemplate>
|
|
|
</asp:TemplateField>
|
|
|
<asp:TemplateField HeaderText="模块名称">
|
|
|
<ItemTemplate>
|
|
|
<asp:TextBox Width=110px runat="server" ID="txt_MODULENAME" CssClass="txt_repeter" Text='<%#Eval("MODULENAME") %>'></asp:TextBox>
|
|
|
</ItemTemplate>
|
|
|
</asp:TemplateField>
|
|
|
<asp:TemplateField HeaderText="操作">
|
|
|
<ItemTemplate>
|
|
|
<asp:LinkButton ID="saveCont" runat="server" CommandArgument='<%#Eval("GID") %>' Text="保存" CommandName="saveCon"></asp:LinkButton>
|
|
|
<asp:LinkButton ID="deleteCont" runat="server" CommandArgument='<%#Eval("GID") %>' Text="删除" CommandName="deleteCon"></asp:LinkButton>
|
|
|
</ItemTemplate>
|
|
|
</asp:TemplateField>
|
|
|
</Columns>
|
|
|
</asp:GridView>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td valign=top>
|
|
|
<asp:ListBox ID="ListBox2" runat="server" Width=200px Height=200px style="overflow-y:auto;height:200px;" SelectionMode="Multiple" class="btncss"></asp:ListBox>
|
|
|
</td>
|
|
|
<td align=center width=100px height=200px>
|
|
|
<TABLE>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button1" runat="server" Text="全选" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button1_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button2" runat="server" Text="<" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button2_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button3" runat="server" Text="撤消" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button3_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button4" runat="server" Text=">" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button4_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button5" runat="server" Text="保存" style="width:65px;" CssClass="btncss" onclick="Button5_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
</TABLE>
|
|
|
</td>
|
|
|
<td valign=top>
|
|
|
<asp:ListBox ID="ListBox1" runat="server" Width=200px Height=200px style="overflow-y:auto;height:200px;" SelectionMode="Multiple" class="btncss"></asp:ListBox>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan=4>
|
|
|
<div id="div1" class="conDIV">
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td width=70px>费用分组:</td>
|
|
|
<td width=130px><asp:ImageButton ID="imgaddfee" runat="server" ToolTip="添加新项"
|
|
|
ImageUrl="~/images/icons/btnAdd.gif" CssClass="cssfont" onclick="imgaddfee_Click" /></td>
|
|
|
<td width=200px>分组包含的费用字段:</td>
|
|
|
<td width=100px></td>
|
|
|
<td width=200px>费用选项:</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
<div style=" overflow-x:hidden; overflow-y:auto; height:200px;width:200px;word-break: keep-all;white-space:nowrap;">
|
|
|
<asp:GridView runat="server" ID="gvFee" AutoGenerateColumns="False"
|
|
|
onrowcommand="gvFee_RowCommand" Width="200px"
|
|
|
onrowdatabound="gvFee_RowDataBound">
|
|
|
<Columns>
|
|
|
<asp:TemplateField>
|
|
|
<ItemTemplate>
|
|
|
<asp:RadioButton ID="rbtSelect" runat="server" CssClass="checkitem"/>
|
|
|
</ItemTemplate>
|
|
|
</asp:TemplateField>
|
|
|
<asp:TemplateField HeaderText="费用名称">
|
|
|
<ItemTemplate>
|
|
|
<asp:TextBox Width=110px runat="server" ID="txt_FIELDNAME" CssClass="txt_repeter" Text='<%#Eval("FIELDNAME") %>'></asp:TextBox>
|
|
|
</ItemTemplate>
|
|
|
</asp:TemplateField>
|
|
|
<asp:TemplateField HeaderText="操作">
|
|
|
<ItemTemplate>
|
|
|
<asp:LinkButton ID="saveCont" runat="server" CommandArgument='<%#Eval("GID") %>' Text="保存" CommandName="saveCon"></asp:LinkButton>
|
|
|
<asp:LinkButton ID="deleteCont" runat="server" CommandArgument='<%#Eval("GID") %>' Text="删除" CommandName="deleteCon"></asp:LinkButton>
|
|
|
</ItemTemplate>
|
|
|
</asp:TemplateField>
|
|
|
</Columns>
|
|
|
</asp:GridView>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td valign=top>
|
|
|
<asp:ListBox ID="ListBox4" runat="server" Width=200px Height=200px style="overflow-y:auto;height:200px;" SelectionMode="Multiple" class="btncss"></asp:ListBox>
|
|
|
</td>
|
|
|
<td align=center width=100px height=200px>
|
|
|
<TABLE>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button6" runat="server" Text="全选" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button6_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button7" runat="server" Text="<" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button7_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button8" runat="server" Text="撤消" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button8_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button9" runat="server" Text=">" style="width:65px; height: 20px;" CssClass="btncss" onclick="Button9_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<asp:Button ID="Button10" runat="server" Text="保存" style="width:65px;" CssClass="btncss" onclick="Button10_Click"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
</TABLE>
|
|
|
</td>
|
|
|
<td valign=top>
|
|
|
<asp:ListBox ID="ListBox3" runat="server" Width=200px Height=200px style="overflow-y:auto;height:200px;" SelectionMode="Multiple" class="btncss"></asp:ListBox>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
<div>
|
|
|
<input type="hidden" id="gv_gid" runat="server" />
|
|
|
<input type="hidden" id="gv_gidfee" runat="server" />
|
|
|
<asp:LinkButton ID="btgvfee" runat="server" style="" onclick="btgvfee_Click" Text=""></asp:LinkButton>
|
|
|
<asp:LinkButton ID="btgvDetailFee" runat="server" style="" onclick="btgvDetailFee_Click" Text=""></asp:LinkButton>
|
|
|
<input id="Hidden0" type="hidden" runat="server"/>
|
|
|
<input id="Hidden1" type="hidden" runat="server"/>
|
|
|
</div>
|
|
|
</form>
|
|
|
</body>
|
|
|
</html>
|