📄 modparts.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModParts.aspx.cs" Inherits="CRM.WEB.Setting.addata.ModParts" %>
<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc2" %>
<%@ Register Assembly="PowerEasy.Controls" Namespace="PowerEasy.Controls" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>修改配件</title>
<link href="../../Css/repeater.css" type="text/css" rel="stylesheet" />
<link href="../../Css/Common.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript">
<!--
function SetReadOnlyTextBoxValue()
{
if(document.getElementById("ckbSelect").checked==true)
{
document.getElementsByName("<%=txtSupper.UniqueID%>")[0].readOnly=false;
document.getElementById("ckbSelect").checked=true;
}
else
{
document.getElementById("ckbSelect").checked=false;
document.getElementsByName("<%=txtSupper.UniqueID%>")[0].readOnly=true;
}
}
//-->
</script>
</head>
<body id="MasterPagebody" leftmargin="0" topmargin="0">
<form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr align="center">
<td id="TabTitle0" class="titlemouseover" runat="server">
修改配件</td>
<td>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="5" cellspacing="1" class="border" width="100%">
<tr class="tdbg">
<td style="height: 100px" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="5" cellspacing="1" class="border" width="100%">
<tr class="tdbg">
<td class="tdbgleft" style="width: 20%; text-align: right">
配件名称:</td>
<td colspan="3">
<asp:TextBox ID="txtName" runat="server" Width="260px"></asp:TextBox>
<span style="color: red">*</span>
<asp:RequiredFieldValidator ID="rv" runat="server" ControlToValidate="txtName" ErrorMessage="配件名称不能为空!"></asp:RequiredFieldValidator></td>
</tr>
<tr class="tdbg" style="color: #000000">
<td class="tdbgleft" style="width: 20%; text-align: right">
关联产品:</td>
<td colspan="3">
<asp:TextBox ID="txtproduct" runat="server" Width="260px"></asp:TextBox>
<a onclick="window.open('../../Bussiness/UserControls/SearchProduct.aspx?OpenerText=<%=txtproduct.ClientID%>&HiddenText=<%=hd.ClientID%>','ProducerList' ,'width=600,height=450,top=40, left=200,toolbar=0, menubar=0, scrollbars=auto, resizable=1, location=0, status=0');">
<img src="../../Images/search.JPG" /></a>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtproduct"
ErrorMessage="关联产品不能为空,请选择!"></asp:RequiredFieldValidator></td>
</tr>
<tr class="tdbg" style="color: #000000">
<td class="tdbgleft" style="width: 20%; text-align: right">
配件编号:</td>
<td style="width: 30%">
<asp:TextBox ID="txtNo" runat="server"></asp:TextBox></td>
<td class="tdbgleft" style="width: 20%; text-align: right">
配件分类:</td>
<td style="width: 30%">
<asp:DropDownList ID="ddlprotype" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlprotype_SelectedIndexChanged">
</asp:DropDownList></td>
</tr>
<tr class="tdbg">
<td class="tdbgleft" style="width: 20%; text-align: right">
配件型号:</td>
<td style="width: 30%">
<asp:TextBox ID="txtSpecs" runat="server"></asp:TextBox></td>
<td class="tdbgleft" style="width: 20%; text-align: right">
配件单位:</td>
<td style="width: 30%">
<asp:DropDownList ID="ddlunit" runat="server">
</asp:DropDownList></td>
</tr>
<tr class="tdbg">
<td class="tdbgleft" style="width: 20%; text-align: right">
安全库存量:</td>
<td style="width: 30%">
<cc2:ZLTextBox ID="txtCount" runat="server" InputType="number" IsDisplayTime="False"></cc2:ZLTextBox></td>
<td class="tdbgleft" style="width: 20%; text-align: right">
存放仓库:</td>
<td style="width: 30%">
<asp:DropDownList ID="ddlstore" runat="server">
</asp:DropDownList></td>
</tr>
<tr id="Tr1" runat="server" class="tdbg">
<td class="tdbgleft" style="width: 20%; text-align: right">
供 应 商:</td>
<td colspan="3">
<asp:TextBox ID="txtSupper" runat="server" Width="260px"></asp:TextBox>
<a onclick="window.open('../UserControls/SearchProvide.aspx?OpenerText=<%=txtSupper.ClientID%>&HiddenText=<%=hd1.ClientID%>','ProducerList' ,'width=600,height=450,top=40, left=200,toolbar=0, menubar=0, scrollbars=auto, resizable=1, location=0, status=0');">
<img src="../../../Images/search.JPG" /></a>
<input id="ckbSelect" name="ckbSelect" onclick="SetReadOnlyTextBoxValue();" type="checkbox"
value="自填" />自产</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -