<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlanOrderList.aspx.cs" Inherits="CY.WebForm.Pages.financial.PlanOrderList" %>
|
|
<!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(orderkeyid) {
|
top.Dialog.open({ URL: "/Pages/business/PlanOrderAdd.aspx?Keyid='0'&&orderkeyid=" + orderkeyid, Title: "新增计划订单", Width: 1100, Height: 900 });
|
}
|
|
//查看
|
function onView(keyid) {
|
top.Dialog.open({ URL: "/Pages/business/PlanOrderDetail.aspx?Keyid=" + keyid, Title: "查看计划订单", Width: 1100, Height: 900 });
|
}
|
|
//修改
|
function onEdit(keyid) {
|
top.Dialog.open({ URL: "/Pages/business/PlanOrderEdit.aspx?Keyid=" + keyid, Title: "修改计划订单", Width: 1100, Height: 900 });
|
}
|
|
//删除
|
function onDelete(keyid) {
|
top.Dialog.confirm("确定要删除该记录吗?", function () {
|
window.location = "/Pages/business/PlanOrderList.aspx?Keyid=" + keyid;
|
});
|
}
|
|
//查看
|
function checkSelFile() {
|
|
|
var oFile = document.getElementById('filesel');
|
if (oFile.value == "") {
|
alertMsg('没有选择文件');
|
return false;
|
|
}
|
//debugger;
|
//replaceParamVal("deleteKeyIds", "");
|
return true;
|
}
|
|
//批量删除
|
function onAllDelete() {
|
var deleteKeyIds = "";
|
$(":checkbox").each(
|
function () {
|
if ($(this).is(":checked")) {
|
deleteKeyIds += $(this).val() + ",";
|
}
|
}
|
)
|
if (deleteKeyIds == "") {
|
top.Dialog.alert("请选择要删除的记录", function () {
|
});
|
return;
|
}
|
else {
|
deleteKeyIds = deleteKeyIds.substring(0, deleteKeyIds.length - 1);
|
var oFile = document.getElementById('HideKeyid').value;
|
top.Dialog.confirm("确定要删除所选记录吗?", function () {
|
window.location = "/Pages/business/PlanOrderList.aspx?deleteKeyIds=" + deleteKeyIds + "&orderkeyid=" + oFile;
|
});
|
}
|
}
|
</script>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div id="scrollContent">
|
<div class="box1" paneltitle="功能面板" roller="false">
|
<table class="TableNewStyle">
|
<tr>
|
<td class="ali03 " style="padding-left: 20px">
|
订单状态:
|
</td>
|
<td>
|
<select id="selstatus" keepdefaultstyle='true' runat="server" >
|
<option selected="selected" value="">全部</option>
|
<option value="1">未锁定</option>
|
<option value="2">已锁定</option>
|
</select>
|
</td>
|
<%-- <td class="ali03 " style="padding-left: 20px">
|
所在区域:
|
</td>
|
<td>
|
<asp:DropDownList ID="selectProvince" runat="server" keepDefaultStyle="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeProvince" Width="70px">
|
</asp:DropDownList>
|
<asp:DropDownList ID="selectCity" runat="server" keepDefaultStyle="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeCity" Width="70px">
|
</asp:DropDownList>
|
<asp:DropDownList ID="selectCounty" runat="server" keepDefaultStyle="true" AutoPostBack="false" Width="70px">
|
</asp:DropDownList>
|
</td>--%>
|
<td class="ali03 " style="padding-left: 20px">
|
学校:
|
</td>
|
<td>
|
<input id="txtshipAddress" type="text" runat="server" />
|
</td>
|
<td class="ali03 " style="padding-left: 20px">
|
片区:
|
</td>
|
<td>
|
<input id="txtpianqu" type="text" runat="server" />
|
</td>
|
|
</tr>
|
<tr>
|
<td class="ali03 " style="padding-left: 20px">
|
联系人:
|
</td>
|
<td>
|
<input id="txtshipName" type="text" runat="server" />
|
</td>
|
<td class="ali03 " style="padding-left: 20px">
|
联系电话:
|
</td>
|
<td>
|
<input id="txtshipMobile" type="text" runat="server" />
|
</td>
|
<td class="ali03 " style="padding-left: 20px">
|
收货地址:
|
</td>
|
<td>
|
<input id="txtshouhuoAddress" type="text" runat="server" />
|
</td>
|
|
|
|
<td colspan="2">
|
<asp:Button ID="btn_Register" Text="查询" runat="server" OnClick="btn_Register_Click" />
|
<input type="hidden" id="HideKeyid" runat="server" />
|
</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="addModel('<%=orderkeyid %>')" class="aaddModel" ><span class="icon_add">新增计划订单</span></a>
|
<a href="javascript:;" onclick="onAllDelete()" ><span class="icon_delete">批量删除</span></a>
|
<a class="aaddModel" href="/images/jihuageshi/上传计划订单.xlsx"><span class="icon_arr1">上传模板</span></a>
|
<input type="file" id="filesel" name="__hetongFile" keepdefaultstyle="true" runat="server" text="请选择文件" />
|
<asp:Button ID="UpdateFileNew" Text="上传" runat="server" OnClick="btn_Submit_Click" OnClientClick="return checkSelFile()" />
|
<div class="clear">
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="clear">
|
</div>
|
</div>
|
<div>
|
<asp:Repeater ID="RepSubjeSetctList" runat="server">
|
<HeaderTemplate>
|
<table class="tableStyle ali02" useclick="false" usecheckbox="true" sortmode="true">
|
<tr>
|
<th width="25">
|
</th>
|
<th width="30" style="text-align: center">
|
编号
|
</th>
|
<th>
|
市
|
</th>
|
<th>
|
区县
|
</th>
|
<th>
|
片区
|
</th>
|
<th>
|
学校
|
</th>
|
<th>
|
联系人
|
</th>
|
<th>
|
联系电话
|
</th>
|
<th>
|
收货地址
|
</th>
|
<th>
|
金额
|
</th>
|
|
|
<th width="80">
|
操作
|
</th>
|
</tr>
|
</HeaderTemplate>
|
<ItemTemplate>
|
<tr>
|
<td>
|
<input type="checkbox" value='<%#Eval("id")%>' />
|
</td>
|
<td>
|
<%#Container.ItemIndex + 1+ this.UCPager1.PageSize * (this.UCPager1.PageIndex - 1)%>
|
</td>
|
<td>
|
<%#Eval("shi")%>
|
</td>
|
<td>
|
<%#Eval("quxian")%>
|
</td>
|
|
<td>
|
<%#Eval("pianqu")%>
|
</td>
|
<td>
|
<%#Eval("shipAddress")%>
|
</td>
|
<td>
|
<%#Eval("shipName")%>
|
</td>
|
<td>
|
<%#Eval("shipMobile")%>
|
</td>
|
<td>
|
<%#Eval("shouhuoAddress")%>
|
</td>
|
<td>
|
<%#Eval("orderAmount")%>
|
</td>
|
|
<td class="Operate">
|
<span onclick="onView(<%#Eval("id")%>)">查看 </span>
|
<span onclick="onEdit('<%#Eval("id")%>')">修改</span> </span>
|
</td>
|
</tr>
|
</ItemTemplate>
|
<FooterTemplate>
|
</table>
|
</FooterTemplate>
|
</asp:Repeater>
|
<div id="page">
|
<uc:UCPager ID="UCPager1" runat="server" />
|
</div>
|
</div>
|
</div>
|
</form>
|
</body>
|
</html>
|