|
@@ -47,7 +47,7 @@
|
|
<el-table-column
|
|
<el-table-column
|
|
type="selection"
|
|
type="selection"
|
|
width="45"
|
|
width="45"
|
|
- fixed="left"
|
|
|
|
|
|
+ fixed="left"
|
|
align="center"
|
|
align="center"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -56,7 +56,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
width="270"
|
|
width="270"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
- <el-table-column
|
|
|
|
|
|
+ <el-table-column
|
|
prop="companyNo"
|
|
prop="companyNo"
|
|
label="认领企业编号"
|
|
label="认领企业编号"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
@@ -88,11 +88,7 @@
|
|
min-width="110"
|
|
min-width="110"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
|
|
|
- <el-table-column
|
|
|
|
- label="关联发票信息"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- align="center"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column label="关联发票信息" show-overflow-tooltip align="center">
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="inv_fee"
|
|
prop="inv_fee"
|
|
label="已核销金额"
|
|
label="已核销金额"
|
|
@@ -111,16 +107,9 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
min-width="110"
|
|
min-width="110"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
- <el-table-column
|
|
|
|
- label="核销状态"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- min-width="95"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column label="核销状态" show-overflow-tooltip min-width="95">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-tag
|
|
|
|
- type="danger"
|
|
|
|
- :size="'mini'"
|
|
|
|
- v-if="scope.row.inv_status === '1'"
|
|
|
|
|
|
+ <el-tag type="danger" :size="'mini'" v-if="scope.row.inv_status === '1'"
|
|
>未核销</el-tag
|
|
>未核销</el-tag
|
|
>
|
|
>
|
|
<el-tag
|
|
<el-tag
|
|
@@ -133,11 +122,7 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- label="关联确认单信息"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- align="center"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column label="关联确认单信息" show-overflow-tooltip align="center">
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="order_fee"
|
|
prop="order_fee"
|
|
label="已核销金额"
|
|
label="已核销金额"
|
|
@@ -156,11 +141,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
min-width="110"
|
|
min-width="110"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
- <el-table-column
|
|
|
|
- label="核销状态"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- min-width="95"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column label="核销状态" show-overflow-tooltip min-width="95">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-tag
|
|
<el-tag
|
|
type="danger"
|
|
type="danger"
|
|
@@ -189,10 +170,7 @@
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="18">
|
|
<el-col :span="18">
|
|
- <div
|
|
|
|
- class="Pagination"
|
|
|
|
- style="text-align: center; margin-top: 12px"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="Pagination" style="text-align: center; margin-top: 12px">
|
|
<el-pagination
|
|
<el-pagination
|
|
:current-page="parmValue.page"
|
|
:current-page="parmValue.page"
|
|
:page-size="parmValue.size"
|
|
:page-size="parmValue.size"
|
|
@@ -223,8 +201,10 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import asyncRequest from "@/apis/caixiaoService/InvoiceSales/capitalPool";
|
|
import asyncRequest from "@/apis/caixiaoService/InvoiceSales/capitalPool";
|
|
|
|
+import asyncAoldRequest from "@/apis/aoldService/InvoiceSales/capitalPool";
|
|
import mixinPage from "@/mixins/elPaginationHandle";
|
|
import mixinPage from "@/mixins/elPaginationHandle";
|
|
import resToken from "@/mixins/resToken";
|
|
import resToken from "@/mixins/resToken";
|
|
|
|
+import { mapGetters } from "vuex";
|
|
export default {
|
|
export default {
|
|
props: [
|
|
props: [
|
|
"id",
|
|
"id",
|
|
@@ -236,6 +216,9 @@ export default {
|
|
"onces",
|
|
"onces",
|
|
"status",
|
|
"status",
|
|
],
|
|
],
|
|
|
|
+ computed: {
|
|
|
|
+ ...mapGetters(["business_companyNo"]),
|
|
|
|
+ },
|
|
mixins: [mixinPage, resToken],
|
|
mixins: [mixinPage, resToken],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -295,11 +278,18 @@ export default {
|
|
this.parmValue.order_status = this.order_status;
|
|
this.parmValue.order_status = this.order_status;
|
|
this.parmValue.inv_status = this.inv_status;
|
|
this.parmValue.inv_status = this.inv_status;
|
|
this.parmValue.status = this.status ? this.status : "";
|
|
this.parmValue.status = this.status ? this.status : "";
|
|
- const res = await asyncRequest.list(this.parmValue);
|
|
|
|
- if (res && res.code === 0 && res.data && res.data.list) {
|
|
|
|
- this.tableData = res.data.list;
|
|
|
|
- this.count = res.data.count;
|
|
|
|
- } else if (res && res.code >= 100 && res.code <= 104) {
|
|
|
|
|
|
+ let res = {};
|
|
|
|
+ if (this.business_companyNo === "1") {
|
|
|
|
+ res = await asyncRequest.list(this.parmValue);
|
|
|
|
+ } else {
|
|
|
|
+ res = await asyncAoldRequest.list(this.parmValue);
|
|
|
|
+ }
|
|
|
|
+ const { code, data, message } = res;
|
|
|
|
+ if (code === 0) {
|
|
|
|
+ const { list, count } = data;
|
|
|
|
+ this.tableData = list;
|
|
|
|
+ this.count = count;
|
|
|
|
+ } else if (code >= 100 && code <= 104) {
|
|
await this.logout();
|
|
await this.logout();
|
|
} else {
|
|
} else {
|
|
this.tableData = [];
|
|
this.tableData = [];
|