|
|
|
@ -174,7 +174,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-list input-list-game search_label_rehab">
|
|
|
|
|
<select id="relation_game_id" name="relation_game_id[]" class="select_gallery" multiple="multiple">
|
|
|
|
|
<option value="">请选择游戏产品</option>
|
|
|
|
|
<volist name="gameList" id="vo">
|
|
|
|
|
<option value="{$vo.relation_game_id}" <if condition="$vo.relation_game_id eq I('relation_game_id')">selected</if> >{$vo.relation_game_name}</option>
|
|
|
|
|
</volist>
|
|
|
|
@ -355,10 +354,7 @@
|
|
|
|
|
var is_add = 1;
|
|
|
|
|
//添加公司比例操作
|
|
|
|
|
$('#add_company').click(function (e) {
|
|
|
|
|
if (!is_add) {
|
|
|
|
|
layer.msg('正在执行中请勿重复点击...');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
layer.load(2);
|
|
|
|
|
is_add = 0;
|
|
|
|
|
var company_id = $("#company_id").find("option:selected").val();
|
|
|
|
@ -380,6 +376,18 @@
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var s_start = time_start.split('-');
|
|
|
|
|
var s_month = s_start[1]; //获取当前日期的月份
|
|
|
|
|
|
|
|
|
|
var s_end = time_end.split('-');
|
|
|
|
|
var e_month = s_end[1]; //获取当前日期的月份
|
|
|
|
|
|
|
|
|
|
if (s_month != e_month) {
|
|
|
|
|
layer.closeAll("loading");
|
|
|
|
|
layer.msg('只能选择同一个月的补点结算');
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!company_type) {
|
|
|
|
|
layer.closeAll("loading");
|
|
|
|
|
layer.msg('请选择公司类型');
|
|
|
|
@ -628,7 +636,7 @@
|
|
|
|
|
var url = "{:U('Ajax/getPromoteGameList')}"+"&game_ids="+data;
|
|
|
|
|
$.get(url,function(data){
|
|
|
|
|
var game = data;
|
|
|
|
|
var gamestr = '<option value="">请选择游戏商品</option>';
|
|
|
|
|
var gamestr = '';
|
|
|
|
|
for (var i in game) {
|
|
|
|
|
if(game[i].id == game_id){
|
|
|
|
|
gamestr += "<option value='" + game[i].relation_game_id + "' selected='selected'>" + game[i].relation_game_name + "</option>"
|
|
|
|
|