169 lines
5.9 KiB
Plaintext
169 lines
5.9 KiB
Plaintext
@using WX.CRM.WebHelper;
|
|
@{
|
|
ViewBag.Title = "佣金分成比例列表";
|
|
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
|
|
}
|
|
<style type="text/css">
|
|
table tr td {
|
|
height: 25px;
|
|
}
|
|
|
|
table tr td li {
|
|
height: 25px;
|
|
}
|
|
|
|
.text_right {
|
|
text-align: right;
|
|
}
|
|
|
|
.width120 {
|
|
width: 120px;
|
|
}
|
|
|
|
.width200 {
|
|
width: 200px;
|
|
}
|
|
|
|
#saleuser_ul0, #saleuser_ul1, #saleuser_ul2 {
|
|
float: left;
|
|
list-style: none;
|
|
font-size: 0;
|
|
}
|
|
|
|
#saleuser_ul0 li {
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
|
|
#saleuser_ul1 li, #saleuser_ul2 li {
|
|
float: left;
|
|
width: 370px;
|
|
}
|
|
|
|
#saleuser_ul0 li span, #saleuser_ul1 li span, #saleuser_ul2 li span {
|
|
font-size: 12px;
|
|
width: 120px;
|
|
text-align: right;
|
|
display: inline-block;
|
|
}
|
|
|
|
#saleuser_ul0 li span.percent, #saleuser_ul1 li span.percent, #saleuser_ul2 li span.percent {
|
|
font-size: 12px;
|
|
width: 5px;
|
|
display: inline;
|
|
}
|
|
|
|
#saleuser_ul0 li label, #saleuser_ul1 li label, #saleuser_ul2 li label {
|
|
font-size: 12px;
|
|
padding: 0 5px 0;
|
|
}
|
|
</style>
|
|
<div class="mvctool">
|
|
@Html.ToolButton("btnQuery", "icon-search", "查询", true)
|
|
@Html.Action("ToolBar", "Control", ViewBag.ToolBar as ToolBar)
|
|
</div>
|
|
<div class="bas_datagrid">
|
|
<div id="tb" style="padding:5px;height:auto" class="grid_toolbar">
|
|
<ul class="toolBar_ul">
|
|
<li>@Html.Action("UserComBoxByRole", "Control", new { onLoadSucced = "onLoadSucced()", controlName = "nb1", roleCodes = ViewBag.roleCodes, saledeptid = "", salegroupid = ViewBag.userGroupId, iseid = "0", inneruserid = "" })</li>
|
|
<li>交易商代码:<input type="text" id="txtTradeCode" name="txtTradeCode" style="width:120px;" value="" /> </li>
|
|
<li>参与分配纪纪人工号:<input type="text" id="txtEid" name="txtEid" /> </li>
|
|
<li>主经纪人工号:<input type="text" id="txtAssignEid" name="txtAssignEid" value="" /> </li>
|
|
<li>规则日期:@Html.WdatePickerText("sdCTime", DateTime.Now.Year.ToString() + "-" + DateTime.Now.Month.ToString() + "-1")~@Html.WdatePickerText("edCTime", DateTime.Now.Year.ToString() + "-" + DateTime.Now.Month.ToString() + "-" + DateTime.Now.Day.ToString())</li>
|
|
@*<li>激活时间:@Html.WdatePickerText("txt_sdATime", "")~@Html.WdatePickerText("txt_edATime", "")</li>*@
|
|
<li>@*<input name="ckb_curMonActiva" type="checkbox" value="1" />当月激活*@ <input name="ckb_curMonTransaction" type="checkbox" value="1" />当月有交易 <input name="ckb_preMonTransaction" type="checkbox" value="1" />上月有交易</li>
|
|
</ul>
|
|
</div>
|
|
@Html.Raw(ViewBag.gridTable)
|
|
</div>
|
|
<div id="dlg3" class="easyui-dialog" closed="true" style="width: 600px; height: 400px; padding: 10px">
|
|
<iframe id="framC" src="" width="100%" height="98%" frameborder="no" border="0" marginwidth="0" marginheight="0"></iframe>
|
|
</div>
|
|
<script type="text/javascript">
|
|
//$(document).ready(function () {
|
|
// $(window).resize(function () {//自动适应大小
|
|
// $('#tablist').tablegrid('resize', {
|
|
// height: $(window).height()
|
|
// });
|
|
// });
|
|
// //loadtablegrid();
|
|
//});
|
|
|
|
function onLoadSucced() {
|
|
$('#tablist').tablegrid("Search");
|
|
}
|
|
$(function () {
|
|
$("#tablist").tablegrid({
|
|
url: '/QH/CommissionApply/GetHtmlRuleList',
|
|
height: $(window).height() - 110,
|
|
loadNow: false,
|
|
isPage: true,
|
|
//data: {
|
|
// txtTradeCode: $("#txtTradeCode").val(),
|
|
// txtEid: $("#txtEid").val(),
|
|
// txtAssignEid: $("#txtAssignEid").val(),
|
|
// sdCTime: $("#sdCTime").val(),
|
|
// edCTime: $("#edCTime").val(),
|
|
// groupId: $("#nb1_uc_org_groups").val(),
|
|
// userId: $("#nb1_uc_org_ids").val()
|
|
//}
|
|
data: GetControlValue
|
|
});
|
|
function GetControlValue() {
|
|
return {
|
|
txtTradeCode: $.trim($("#txtTradeCode").val()),
|
|
txtEid: $.trim($("#txtEid").val()),
|
|
txtAssignEid: $.trim($("#txtAssignEid").val()),
|
|
sdCTime: $.trim($("#sdCTime").val()),
|
|
edCTime: $.trim($("#edCTime").val()),
|
|
saleDeptId: $("#nb1_uc_org_depts").val(),
|
|
groupId: $("#nb1_uc_org_groups").val(),
|
|
userId: $("#nb1_uc_org_ids").val()
|
|
};
|
|
}
|
|
$("#btnQuery").click(function () {
|
|
$('#tablist').tablegrid("Search");
|
|
});
|
|
//$("#btnQuery").click(function () {
|
|
// loadtablegrid();
|
|
//});
|
|
});
|
|
|
|
//function loadtablegrid() {
|
|
// $("#tablist").tablegrid({
|
|
// url: '/Gjs/GjsCommissionApply/GetHtmlRuleList',
|
|
// height: $(window).height() - 110,
|
|
// loadNow: true,
|
|
// isPage: true,
|
|
// data: {
|
|
// txtTradeCode: $("#txtTradeCode").val(),
|
|
// txtEid: $("#txtEid").val(),
|
|
// txtAssignEid: $("#txtAssignEid").val(),
|
|
// sdCTime: $("#sdCTime").val(),
|
|
// edCTime: $("#edCTime").val()
|
|
// }
|
|
// });
|
|
//}
|
|
function Create_Click() {
|
|
$("#framC").attr("src", "/QH/CommissionApply/Edit?cmd=add&id=&tradeCode=&mySelf=1");
|
|
$('#dlg3').dialog({
|
|
title: "添加—分成修改申请",
|
|
width: 800,
|
|
height: 300,
|
|
closed: false,
|
|
cache: false,
|
|
modal: true
|
|
});
|
|
}
|
|
function frameReturnByClose() {
|
|
$("#dlg3").window('close');
|
|
}
|
|
function frameReturnByReload(flag) {
|
|
if (flag == true)
|
|
//loadtablegrid();
|
|
$("#tablist").tablegrid("Load");
|
|
}
|
|
function frameReturnByMes(mes) {
|
|
$.messageBox5s('提示', mes);
|
|
}
|
|
</script> |