You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/ParameterSet/CwDesignSet.aspx

515 lines
24 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CwDesignSet.aspx.cs" Inherits="DSWeb.ParameterSet.CwDesignSet" %>
<!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>
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
<link href="../theme/page.css" type="text/css" rel="Stylesheet"/>
<link href="../theme/button/default/Fee.css" type="text/css" rel="Stylesheet"/>
<script type="text/javascript">
//两端去空格函数
String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); }
function $(id) {
return document.getElementById(id);
}
function reloadParent(strBSNO, strHandle) {
//alert("strBSNO="+strBSNO);
var parentObj = window.parent.location;
var oldUrl = parentObj.href;
var idIndex = oldUrl.indexOf("&id"); //alert(oldUrl);
//
var newUrl = "";
if (strHandle == "add") {
var handleIndex = oldUrl.indexOf("handle="); //alert(handleIndex);
newUrl = oldUrl.substring(0, handleIndex);
window.parent.opener.location.href = window.parent.opener.location.href;
parentObj.href = newUrl + "handle=edit&id=" + strBSNO;
}
else if (strHandle == "edit") {
//newUrl = oldUrl.substring(0,idIndex+4);//alert(oldUrl.substring(0,idIndex));
window.parent.opener.location.href = window.parent.opener.location.href;
//parentObj.href = newUrl+strBSNO;
}
//alert("成功提交!");
}
function setEnter() {
$("hdEnter").value = "0";
msgBox();
setTimeout(postEnterTopCtn, 200);
}
//post数据
function postEnterTopCtn() {
var myForm = document.getElementById("form1");
myForm.submit();
}
function cbISATTNOTCVVGV() {
if ($("cbISATTNOTCVVGV").checked == 1) {
$("cbISCLIENTNAME").checked = 0;
$("cbISCOTCODE").checked = 0;
$("cbISCUSTNO").checked = 0;
$("cbISMBLNO").checked = 0;
$("cbISBILLNO").checked = 0;
$("cbISRPCLIENTNAME").checked = 0;
$("cbISRPCOTCODE").checked = 0;
$("cbISRPCUSTNO").checked = 0;
$("cbISRPMBLNO").checked = 0;
$("cbISRPBILLNO").checked = 0;
}
}
//是否为数字,且数值格式是否正确
function IsNumFormat(val) {
var re = /^[-\+]?\d+(\.\d+)?$/;
if (!re.test(val)) {
return false;
}
else {
if (val.toString().indexOf(".") > 0) {
val.toString().replace("-", "");
val.toString().replace("+", "");
if (val.toString().substr(0, 1) == "0" && val.toString().substr(0, 2) != "0.") {
return false;
}
}
else {
var re1 = /^[-\+]+[1-9]+[0-9]*]*$/;
if (!re1.test(val)) {
re1 = /^[1-9]+[0-9]*]*$/;
if (!re1.test(val)) {
return false;
}
}
}
return true;
}
}
//
function getIsNum(x) {
var str = x.value.trim();
if (str == "0") {
return;
}
else if (str == "") {
str = 0;
x.value = 0;
}
else {
var bl = IsNumFormat(str);
if (!bl) {
alert("数值格式错误!");
x.focus();
x.select();
}
}
}
</script>
<!--背景条-->
<style type="text/css">
.btn-content0{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
</style>
<style type="text/css">
*{ margin:0; padding:0;}
html,body{ width:100%; height:100%; overflow:hidden;}
.containercss{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
.topcss{ width:100%; position:absolute; top:0; left:0;}
.boxcss{ height:610px;}
</style>
<!--排序-->
<style type="text/css">
.headStyle a{text-decoration:none;}
</style>
</head>
<body style="background-color: #ECF2FF;">
<form id="form1" runat="server" style="background-color: #ECF2FF">
<div>
<p class="topcss">
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img">
<asp:ImageButton ID="ibEnter" runat="server" OnClick="ibEnter_Click" ToolTip="保存" ImageUrl="~/images/icons/save.gif" CssClass="btnimg"/>
</div>
</div>
</p>
<div class="containercss" style="float:left; width:100%;height:500px; overflow-y:scroll; overflow-x:hidden;">
<div class="TabContent" style="float:left; width:700px;background-color: #ECF2FF">
<table width=700px>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />财务软件:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td width="10px"></td>
<td width="100px" colspan=9>
<asp:RadioButtonList ID="rblFSOFTCODE" runat="server" Height="16px"
RepeatDirection="Horizontal" Width="500px">
<asp:ListItem Selected="True" Value="1">金蝶迷你</asp:ListItem>
<asp:ListItem Value="2">金蝶标准</asp:ListItem>
<asp:ListItem Value="3">金蝶k3</asp:ListItem>
<asp:ListItem Value="4">用友U8</asp:ListItem>
<asp:ListItem Value="7">用友NC</asp:ListItem>
<asp:ListItem Value="8">金蝶专业</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />凭证字设置:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td width="10px"></td>
<td width="50px">
<asp:Label ID="Label3" runat="server" Text="凭证字" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td width="100px">
<asp:TextBox ID="tbTVW" runat="server" CssClass="txtTab4" MaxLength=20></asp:TextBox>
</td>
<td width="10px"></td>
<td>
<asp:Label ID="lbSTORAGENAME" runat="server" Text="付款凭证" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbBPVW" runat="server" CssClass="txtTab4" MaxLength=20></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label6" runat="server" Text="收款凭证" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbBRTW" runat="server" CssClass="txtTab4" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />客户、供应商 类别设置:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label7" runat="server" Text="客户" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCANAME" runat="server" CssClass="txtTab4" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label8" runat="server" Text="部门" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbDANAME" runat="server" CssClass="txtTab4" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label9" runat="server" Text="职员" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbPANAEM" runat="server" CssClass="txtTab4" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label10" runat="server" Text="供应商" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbSANAME" runat="server" CssClass="txtTab4" MaxLength=20></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label12" runat="server" Text="附件数量" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAFFIXNO" runat="server" CssClass="txtTab4" MaxLength="10"
onkeypress= "if ((event.keyCode < 48 || event.keyCode > 57) && (event.keyCode != 8) && event.keyCode!=45 && event.keyCode!=46){event.returnValue=false;}" onblur="getIsNum(this);"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />参数设置:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=9>
<table>
<tr>
<td width="10px"></td>
<td width="120px">
<asp:Label ID="Label1" runat="server" Text="收入/成本 核算办法:" width="120px" CssClass="cssfont"></asp:Label>
</td>
<td width="150px">
<asp:RadioButtonList ID="rblAMCODE" runat="server" Height="16px"
RepeatDirection="Horizontal" Width="130px" >
<asp:ListItem Selected="True" Value="1">全额法</asp:ListItem>
<asp:ListItem Value="2">差额法</asp:ListItem>
</asp:RadioButtonList>
</td>
<td width="150px">
<asp:CheckBox ID="cbISTCOIIED" runat="server" Text="收入成本是否核算美元" Width="150px" />
</td>
<td width="150px">
<asp:CheckBox ID="cbISUAPGE" runat="server" Text="核算项目是否生成分录" Width="150px" />
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:CheckBox ID="cbISVBM" runat="server" Text="凭证禁止修改" Width="120px" />
</td>
<td width="150px">
<asp:CheckBox ID="cbISATBGV" runat="server" Text="根据帐单生成凭证" Width="150px" />
</td>
<td>
<asp:CheckBox ID="cbISMGSC" runat="server" Text="合并生成结算凭证" Width="150px" />
</td>
<td>
<asp:CheckBox ID="cbISATTNOTCVVGV" runat="server" Text="根据船名航次生成凭证" Width="150px"/>
</td>
</tr>
<tr>
<td width="10px"></td>
<td colspan=2>
<asp:CheckBox ID="cbISSETTLEMENTS" runat="server" Text="是否在结算时自动生成凭证" Width="170px" />
</td>
<td>
<asp:CheckBox ID="cbISSETTLEMENTSOPEN" runat="server" Text="是否自动弹出结算凭证" Width="170px" />
</td>
<td>
<asp:CheckBox ID="cbISFILLSERIALNO" runat="server" Text="是否在生成凭证号时补号" Width="170px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />挂账摘要组成部分:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td width="10px"></td>
<td colspan=11 height="10">
<asp:CheckBox ID="cbISCLIENTNAME" runat="server" Text="结算单位" Width="80px" />
<asp:CheckBox ID="cbISCUSTOMERNAME" runat="server" Text="委托单位" Width="80px" />
<asp:CheckBox ID="cbISCUSTNO" runat="server" Text="委托编号" Width="80px" />
<asp:CheckBox ID="cbISMBLNO" runat="server" Text="主提单号" Width="80px" />
<asp:CheckBox ID="cbISVESSEL" runat="server" Text="船名" Width="60px" />
<asp:CheckBox ID="cbISVOYNO" runat="server" Text="航次" Width="60px" />
<asp:CheckBox ID="cbISBILLNO" runat="server" Text="申请单号" Width="80px" />
</td>
</tr>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />结算摘要组成部分:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td width="10px"></td>
<td colspan=11 height="10">
<asp:CheckBox ID="cbISRPCLIENTNAME" runat="server" Text="结算单位" Width="80px" />
<asp:CheckBox ID="cbISRPCUSTOMERNAME" runat="server" Text="委托单位" Width="80px" />
<asp:CheckBox ID="cbISRPCUSTNO" runat="server" Text="委托编号" Width="80px" />
<asp:CheckBox ID="cbISRPMBLNO" runat="server" Text="主提单号" Width="80px" />
<asp:CheckBox ID="cbISRPVESSEL" runat="server" Text="船名" Width="60px" />
<asp:CheckBox ID="cbISRPVOYNO" runat="server" Text="航次" Width="60px" />
<asp:CheckBox ID="cbISRPBILLNO" runat="server" Text="申请单号" Width="80px" />
</td>
</tr>
<tr>
<td style="font-weight: bold;color: #1E89BF;font-size: 16px;" colspan=9 class="cssfont"><br />凭证科目设置:</td>
</tr>
<tr>
<td colspan=9 align="center" height="10"><hr color="#96B3DD" /></td>
</tr>
<tr>
<td colspan=9>
<table>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label2" runat="server" Text="应收账款" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAR" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label4" runat="server" Text="主营业务收入" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbMBINCOME" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label5" runat="server" Text="空运主营业务收入" width="100px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAABWI" runat="server" CssClass="txtTab3" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label15" runat="server" Text="应付账款" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAP" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label16" runat="server" Text="主营业务支出" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbMBSPENDING" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label17" runat="server" Text="空运主营业务支出" width="100px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAMBS" runat="server" CssClass="txtTab3" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label11" runat="server" Text="应收账款外币" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbARFC" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label13" runat="server" Text="主营收入外币" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbTMFCI" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label14" runat="server" Text="空运主营收入外币" width="100px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAMFCI" runat="server" CssClass="txtTab3" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label18" runat="server" Text="应付账款外币" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAPFC" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label19" runat="server" Text="主营支出外币" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbTMSFC" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label20" runat="server" Text="空运主营支出外币" width="100px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbAMSFC" runat="server" CssClass="txtTab3" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label21" runat="server" Text="其他应收" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbOTHERR" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label22" runat="server" Text="其他应付" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbOTHERP" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label23" runat="server" Text="汇兑损益/财务费用" width="110px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbEGOL" runat="server" CssClass="txtTab3" MaxLength=20></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label24" runat="server" Text="预收账款" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbDR" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label25" runat="server" Text="预收账款外币" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbDRFC" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td>
<asp:Label ID="Label26" runat="server" Text="预付账款" width="50px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCR" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
<td></td>
<td>
<asp:Label ID="Label27" runat="server" Text="预付账款外币" width="80px" CssClass="cssfont"></asp:Label>
</td>
<td>
<asp:TextBox ID="tbCRFC" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
</tr>
<tr>
<td width="10px"></td>
<td colspan=8>
<asp:CheckBox ID="cbISAPMBSPENDING" runat="server" Text="是否默认付费结算借方科目代码" CssClass="cssfont"/>
&nbsp;
<asp:TextBox ID="tbAPMBSPENDING" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
&nbsp;&nbsp;
<asp:CheckBox ID="cbISAPTMSFC" runat="server" Text="是否默认付费结算借方外币科目代码" CssClass="cssfont"/>
&nbsp;
<asp:TextBox ID="tbAPTMSFC" runat="server" CssClass="txtTab3" MaxLength="20"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</div>
</div>
</div>
</form>
</body>
</html>