|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TSysTemplateSet.aspx.cs" Inherits="DSWeb.ParameterSet.TSysTemplateSet" %>
|
|
|
|
|
|
<!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>
|
|
|
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
|
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
|
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
|
|
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
|
|
|
<!--按钮条-->
|
|
|
<style type="text/css">
|
|
|
.btn-content0{
|
|
|
width:100%;
|
|
|
height:30px;
|
|
|
background:url("../images/content-header.gif");
|
|
|
cursor:default;
|
|
|
}
|
|
|
.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>
|
|
|
<script type="text/javascript" language="JavaScript">
|
|
|
function $(id)
|
|
|
{
|
|
|
return document.getElementById(id);
|
|
|
}
|
|
|
function moveOptionAll(e1, e2)
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
for(var i=0;i<e1.options.length;i++)
|
|
|
{
|
|
|
var e = e1.options[i];
|
|
|
e2.value=e2.value+"["+e.value+"]\n";
|
|
|
}
|
|
|
}
|
|
|
catch(e){}
|
|
|
}
|
|
|
function moveOption(e1, e2)
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
for(var i=0;i<e1.options.length;i++)
|
|
|
{
|
|
|
if(e1.options[i].selected)
|
|
|
{
|
|
|
var e = e1.options[i];
|
|
|
e2.value=e2.value+"["+e.value+"]\n";
|
|
|
//e1.remove(i);
|
|
|
//i=i-1
|
|
|
}
|
|
|
}
|
|
|
document.myform.city.value=getvalue(document.myform.list2);
|
|
|
}
|
|
|
catch(e){}
|
|
|
}
|
|
|
function getvalue(geto)
|
|
|
{
|
|
|
var allvalue = "";
|
|
|
for(var i=0;i<geto.options.length;i++)
|
|
|
{
|
|
|
allvalue +=geto.options[i].value + ",";
|
|
|
}
|
|
|
return allvalue;
|
|
|
}
|
|
|
function changepos(obj,index)
|
|
|
{
|
|
|
if(index==-1)
|
|
|
{
|
|
|
if (obj.selectedIndex>0)
|
|
|
{
|
|
|
obj.options(obj.selectedIndex).swapNode(obj.options(obj.selectedIndex-1))
|
|
|
}
|
|
|
}
|
|
|
else if(index==1)
|
|
|
{
|
|
|
if (obj.selectedIndex<obj.options.length-1)
|
|
|
{
|
|
|
obj.options(obj.selectedIndex).swapNode(obj.options(obj.selectedIndex+1))
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
function Button3Click()
|
|
|
{
|
|
|
$("TextBox3").value="";
|
|
|
}
|
|
|
function Button7Click()
|
|
|
{
|
|
|
$("TextBox4").value="";
|
|
|
}
|
|
|
</script>
|
|
|
</head>
|
|
|
<body style="background-color:#ecf2ff;">
|
|
|
<form id="formTSysTemplateSet" runat="server">
|
|
|
<div class="btn-content">
|
|
|
<div class="btn-blank"></div>
|
|
|
<div class="xbtn-img" onclick="addApplication()">
|
|
|
<div class="btnimg"><asp:ImageButton ID="ibEnter" runat="server" OnClick="btnEnter_Click" ToolTip="保存" ImageUrl="~/images/icons/save.gif"/></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td width=150px class="cssfont">提单模板</td>
|
|
|
<td width=250px class="cssfont">字段选项</td>
|
|
|
<td width=65px class="cssfont"></td>
|
|
|
<td width=400px class="cssfont">参数设置</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
<td class="cssfont">唛头内容(注意:此框中内容每行为一项,手动填写时请另起一行!)</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td rowspan=5 valign=top>
|
|
|
<asp:ListBox ID="ListBox1" runat="server" Width=100% Height=410px
|
|
|
AutoPostBack="True" onselectedindexchanged="ListBox1_SelectedIndexChanged"></asp:ListBox>
|
|
|
</td>
|
|
|
<td rowspan=3 valign=top>
|
|
|
<asp:ListBox ID="ListBox2" runat="server" Width=100% Height=350px SelectionMode="Multiple"></asp:ListBox>
|
|
|
</td>
|
|
|
<td align=center>
|
|
|
<TABLE>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<input id="Button1" type="button" value="全选" style="width:65px;" onclick="moveOptionAll(document.formTSysTemplateSet.ListBox2, document.formTSysTemplateSet.TextBox3);" class="btncss"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<input id="Button2" type="button" value=">" style="width:65px;" onclick="moveOption(document.formTSysTemplateSet.ListBox2, document.formTSysTemplateSet.TextBox3);" class="btncss"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<input id="Button3" type="button" value="撤消" style="width:65px;" onclick="Button3Click();" class="btncss"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
</TABLE>
|
|
|
</td>
|
|
|
<td valign=top>
|
|
|
<asp:TextBox ID="TextBox3" runat="server" Width=100% Height=150px style="overflow-y:auto;height:150px;" TextMode="MultiLine" class="btncss"></asp:TextBox>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td></td>
|
|
|
<td class="cssfont">货描内容(注意:此框中内容每行为一项,手动填写时请另起一行!)</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td align=center>
|
|
|
<TABLE>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<input id="Button5" type="button" value="全选" style="width:65px;" onclick="moveOptionAll(document.formTSysTemplateSet.ListBox2, document.formTSysTemplateSet.TextBox4);" class="btncss"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<input id="Button6" type="button" value=">" style="width:65px;" onclick="moveOption(document.formTSysTemplateSet.ListBox2, document.formTSysTemplateSet.TextBox4);" class="btncss"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
<TR>
|
|
|
<TD>
|
|
|
<input id="Button7" type="button" value="撤消" style="width:65px;" onclick="Button7Click();" class="btncss"/>
|
|
|
</TD>
|
|
|
</TR>
|
|
|
</TABLE>
|
|
|
</td>
|
|
|
<td valign=top>
|
|
|
<asp:TextBox ID="TextBox4" runat="server" Width=100% Height=150px style="overflow-y:auto;height:150px;" TextMode="MultiLine" CssClass="cssfont"></asp:TextBox>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="3" align="center" height="10"><hr color="#96B3DD" /></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan=3>
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td class="cssfont">毛重小数位</td>
|
|
|
<td>
|
|
|
<asp:TextBox ID="TextBox1" runat="server" Text="2" Width=50px CssClass="cssfont"></asp:TextBox>
|
|
|
</td>
|
|
|
<td></td>
|
|
|
<td class="cssfont">尺码小数位</td>
|
|
|
<td>
|
|
|
<asp:TextBox ID="TextBox2" runat="server" Text="2" Width=50px CssClass="cssfont"></asp:TextBox>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
</form>
|
|
|
</body>
|
|
|
</html>
|