|
|
@@ -41,7 +41,7 @@
|
|
|
|
|
|
<script>
|
|
|
// import {getList, remove} from "@/api/oceanShipping/maritimeExport/index.js";
|
|
|
-import { getList, remove,getSettlementSum } from "@/api/collectionSettlement/index.js";
|
|
|
+import { getList, remove,getSettlementSum, getPendingPaymentSum } from "@/api/collectionSettlement/index.js";
|
|
|
import detailsPage from "./detailsPage"
|
|
|
import { getToken } from "@/util/auth";
|
|
|
export default {
|
|
|
@@ -244,6 +244,7 @@ export default {
|
|
|
// this.findObject(this.optionList.column,'corpId').click = ()=>{
|
|
|
// console.log('点击了');
|
|
|
// }
|
|
|
+ this.getAmountSum()
|
|
|
},
|
|
|
// 解决AVue表格错位问题
|
|
|
activated() {
|
|
|
@@ -269,6 +270,12 @@ export default {
|
|
|
)
|
|
|
},
|
|
|
methods: {
|
|
|
+ getAmountSum(){
|
|
|
+ getPendingPaymentSum().then(res => {
|
|
|
+ this.advanceReceipt = res.data.data
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
//导出
|
|
|
outExport() {
|
|
|
let config = {
|
|
|
@@ -357,9 +364,9 @@ export default {
|
|
|
getList(params).then(res => {
|
|
|
this.dataList = res.data.data.records
|
|
|
this.page.total = res.data.data.total
|
|
|
- getSettlementSum(params).then(sumRes => {
|
|
|
+/* getSettlementSum(params).then(sumRes => {
|
|
|
this.advanceReceipt = sumRes.data.data
|
|
|
- })
|
|
|
+ })*/
|
|
|
}).finally(() => {
|
|
|
this.loading = false
|
|
|
})
|