|
|
@@ -77,7 +77,6 @@
|
|
|
style="min-height:400px;"
|
|
|
height="500"
|
|
|
v-loading="loading"
|
|
|
- stripe
|
|
|
border
|
|
|
@cell-click="handleCellClick"
|
|
|
:row-class-name="tableRowClassName"
|
|
|
@@ -127,6 +126,7 @@
|
|
|
<el-table-column prop="curMonthReceived" label="本月到账资金" width="200">
|
|
|
<div class="item" slot-scope="scope">
|
|
|
<el-input-number
|
|
|
+ v-if="!scope.row.isSum"
|
|
|
style="width:180px"
|
|
|
size="mini"
|
|
|
class="item__input"
|
|
|
@@ -134,7 +134,7 @@
|
|
|
v-model="scope.row.curMonthReceived"
|
|
|
@blur="saveNum(scope.row)">
|
|
|
</el-input-number>
|
|
|
- <div class="item__txt">{{scope.row.curMonthReceived}}</div>
|
|
|
+ <div class="item__txt">{{scope.row.curMonthReceived}}</div>
|
|
|
</div>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="actualTotalRevenue" label="实际总收入" width="200">
|
|
|
@@ -146,7 +146,7 @@
|
|
|
:precision="2" :step="0.1"
|
|
|
v-model="scope.row.actualTotalRevenue"
|
|
|
@blur="save(scope.row)"></el-input-number>
|
|
|
- <div class="item__txt">{{scope.row.actualTotalRevenue}}</div>
|
|
|
+ <div class="item__txt" v-if="!scope.row.isSum">{{scope.row.actualTotalRevenue}}</div>
|
|
|
</div>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="accumulatedArrears" label="累计欠费" width="200">
|
|
|
@@ -158,7 +158,7 @@
|
|
|
:precision="2" :step="0.1"
|
|
|
v-model="scope.row.accumulatedArrears"
|
|
|
@blur="save(scope.row)"></el-input-number>
|
|
|
- <div class="item__txt">{{scope.row.accumulatedArrears}}</div>
|
|
|
+ <div class="item__txt" v-if="!scope.row.isSum">{{scope.row.accumulatedArrears}}</div>
|
|
|
</div>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="incomeTimeRange" label="收入时间区间" width="200">
|
|
|
@@ -776,7 +776,9 @@
|
|
|
if (row.isSum) {
|
|
|
return 'success-row';
|
|
|
}
|
|
|
- return '';
|
|
|
+ else{
|
|
|
+ return '';
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
},
|
|
|
@@ -788,15 +790,6 @@
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
-<style>
|
|
|
- .el-table .warning-row {
|
|
|
- background: oldlace;
|
|
|
- }
|
|
|
-
|
|
|
- .el-table .success-row {
|
|
|
- background: #f0f9eb;
|
|
|
- }
|
|
|
-</style>
|
|
|
<style lang="scss" scoped>
|
|
|
.el-breadcrumb {
|
|
|
margin: 10px;
|
|
|
@@ -848,3 +841,8 @@
|
|
|
cursor: pointer; /* 将鼠标光标设置为手形 */
|
|
|
}
|
|
|
</style>
|
|
|
+ <style>
|
|
|
+ .el-table .success-row {
|
|
|
+ background: #f0f9eb;
|
|
|
+ }
|
|
|
+</style>
|