新增重算按钮提示

master
chenzhi 4 years ago
parent 52e7f3059f
commit 2bbacb15a5

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

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

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

@ -38,13 +38,13 @@
<div class="cf top_nav_list"> <div class="cf top_nav_list">
<div class="fl button_list"> <!-- <div class="fl button_list">
<div class="tools"> <div class="tools">
<if condition="$caculate_check eq true"> <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> <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> </if>
</div> </div>
</div> </div> -->
<!-- 高级搜索 --> <!-- 高级搜索 -->
<div class="jssearch fl cf search_list"> <div class="jssearch fl cf search_list">
<div class="input-list search-title-box"> <div class="input-list search-title-box">

Loading…
Cancel
Save