TG.WXCRM.V4/WEB/Views/Ord/MemoProtect/Index.cshtml

81 lines
3.0 KiB
Plaintext

@using WX.CRM.WebHelper;
@{
ViewBag.Title = "MemoProtect";
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<script type="text/javascript">
function export_click() {
var protectDay = $("#txt_protectDay").val();
var stime = $("#txt_Stime").val();
var etime = $("#txt_Etime").val();
var businesstypeid1 = $("#slt_BusinessType").val();
var memotypeid1 = $("#slt_MemoType").val();
var memosubtypeid1 = $("#slt_MemoSubtype").val();
var businesstypeid2 = $("#slt_BusinessTypeRepeat").val();
var memotypeid2 = $("#slt_MemoTypeRepeat").val();
var memosubtypeid2 = $("#slt_MemoSubtypeRepeat").val();
var url = "/Ord/MemoProtect/ResIdExport?protectDay=" + protectDay + "&Stime=" + stime + "&Etime="
+ etime + "&BusinessType1=" + businesstypeid1 + "&MemoType1=" + memotypeid1 + "&MemoSubtype1=" + memosubtypeid1
+ "&BusinessType2=" + businesstypeid2 + "&MemoType2=" + memotypeid2 + "&MemoSubtype2=" + memosubtypeid2;
//alert(url);
this.window.open(url);
}
</script>
<div class="mvctool bgb">
@Html.ToolButton("btnExport", "icon-export", "客户ID(导出)", "export_click", false)
</div>
<div style=" height:90%;width:100%; overflow-y:auto">
<table class="fromEditTable setTextWidth300">
<tbody>
<tr>
<td width="60px" style="width:100px;">
开始时间:
</td>
<td style="width:310px">
@Html.WdatePickerText("txt_Stime", DateTime.Now.AddDays(-20).ToString("yyy-MM-dd"), false, "style='width:100px;'")
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
结束时间:
</td>
<td style="width:310px">
@Html.WdatePickerText("txt_Etime", DateTime.Now.ToString("yyy-MM-dd"), false, "style='width:100px;'")
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
类型:
</td>
<td style="width:310px">
@Html.Action("QueryMemoTypeUC", "Control")
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px" style="width:100px;">
保护期:
</td>
<td style="width:310px">
<input id="txt_protectDay" type="text" name="txt_protectDay" style="width:50px" />天
</td>
<td width="120px"></td>
</tr>
<tr>
<td width="60px">需下高工单:</td>
<td style="width:310px">
@Html.Action("QueryMemoTypeRepeatUC", "Control")
</td>
<td width="120px"></td>
</tr>
</tbody>
</table>
</div>