|
@@ -20,13 +20,13 @@
|
|
|
<!-- ------------- 检索参数 ------------- -->
|
|
|
<div class="c-title">检索参数</div>
|
|
|
<el-form ref="form" :model='p' @submit.native.prevent>
|
|
|
- <div class="c-item">
|
|
|
- <label class="c-label">类型:</label>
|
|
|
- <el-select v-model="p.type" placeholder="请选择" filterable>
|
|
|
- <el-option label="停车费" value="4"></el-option>
|
|
|
- <el-option label="业务费" value="1,2,3,5,6,7"></el-option>
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
+<!-- <div class="c-item">-->
|
|
|
+<!-- <label class="c-label">类型:</label>-->
|
|
|
+<!-- <el-select v-model="p.type" placeholder="请选择" filterable>-->
|
|
|
+<!-- <el-option label="停车费" value="4"></el-option>-->
|
|
|
+<!-- <el-option label="业务费" value="1,2,3,5,6,7"></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </div>-->
|
|
|
<div class="c-item">
|
|
|
<label class="c-label">收费项目:</label>
|
|
|
<el-select v-model="p.feeType" placeholder="请选择" filterable>
|
|
@@ -192,6 +192,18 @@
|
|
|
this.tableSum.noTaxMoneySum = Number(noTaxMoneySum).toFixed(2);
|
|
|
|
|
|
},
|
|
|
+ getTotalMoney(){
|
|
|
+ if ( this.selectDay != null && this.selectDay.length != 0) {
|
|
|
+ this.selectDayRange.beginDay = this.selectDay[0];
|
|
|
+ this.selectDayRange.endDay = this.selectDay[1];
|
|
|
+ }
|
|
|
+ sa.ajax('/TbFeeStatistics/getSum?beginDay='+this.selectDayRange.beginDay+"&endDay="+this.selectDayRange.endDay,
|
|
|
+ sa.removeNull(this.p), function(res) {
|
|
|
+ this.tableSum.taxMoneySum = res.data.taxMoneySum;
|
|
|
+ this.tableSum.taxesSum = res.data.taxesSum;
|
|
|
+ this.tableSum.noTaxMoneySum = res.data.noTaxMoneySum;
|
|
|
+ }.bind(this));
|
|
|
+ },
|
|
|
print: function() {
|
|
|
if ( this.selectDay != null && this.selectDay.length != 0) {
|
|
|
this.selectDayRange.beginDay = this.selectDay[0];
|
|
@@ -249,15 +261,14 @@
|
|
|
this.selectDayRange.beginDay = this.selectDay[0];
|
|
|
this.selectDayRange.endDay = this.selectDay[1];
|
|
|
}
|
|
|
- console.log(this.selectDayRange.beginDay);
|
|
|
- console.log(this.selectDayRange.endDay);
|
|
|
sa.ajax('/TbFeeStatistics/getList?beginDay='+this.selectDayRange.beginDay+"&endDay="+this.selectDayRange.endDay,
|
|
|
sa.removeNull(this.p), function(res) {
|
|
|
this.dataList = res.data; // 数据
|
|
|
this.dataCount = res.dataCount; // 数据总数
|
|
|
sa.f5TableHeight(); // 刷新表格高度
|
|
|
- this.calcuSum();
|
|
|
+
|
|
|
}.bind(this));
|
|
|
+ this.getTotalMoney();
|
|
|
},
|
|
|
// 查看
|
|
|
get: function(data) {
|