|
@@ -41,14 +41,14 @@
|
|
|
@click="resetStudentList">重置</el-button>
|
|
|
<el-button plain
|
|
|
@click="exportis">导出</el-button>
|
|
|
-
|
|
|
- <span style="padding-left: 12px;">
|
|
|
- 总金额:
|
|
|
- 课程:
|
|
|
- 商品:
|
|
|
- 教辅:
|
|
|
- 手续费:
|
|
|
- </span>
|
|
|
+ <br />
|
|
|
+ <p>
|
|
|
+ <span style="padding-right: 12px;">总金额:{{ amountAll.amount }}元</span>
|
|
|
+ <span style="padding-right: 12px;">课程:{{ amountAll.tuiFeeAmount }}元</span>
|
|
|
+ <span style="padding-right: 12px;">商品:{{ amountAll.goodsFeeAmount }}元</span>
|
|
|
+ <span style="padding-right: 12px;">教辅:{{ amountAll.sdFeeAmount }}元</span>
|
|
|
+ <span style="padding-right: 12px;">手续费:{{ amountAll.commissionAmount }}元</span>
|
|
|
+ </p>
|
|
|
</el-form>
|
|
|
<div class="tableWrap">
|
|
|
<!-- height="calc(100vh - 174px)"
|
|
@@ -162,7 +162,8 @@ export default {
|
|
|
},//cascader 数据格式化
|
|
|
branchId: '',
|
|
|
classId: '',
|
|
|
- account: this.$route.query.account // 财务唯一标识
|
|
|
+ account: this.$route.query.account, // 财务唯一标识
|
|
|
+ amountAll: {}, // 金额集合
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -228,8 +229,16 @@ export default {
|
|
|
type: params.money,
|
|
|
startTime: startTime,
|
|
|
endTime: endTime})).then(res => {
|
|
|
- this.tableList = res.data.rows;
|
|
|
- this.total = res.data.total;
|
|
|
+ let data = res.data
|
|
|
+ this.tableList = data.rows;
|
|
|
+ this.total = data.total;
|
|
|
+ this.amountAll = {
|
|
|
+ amount: data.amount,
|
|
|
+ tuiFeeAmount: data.tuiFeeAmount,
|
|
|
+ goodsFeeAmount: data.goodsFeeAmount,
|
|
|
+ sdFeeAmount: data.sdFeeAmount,
|
|
|
+ commissionAmount: data.commissionAmount
|
|
|
+ }
|
|
|
// 回调函数
|
|
|
if(callBack && typeof callBack == 'function') {
|
|
|
callBack()
|