⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 browsepage1.html

📁 这是自己曾经参与开发的轻纺管理系统B/S版,有一定的研究价值!
💻 HTML
📖 第 1 页 / 共 2 页
字号:
            }
        }
    }
    function ComboBox_ListFireTextChange() {
        var textOnChange = this.Container.Text.onchange;
		if ( textOnChange != null && typeof(textOnChange) == "function" ) {
			textOnChange();
		}
    }
    function ComboBox_ListEnableBlur(e) {
        this.onblur = this.Hide;
    }
    function ComboBox_ListDisableBlur(e) {
        this.onblur = null;
    }
    function ComboBox_ListItemSelect(e) {
        if( this.options.length > 0 ) {
            var text = this.Container.Text;
            var oldValue = text.value;
            var newValue = this.options[ this.selectedIndex ].text;
            text.value = newValue;
            if ( typeof( text.createTextRange ) != "undefined" ) {
                if (newValue != oldValue) {
                    var rNew = text.createTextRange();
                    rNew.moveStart('character', oldValue.length) ;
                    rNew.select();
                }
            }
        }
        this.Hide();
        this.Container.Text.focus();
    }
    function ComboBox_ToggleList(e) {
        if( this.Container.List.IsShowing == true ) {
            this.Container.List.Hide();
        } else {
            this.Container.List.Show();
        }
    }
    function ComboBox_ShowList(e) {
        if ( !this.IsShowing && !this.disabled ) {
            this.style.width = ( this.Container.offsetWidth ) + "px";
            this.style.top = ( this.Container.offsetHeight + ComboBox_RecursiveOffsetTop(this.Container,true) ) + "px";
            this.style.left = ( ComboBox_RecursiveOffsetLeft(this.Container,true) ) + "px";
            ComboBox_SetVisibility(this,true);
            this.focus();
            this.IsShowing = true;
        }
    }
    function ComboBox_HideList(e) {
        if( this.IsShowing ) {
			ComboBox_SetVisibility(this,false);
            this.IsShowing = false;
        }
    }
    function ComboBox_SetVisibility(theList,isVisible) {
		var isIE = ( typeof( theList.dataSrc ) != "undefined" ); // dataSrc is an IE-only property which is unlikely to be supported elsewhere
		if ( isIE ) {
			if ( isVisible ) {
				theList.style.visibility = "visible";
			} else {
				theList.style.visibility = "hidden";
			}
		} else { 
			if ( isVisible ) {
				theList.style.display = "block";
			} else {
				theList.style.display = "none";
			}
		}
    }
    function ComboBox_RecursiveOffsetTop(thisObject,isFirst) {
		if(thisObject.offsetParent) {
			if ( thisObject.style.position == "absolute" && !isFirst && typeof(document.designMode) != "undefined" ) {
				return 0;
			}
			return (thisObject.offsetTop + ComboBox_RecursiveOffsetTop(thisObject.offsetParent,false));
		} else {
			return thisObject.offsetTop;
		}
	}
    function ComboBox_RecursiveOffsetLeft(thisObject,isFirst) {
		if(thisObject.offsetParent) {
			if ( thisObject.style.position == "absolute" && !isFirst && typeof(document.designMode) != "undefined" ) {
				return 0;
			}
			return (thisObject.offsetLeft + ComboBox_RecursiveOffsetLeft(thisObject.offsetParent,false));
		} else {
			return thisObject.offsetLeft;
		}
	}
	function ComboBox_SimpleAttach(selectElement,textElement) {
		textElement.value = selectElement.options[ selectElement.options.selectedIndex ].text;
		var textOnChange = textElement.onchange;
		if ( textOnChange != null && typeof( textOnChange ) == "function" ) {
			textOnChange();
		}
	}
//-->
</script>		
		


			<div style="background-color:LightBlue;font-family:黑体;font-size:Large;font-weight:bold;height:40px;width:100%;TOP:0px;POSITION:absolute;">
	<span style="TOP:5;LEFT:10;POSITION:absolute;">购料记录咨询页面</span>
</div>

<div style="background-color:LightGrey;height:60px;width:100%;TOP:40px;POSITION:absolute;">

	<span id="lbl货号" style="width:40px;LEFT:460;TOP:9;POSITION:absolute;">货号</span>
	<span id="货号_Container">
		<input name="货号:Text" type="text" id="货号_Text" autocomplete="off" />
		<span id="货号_Button"></span>
	</span>
	<select name="货号" onchange="ComboBox_SimpleAttach(this, this.form['货号:Text']); " listSize="4" id="货号">
		<option value="A1101">A1101 101光丝</option>
		<option value="A1137">A1137 40D氨纶</option>
		<option value="B2263">B2263 40支灯芯绒</option>
		<option value="B2479">B2479 32支单面毛巾胚</option>
	</select>

	<span id="lbl收货仓库" style="width:74px;LEFT:5;TOP:36;POSITION:absolute;">收货仓库</span><select name="收货仓库" id="收货仓库" style="width:110px;LEFT:81;TOP:32;POSITION:absolute;">
		<option value="<未选择>">&lt;未选择&gt;</option>
		<option value="金大少">jds 金大少</option>

	</select><span id="lbl经手人" style="width:57px;LEFT:250;TOP:36;POSITION:absolute;">经手人</span><select name="经手人" id="经手人" style="width:130px;LEFT:309;TOP:32;POSITION:absolute;">
		<option value="<未选择>">&lt;未选择&gt;</option>
		<option value="周海连">Emily 周海连</option>
		<option value="李国宇">lgy 李国宇</option>
		<option value="陆小凤">lxf2 陆小凤</option>
		<option value="彭芳泉">Vincent 彭芳泉</option>

	</select><input type="submit" name="检索" value="检索" id="检索" style="LEFT:740;TOP:32;POSITION:absolute;" /><input type="submit" name="输出" value="输出" id="输出" style="LEFT:780;TOP:32;POSITION:absolute;" />
</div><div style="height:300px;width:100%;TOP:100px;POSITION:absolute;">
	<table cellspacing="0" rules="all" border="1" id="DataGrid进货表" style="width:98%;border-collapse:collapse;POSITION:Absolute;LEFT:1%;TOP:1%;">
		<tr>
			<td>&nbsp;</td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl0','')">ID</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl1','')">日期</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl2','')">项目</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl3','')">单号</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl5','')">货号</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl7','')">数量</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl9','')">单价</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl10','')">签收司机</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl13','')">入账</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl14','')">操作员</a></td><td><a href="javascript:__doPostBack('DataGrid进货表$_ctl1$_ctl15','')">时间</a></td>
		</tr><tr>
			<td><a href="javascript:__doPostBack('DataGrid进货表$_ctl2$_ctl0','')">编辑</a></td><td>9</td><td>2004-5-1</td><td>进货</td><td>11223</td><td>B2263 40支灯芯绒</td><td>33</td><td>1.8</td><td>lgy</td><td><span disabled="disabled"><input id="DataGrid进货表__ctl2__ctl1" type="checkbox" name="DataGrid进货表:_ctl2:_ctl1" disabled="disabled" /></span>&nbsp;</td><td>周海连</td><td>2005-4-2</td>
		</tr><tr>
			<td><a href="javascript:__doPostBack('DataGrid进货表$_ctl3$_ctl0','')">编辑</a></td><td>14</td><td>2005-4-15</td><td>进货</td><td>12343</td><td>A1137 40D氨纶</td><td>21</td><td>1.2</td><td>kdk</td><td><span disabled="disabled"><input id="DataGrid进货表__ctl3__ctl1" type="checkbox" name="DataGrid进货表:_ctl3:_ctl1" disabled="disabled" /></span>&nbsp;</td><td>周海连</td><td>2005-4-15</td>
		</tr><tr>
			<td><a href="javascript:__doPostBack('DataGrid进货表$_ctl4$_ctl0','')">编辑</a></td><td>15</td><td>2005-4-26</td><td>进货</td><td>99999</td><td>A1137 40D氨纶</td><td>0</td><td>2.4</td><td>kkk</td><td><span disabled="disabled"><input id="DataGrid进货表__ctl4__ctl1" type="checkbox" name="DataGrid进货表:_ctl4:_ctl1" disabled="disabled" /></span>&nbsp;</td><td>周海连</td><td>2005-4-26</td>
		</tr>
	</table>
</div>
		
<script language="javascript">
<!--
	var ComboBoxes =  new Array('货号');
		// -->
</script>

			
<script language="javascript">
<!--
if ( typeof( window.addEventListener ) != "undefined" ) {
	window.addEventListener("load", ComboBox_Init, false);
} else if ( typeof( window.attachEvent ) != "undefined" ) {
	window.attachEvent("onload", ComboBox_Init);
} else {
	ComboBox_Init();
}
//-->
</script>		
		

		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -