新增重算按钮提示

master
chenzhi 4 years ago
parent 52e7f3059f
commit 2bbacb15a5

@ -222,6 +222,9 @@ class MarketPercentageController extends ThinkController
$this->checkListOrCountAuthRestMap($map, []);
$this->assign("list_data", $data);
$this->assign("is_can_recount",D("CmdTasks")->isCanAddTask("MarketPerformanceSet"));
$this->display();
}
@ -991,6 +994,7 @@ class MarketPercentageController extends ThinkController
$this->assign("sum", $sum);
$this->assign("list_data", $data);
$this->assign("is_can_recount",D("CmdTasks")->isCanAddTask("MarketPerformanceSet"));
$this->display("marketstaffsettle");
}

@ -43,7 +43,9 @@
<div class="tools">
<if condition="$caculate_check eq true">
<empty name="show_status">
<a class="recaculate" url="{:U('reCaculateBonus')}" style="width: 60px;text-align: center;padding-right: 0;margin-right: 0;">重算</a>
<if condition="$is_can_recount">
<a class="recaculate" url="{:U('reCaculateBonus')}" style="width: 60px;text-align: center;padding-right: 0;margin-right: 0;">重算</a>
</if>
</empty>
</if>
</div>

@ -113,7 +113,9 @@
<div class="tools">
<if condition="$caculate_check eq true">
<empty name="show_status">
<a class="recaculate" url="{:U('reCaculateBonus')}" style="width: 60px;text-align: center;padding-right: 0;margin-right: 0;">重算</a>
<if condition="$is_can_recount">
<a class="recaculate" url="{:U('reCaculateBonus')}" style="width: 60px;text-align: center;padding-right: 0;margin-right: 0;">重算</a>
</if>
</empty>
</if>
</div>

@ -38,13 +38,13 @@
<div class="cf top_nav_list">
<div class="fl button_list">
<!-- <div class="fl button_list">
<div class="tools">
<if condition="$caculate_check eq true">
<a class="recaculate" url="{:U('reCaculateBonus?pay_time='.$_GET['pay_time'])}" style="width: 60px;text-align: center;padding-right: 0;margin-right: 0;">重算</a>
</if>
</div>
</div>
</div> -->
<!-- 高级搜索 -->
<div class="jssearch fl cf search_list">
<div class="input-list search-title-box">

Loading…
Cancel
Save