Commit 90164ce5 by guanzhenshan

修改退款流水,订单汇总流水无法筛选平台进行搜索的问题

parent 605c1cf9
......@@ -81,6 +81,10 @@
$("#roletable").attr("data-height", (height - 170));
listPlatform();
$('#platform').change(function () {
listWebsite();
})
})
function list() {
......@@ -145,15 +149,6 @@
for (var i = 0; i < result.length; i++) {
$('#platform').append('<option value="' + result[i] + '">' + result[i]+'</option>');
}
$('#platform').val('@ViewBag.platform');
$('#platform').change(function () {
listWebsite();
})
list();
listWebsite();
}
}
})
......@@ -163,7 +158,7 @@
$.submit({
url: '@Url.Content("~/Reports/Orders/ListAccount")',
type:'POST',
paramData: 'platform=@(ViewBag.platform)',
paramData: 'platform=' + $('#platform').val(),
func: function (result) {
if (result != null && result != undefined) {
$('#account').html('<option value="">选择帐号</option>');
......
......@@ -10,7 +10,6 @@
<div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom">
<form id="toolbar">
<input id="platform" name="platform" type="hidden" value="@ViewBag.platform" />
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
<label>平台:</label>
......@@ -164,6 +163,7 @@
function listPlatform() {
$.submit({
url: '@Url.Content("~/Reports/Orders/ListPlatform")',
type:'POST',
paramData: '',
func: function (result) {
if (result != null && result != undefined) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment