From cefc1357ef9a07257b31159526d85bd305f82abe Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Mon, 17 Jan 2022 10:52:12 +0800 Subject: [PATCH] setter --- public/static/manager/js/bill_deduction.js | 3 +++ view/manager/bill/deduction.html | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/public/static/manager/js/bill_deduction.js b/public/static/manager/js/bill_deduction.js index cec2926..2bca8b1 100644 --- a/public/static/manager/js/bill_deduction.js +++ b/public/static/manager/js/bill_deduction.js @@ -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, //解析接口状态 diff --git a/view/manager/bill/deduction.html b/view/manager/bill/deduction.html index b0af8f8..4e4901a 100644 --- a/view/manager/bill/deduction.html +++ b/view/manager/bill/deduction.html @@ -65,19 +65,19 @@