setter
parent
13682f80c8
commit
cefc1357ef
|
@ -42,6 +42,9 @@ layui.use(['laytpl', 'table', 'jquery', 'form', 'miniTab', 'xmSelect',"laydate"]
|
|||
parseData: function (res) {
|
||||
//console.log(res)
|
||||
$("#deduction_money_sum").text(res.data.deduction_money_sum?res.data.deduction_money_sum:0)
|
||||
$("#deduction_money_sum_red_pack").text(res.data.deduction_money_sum_red_pack?res.data.deduction_money_sum_red_pack:0)
|
||||
$("#deduction_money_sum_agency").text(res.data.deduction_money_sum_agency?res.data.deduction_money_sum_agency:0)
|
||||
$("#deduction_money_sum_taigu").text(res.data.deduction_money_sum_taigu?res.data.deduction_money_sum_taigu:0)
|
||||
|
||||
return {
|
||||
"code": res.code, //解析接口状态
|
||||
|
|
|
@ -65,19 +65,19 @@
|
|||
<div class="layui-row" style="padding: 5% 0;text-align: center">
|
||||
<div class="layui-col-md3" style="padding: 5% 0;text-align: center">
|
||||
<h3><strong>当前扣款流水:</strong></h3>
|
||||
<span class="l_font" >{$deduction_money_sum ?? 0}</span>
|
||||
<span class="l_font" id="deduction_money_sum" >0</span>
|
||||
</div>
|
||||
<div class="layui-col-md3" style="padding: 5% 0;text-align: center">
|
||||
<h3><strong>当前消费者红包:</strong></h3>
|
||||
<span class="l_font" >{$deduction_money_sum ?? 0}</span>
|
||||
<span class="l_font" id="deduction_money_sum_red_pack" >0</span>
|
||||
</div>
|
||||
<div class="layui-col-md3" style="padding: 5% 0;text-align: center">
|
||||
<h3><strong>当前平台佣金:</strong></h3>
|
||||
<span class="l_font" >{$deduction_money_sum ?? 0}</span>
|
||||
<span class="l_font" id="deduction_money_sum_agency">0</span>
|
||||
</div>
|
||||
<div class="layui-col-md3" style="padding: 5% 0;text-align: center">
|
||||
<h3><strong>当前太古佣金:</strong></h3>
|
||||
<span class="l_font" >{$deduction_money_sum ?? 0}</span>
|
||||
<span class="l_font" id="deduction_money_sum_taigu" >0</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue