<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InventoryList.aspx.cs" Inherits="CY.WebForm.Pages.procurement.InventoryList" %>
|
|
<!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>
|
<uc:cmshead id="CMSHead1" runat="server" />
|
<script type="text/javascript">
|
///添加一个入库信息
|
function addModel() {
|
top.Dialog.open({ URL: "/Pages/procurement/OutOfStorageEdit.aspx?Keyid='0'", Title: "新增入库信息", Width: 800, Height: 350 });
|
}
|
|
//批量入库
|
function addModelList() {
|
top.Dialog.open({ URL: "/Pages/procurement/StorageVolume.aspx?Keyid='0'", Title: "批量入库", Width: 1000, Height: 500 });
|
}
|
|
//打印明细
|
function PrintTable() {
|
top.Dialog.open({ URL: "/Pages/procurement/InventoryPrintTable.aspx", Title: "打印明细", Width: 1000, Height: 600 });
|
}
|
|
$(function () {
|
var value_NowPageAllMoney = 0;
|
$(".OrderAllMoney").each(function (ii, vv) {
|
value_NowPageAllMoney += parseFloat($(vv).text());
|
});
|
$("#NowPageAllMoney").html(value_NowPageAllMoney.toFixed(2) + "元");
|
});
|
</script>
|
<style type="text/css">
|
.StatisticsMoney td { color: #FF5500; }
|
.StatisticsMoney span { color: #FF5500; font-weight: bold; }
|
</style>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div id="scrollContent">
|
<div class="box1" paneltitle="功能面板" roller="false">
|
<table class="TableNewStyle" width="100%">
|
<tr>
|
<td class="ali03">
|
操作时间:
|
</td>
|
<td style="width: 215px">
|
<input id="txtRegTimeStart" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />-<input id="txtRegTimeEnd" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />
|
</td>
|
<td class="ali03">
|
仓库名称:
|
</td>
|
<td>
|
<select id="selWarehouseId" runat="server" keepdefaultstyle='true'>
|
</select>
|
</td>
|
<td class="ali03">
|
货品类别:
|
</td>
|
<td>
|
<asp:dropdownlist runat="server" id="dwCommity" autopostback="true" keepdefaultstyle="true" onselectedindexchanged="dwCommity_SelectedIndexChanged">
|
</asp:dropdownlist>
|
</td>
|
<td class="ali03 ">
|
货品名称:
|
</td>
|
<td>
|
<asp:dropdownlist runat="server" id="dwGoodsList" autopostback="true" keepdefaultstyle="true" onselectedindexchanged="dwGoodsList_SelectedIndexChanged">
|
</asp:dropdownlist>
|
</td>
|
<td class="ali03 ">
|
采购人:
|
</td>
|
<td>
|
<input type="text" id="selOpretor" runat="server" />
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 ">
|
货品品牌:
|
</td>
|
<td>
|
<asp:dropdownlist runat="server" id="dwBrand" autopostback="false" keepdefaultstyle="true">
|
</asp:dropdownlist>
|
</td>
|
<td class="ali03 ">
|
货品规格:
|
</td>
|
<td>
|
<asp:dropdownlist runat="server" id="dwSpecification" autopostback="false" keepdefaultstyle="true">
|
</asp:dropdownlist>
|
</td>
|
<td class="ali03 " runat="server" id="trWeight">
|
货品克重:
|
</td>
|
<td>
|
<asp:dropdownlist runat="server" id="dwPaperWeight" autopostback="false" keepdefaultstyle="true">
|
</asp:dropdownlist>
|
</td>
|
<td class="ali03 " colspan="3">
|
</td>
|
<td>
|
<asp:button id="btn_Register" text="查询" runat="server" padding="0px" onclick="btn_Register_Click" />
|
<input type="button" onclick="resetSearch()" value="重置" />
|
</td>
|
</tr>
|
</table>
|
</div>
|
<div class="box_tool_min ">
|
<div class="center">
|
<div class="left">
|
<div class="right">
|
<div class="padding_top5 padding_left10">
|
<a href="javascript:;" onclick="addModelList()"><span class="icon_add">批量入库</span></a>
|
<div class="box_tool_line">
|
</div>
|
<a href="javascript:;" onclick="PrintTable()" menu_member_case_id="case_PrintTable" menu_member_case_name="打印明细"><span class="icon_add">打印明细</span></a>
|
<div class="clear">
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="clear">
|
</div>
|
</div>
|
<div>
|
<table class="tableStyle ali02" useclick="false" usecheckbox="true" sortmode="true">
|
<tr>
|
<th>
|
编号
|
</th>
|
<th>
|
仓库
|
</th>
|
<th>
|
货品名称
|
</th>
|
<th>
|
货品品牌
|
</th>
|
<th>
|
货品规格
|
</th>
|
<th>
|
剩余库存
|
</th>
|
<th>
|
单价
|
</th>
|
<th>
|
金额
|
</th>
|
<th>
|
纸张克重
|
</th>
|
<th>
|
纸张令数
|
</th>
|
<th>
|
纸张吨数
|
</th>
|
</tr>
|
<asp:repeater id="ReInventoryList" runat="server">
|
<itemtemplate>
|
<tr>
|
<td>
|
<%#Container.ItemIndex + 1+ this.UCPager1.PageSize * (this.UCPager1.PageIndex - 1)%>
|
</td>
|
<td>
|
<%#Eval("WarehouseName")%>
|
</td>
|
<td>
|
<%#Eval("GoodsName")%>
|
</td>
|
<td>
|
<%#Eval("BrandName")%>
|
</td>
|
<td>
|
<%#Eval("SpeceicationName")%>
|
</td>
|
<td>
|
<%#Eval("InventoryCount")%>
|
</td>
|
<td>
|
<%#Eval("UnitPrice", "{0:F2}")%>
|
</td>
|
<td class="OrderAllMoney">
|
<%#Eval("TotalPrice", "{0:F2}")%>
|
</td>
|
<td>
|
<%#Eval("PaperWeightName")%>
|
</td>
|
<td>
|
<%#Eval("LingShu", "{0:F2}")%>
|
</td>
|
<td>
|
<%#Eval("DunShu", "{0:F4}")%>
|
</td>
|
</tr>
|
</itemtemplate>
|
</asp:repeater>
|
|
<tr class="StatisticsMoney">
|
<td colspan="7" class="ali03">
|
当前页统计:
|
</td>
|
<td>
|
<span id="NowPageAllMoney" runat="server"></span>
|
</td>
|
<td colspan="3" class="ali01">
|
</td>
|
</tr>
|
<tr class="StatisticsMoney">
|
<td colspan="7" class="ali03">
|
查询项统计:
|
</td>
|
<td>
|
<span id="AllMoney" runat="server"></span>
|
</td>
|
<td colspan="3" class="ali01">
|
</td>
|
</tr>
|
</table>
|
<div id="page">
|
<uc:ucpager id="UCPager1" runat="server" />
|
</div>
|
</div>
|
</div>
|
</form>
|
</body>
|
</html>
|