|
|
@@ -61,6 +61,21 @@
|
|
|
<template slot="billNo" slot-scope="{ row }">
|
|
|
<span class="pointerClick" @click="editfun(row)">{{ row.billNo }} </span>
|
|
|
</template>
|
|
|
+ <template slot="amountSub" slot-scope="{ row }">
|
|
|
+ <span v-if="tabsValue == '对账收费'">{{ row.amountDr }} </span>
|
|
|
+ <span v-if="tabsValue == '对账付费'">{{ row.amountCr }} </span>
|
|
|
+ <span v-if="tabsValue == '付费申请'">{{ row.amountSub }} </span>
|
|
|
+ <span v-if="tabsValue == '发票申请'">{{ row.amountSub }} </span>
|
|
|
+ </template>
|
|
|
+ <template slot="amountSubUsd" slot-scope="{ row }">
|
|
|
+ <span v-if="tabsValue == '对账收费'">{{ row.amountDrUsd }} </span>
|
|
|
+ <span v-if="tabsValue == '对账付费'">{{ row.amountCrUsd }} </span>
|
|
|
+ <span v-if="tabsValue == '付费申请'">{{ row.amountSubUsd }} </span>
|
|
|
+ <span v-if="tabsValue == '发票申请'">{{ row.amountSubUsd }} </span>
|
|
|
+ </template>
|
|
|
+ <template slot="cashierStatusSearch">
|
|
|
+ <el-checkbox v-model="query.cashierStatus" :true-label="2" :false-label="1"></el-checkbox>
|
|
|
+ </template>
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
|
<cashier-item ref="cashier"></cashier-item>
|
|
|
@@ -350,6 +365,13 @@ export default {
|
|
|
label: "事由",
|
|
|
prop: "remarks",
|
|
|
overHidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "已完成",
|
|
|
+ prop: "cashierStatus",
|
|
|
+ search: true,
|
|
|
+ hide:true,
|
|
|
+ overHidden: true
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -485,6 +507,7 @@ export default {
|
|
|
this.amountSubUsdSum = 0;
|
|
|
// this.query = {};
|
|
|
this.page.currentPage = 1;
|
|
|
+ this.query.cashierStatus=1;
|
|
|
this.selectionList = [];
|
|
|
this.$set(this.query, "billNo", "");
|
|
|
this.$set(this.query, "corpCnName", "");
|
|
|
@@ -613,6 +636,7 @@ export default {
|
|
|
},
|
|
|
// 列表获取数据
|
|
|
async onLoad(page, params = {}) {
|
|
|
+ console.log(this.query.cashierStatus)
|
|
|
this.loading = true;
|
|
|
let res = {};
|
|
|
if (this.tabsValue == "对账收费") {
|
|
|
@@ -621,7 +645,7 @@ export default {
|
|
|
...Object.assign(params, this.query),
|
|
|
businessType: "CHK",
|
|
|
dc: "D",
|
|
|
- cashierStatus: 1
|
|
|
+ cashierStatus:this.query.cashierStatus?this.query.cashierStatus:1
|
|
|
});
|
|
|
} else if (this.tabsValue == "对账付费") {
|
|
|
// 调用 付费申请数据
|
|
|
@@ -629,14 +653,14 @@ export default {
|
|
|
...Object.assign(params, this.query),
|
|
|
businessType: "CHK",
|
|
|
dc: "C",
|
|
|
- cashierStatus: 1
|
|
|
+ cashierStatus:this.query.cashierStatus?this.query.cashierStatus:1
|
|
|
});
|
|
|
} else if (this.tabsValue == "付费申请") {
|
|
|
// 调用 销项发票业务数据
|
|
|
res = await finstlbillsList(page.currentPage, page.pageSize, {
|
|
|
...Object.assign(params, this.query),
|
|
|
businessType: "FFSQ",
|
|
|
- cashierStatus: 1
|
|
|
+ cashierStatus: this.query.cashierStatus?this.query.cashierStatus:1
|
|
|
});
|
|
|
} else if (this.tabsValue == "发票申请") {
|
|
|
// 应收应付 业务数据
|
|
|
@@ -645,7 +669,7 @@ export default {
|
|
|
type: "申请",
|
|
|
billNoFormat: "FPSQ",
|
|
|
businessTypeCode: "FPSQ",
|
|
|
- cashierStatus: 1
|
|
|
+ cashierStatus: this.query.cashierStatus?this.query.cashierStatus:1
|
|
|
});
|
|
|
}
|
|
|
const data = res.data.data;
|