|
@@ -113,6 +113,8 @@
|
|
fit
|
|
fit
|
|
highlight-current-row
|
|
highlight-current-row
|
|
stripe
|
|
stripe
|
|
|
|
+ show-summary
|
|
|
|
+ :summary-method="$getSummaries"
|
|
@select-all="handleSelectionAllChange"
|
|
@select-all="handleSelectionAllChange"
|
|
@selection-change="handleSelectionAllChange"
|
|
@selection-change="handleSelectionAllChange"
|
|
>
|
|
>
|
|
@@ -181,7 +183,12 @@
|
|
prop="depositAmount"
|
|
prop="depositAmount"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- />
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.depositAmount | numToFixed }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="状态"
|
|
label="状态"
|
|
@@ -343,11 +350,17 @@ export default {
|
|
const params = {
|
|
const params = {
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- isRefundDeposit: this.deduction ==='已退押'?true:null,
|
|
|
|
|
|
+ isRefundDeposit: this.deduction === '已退押' ? true : null,
|
|
...this.screenForm
|
|
...this.screenForm
|
|
}
|
|
}
|
|
|
|
+
|
|
getList(params).then((res) => {
|
|
getList(params).then((res) => {
|
|
this.dataList = res.data.records
|
|
this.dataList = res.data.records
|
|
|
|
+ res.data.records.forEach((item) => {
|
|
|
|
+ // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
|
|
|
|
+ item.sums1 = ['qty']
|
|
|
|
+ item.sums2 = ['depositAmount', 'diffAmount', 'price']
|
|
|
|
+ })
|
|
this.listLoading = false
|
|
this.listLoading = false
|
|
this.listTotal = res.data.total
|
|
this.listTotal = res.data.total
|
|
})
|
|
})
|