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.
D7QUANTAI/DSWeb/ParameterSet/CodeGoodsDetailSetInfo.aspx

142 lines
6.6 KiB
Plaintext

10 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CodeGoodsDetailSetInfo.aspx.cs" Inherits="DSWeb.ParameterSet.CodeGoodsDetailSetInfo"%>
<!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 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"/>
<!--页面重新加载-->
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
<link href="../theme/dhtmlxcombo.css" type="text/css" rel="Stylesheet" media="screen"/>
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
<script src="../js/dhtmlxcombo_whp.js" type="text/javascript"></script>
<script src="../js/jsGridCodeGoodsDetailSet.js" type="text/javascript"></script>
<script type="text/javascript">
window.dhx_globalImgPath = "../images/";
</script>
<script type="text/javascript">
function $(id)
{
return document.getElementById(id);
}
//两端去空格函数
String.prototype.trim = function () { return this.replace(/(^\s*)|(\s*$)/g, ""); }
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 == "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;
}
else if (strHandle == "del") {
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("操作成功!");
}
else 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;
}
//
//window.opener.location.reload();
} </script>
<script type="text/javascript">
//回车键控制
document.onkeypress = function () {
if (event.keyCode == 13) {
if (event.srcElement.tagName == 'TEXTAREA') {
return true;
}
return false;
}
}
</script>
<!--背景条-->
<style type="text/css">
.btn-content0{
width:100%;
height:30px;
background:url("../images/content-header.gif");
cursor:default;
}
</style>
</head>
<body style="background-color: #ECF2FF" onload="initComboGOODSNAME2();" >
<form id="form1" runat="server" style="background-color: #ECF2FF">
<div>
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
<div class="btn-blank"></div>
<div class="xbtn-img">
<div class="btnimg"><asp:ImageButton ID="ibAdd" runat="server" onclick="ibAdd_Click" ToolTip="添加" ImageUrl="~/images/icons/btnAdd.gif"/></div>
</div>
<div id="divibEnter" class="xbtn-img" runat=server onclick="setEnter();">
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存" class="cssfont"/></div>
</div>
<div class="xbtn-img">
<div class="btnimg"><asp:ImageButton ID="ibDel" runat="server" onclick="ibDel_Click" ToolTip="删除" ImageUrl="../images/icons/remove.gif" OnClientClick="return confirm('确定要删除吗?')"/></div>
</div>
</div>
<div style="float:left; background-color: #ECF2FF">
<table>
<tr><td height="10px"></td></tr>
<tr>
<td width="10px"></td>
<td width="60px" valign=top>
<asp:Label ID="Label6" runat="server" Text="所属品名" width="60px" CssClass="cssfont"></asp:Label>
</td>
<td valign=top>
<select id="ddlGOODSNAME" runat="server" class="txtTab" style="width:402px"></select>
</td>
<td width="10px"></td>
</tr>
<tr>
<td width="10px"></td>
<td width="60px" valign=top>
<asp:Label ID="Label7" runat="server" Text="品牌" width="60px" CssClass="cssfont"></asp:Label>
</td>
<td valign=top>
<asp:TextBox ID="tbGOODSDETAILNAME" runat="server" CssClass="txtTab" MaxLength=50 style="width:400px"></asp:TextBox>
</td>
<td width="10px"></td>
</tr>
<tr>
<td width="10px"></td>
<td width="60px" valign=top>
<asp:Label ID="Label9" runat="server" Text="品名描述" width="60px" CssClass="cssfont"></asp:Label>
</td>
<td valign=top>
<asp:TextBox ID="tbREMARK" runat="server" CssClass="txtTab" MaxLength=1024 Height="100px" TextMode="MultiLine" style="width:400px"></asp:TextBox>
</td>
<td width="10px"></td>
</tr>
</table>
</div>
</div>
<!-- 选项卡结束 -->
<div>
<input type="hidden" id="hdGid" runat="server"/>
<input type="hidden" id="hdUserID" runat="server"/>
<input type="hidden" id="hdHandleType" runat="server"/>
<input type="hidden" id="hdEnter" runat="server"/>
<input type="hidden" id="hd_comboGOODSNAME" runat="server"/>
<asp:ImageButton ID="ibEnter" runat="server" ToolTip="保存" ImageUrl="~/images/icons/save.gif" style="display:none;"/>
</div>
</form>
</body>
</html>