|
|
@@ -43,7 +43,9 @@
|
|
|
>
|
|
|
<template slot="menuLeft">
|
|
|
<el-button
|
|
|
- v-if="tabsValue == 'CHK-D' || tabsValue == 'CHK-C' || tabsValue == 'FFSQ' || tabsValue == 'XXFP' || tabsValue == 'DCDD'|| tabsValue == 'GZXZ'"
|
|
|
+ v-if="
|
|
|
+ tabsValue == 'CHK-D' || tabsValue == 'CHK-C' || tabsValue == 'FFSQ' || tabsValue == 'XXFP' || tabsValue == 'DCDD' || tabsValue == 'GZXZ'
|
|
|
+ "
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
plain
|
|
|
@@ -86,7 +88,9 @@
|
|
|
>驳回
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="tabsValue == 'CHK-D' || tabsValue == 'CHK-C' || tabsValue == 'FFSQ'|| tabsValue == 'XXFP' || tabsValue == 'DCDD'|| tabsValue == 'GZXZ'"
|
|
|
+ v-if="
|
|
|
+ tabsValue == 'CHK-D' || tabsValue == 'CHK-C' || tabsValue == 'FFSQ' || tabsValue == 'XXFP' || tabsValue == 'DCDD' || tabsValue == 'GZXZ'
|
|
|
+ "
|
|
|
type="text"
|
|
|
size="small"
|
|
|
:disabled="
|
|
|
@@ -481,7 +485,11 @@ export default {
|
|
|
});
|
|
|
this.isShow = false;
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.settlementDetailsRef.generateFinStlBillsfun(arrId.join(","), this.tabsValue == "CHK-D"||this.tabsValue == "XXFP"||this.tabsValue == "GZXZ" ? "D" : "C", this.tabsValue);
|
|
|
+ this.$refs.settlementDetailsRef.generateFinStlBillsfun(
|
|
|
+ arrId.join(","),
|
|
|
+ this.tabsValue == "CHK-D" || this.tabsValue == "XXFP" || this.tabsValue == "GZXZ" ? "D" : "C",
|
|
|
+ this.tabsValue
|
|
|
+ );
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
@@ -506,7 +514,11 @@ export default {
|
|
|
this.isShow = false;
|
|
|
// this.editSave = true
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.settlementDetailsRef.generateFinStlBillsfun(row.id, this.tabsValue == "CHK-D"||this.tabsValue == "XXFP"||this.tabsValue == "GZXZ" ? "D" : "C", this.tabsValue);
|
|
|
+ this.$refs.settlementDetailsRef.generateFinStlBillsfun(
|
|
|
+ row.id,
|
|
|
+ this.tabsValue == "CHK-D" || this.tabsValue == "XXFP" || this.tabsValue == "GZXZ" ? "D" : "C",
|
|
|
+ this.tabsValue
|
|
|
+ );
|
|
|
});
|
|
|
},
|
|
|
// 添加
|
|
|
@@ -523,13 +535,7 @@ export default {
|
|
|
// 编辑
|
|
|
editfun(row) {
|
|
|
if (this.tabsValue == "FFSQ") {
|
|
|
- if (this.$store.getters.payAppStatus) {
|
|
|
- this.$alert("付费申请页面已存在,请关闭付费申请再进行操作", "温馨提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- type: "warning",
|
|
|
- callback: action => {}
|
|
|
- });
|
|
|
- } else {
|
|
|
+ if (this.verifyTags("付费申请(F)")) {
|
|
|
this.$router.push({
|
|
|
path: `/iosBasicData/PaymentApplication/index`,
|
|
|
query: {
|
|
|
@@ -538,34 +544,42 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
} else if (this.tabsValue == "CHK-D" || this.tabsValue == "CHK-C") {
|
|
|
- this.$router.push({
|
|
|
- path: `/iosBasicData/finstlbills/index`,
|
|
|
- query: {
|
|
|
- id: row.id
|
|
|
- }
|
|
|
- });
|
|
|
+ if (this.verifyTags("对账中心(F)")) {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/iosBasicData/finstlbills/index`,
|
|
|
+ query: {
|
|
|
+ id: row.id
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
} else if (this.tabsValue == "DCDD") {
|
|
|
- this.$router.push({
|
|
|
- path: `/iosBasicData/dcOffset/index`,
|
|
|
- query: {
|
|
|
- id: row.id
|
|
|
- }
|
|
|
- });
|
|
|
- }else if (this.tabsValue == "XXFP") {
|
|
|
- this.$router.push({
|
|
|
- path: `/iosBasicData/fininvoicesOutput/index`,
|
|
|
- query: {
|
|
|
- id: row.id
|
|
|
- }
|
|
|
- });
|
|
|
+ if (this.verifyTags("收付相抵")) {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/iosBasicData/dcOffset/index`,
|
|
|
+ query: {
|
|
|
+ id: row.id
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ } else if (this.tabsValue == "XXFP") {
|
|
|
+ if (this.verifyTags("销项发票")) {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/iosBasicData/fininvoicesOutput/index`,
|
|
|
+ query: {
|
|
|
+ id: row.id
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
} else if (this.tabsValue == "GZXZ") {
|
|
|
- this.$router.push({
|
|
|
- path: `/iosBasicData/writeOff/index`,
|
|
|
- query: {
|
|
|
- id: row.id
|
|
|
- }
|
|
|
- });
|
|
|
- }else {
|
|
|
+ if (this.verifyTags("挂账销账")) {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/iosBasicData/writeOff/index`,
|
|
|
+ query: {
|
|
|
+ id: row.id
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ } else {
|
|
|
this.pageIds = [];
|
|
|
this.data.forEach(item => {
|
|
|
this.pageIds.push(item.id);
|
|
|
@@ -819,7 +833,7 @@ export default {
|
|
|
// 调用 销项发票业务数据
|
|
|
res = await finstlbillsList(page.currentPage, page.pageSize, {
|
|
|
...Object.assign(params, this.query),
|
|
|
- businessType: "GZXZ",
|
|
|
+ businessType: "GZXZ",
|
|
|
status: 3,
|
|
|
billStatus: 0
|
|
|
});
|