|
@@ -90,7 +90,8 @@
|
|
<el-table-column label="操作">
|
|
<el-table-column label="操作">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<el-button size="mini" type="info" @click="handleEdit(row)">详情</el-button>
|
|
<el-button size="mini" type="info" @click="handleEdit(row)">详情</el-button>
|
|
- <el-button size="mini" type="primary" @click="handleFPRZD(row)">发票入账单</el-button>
|
|
|
|
|
|
+ <!-- <el-button size="mini" type="primary" @click="handleFPRZD(row)">发票入账单</el-button> -->
|
|
|
|
+ <el-button size="mini" type="success" @click="handleBilling(row)">发票入账单</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -108,18 +109,18 @@
|
|
:title="modalTitle"
|
|
:title="modalTitle"
|
|
@close="onDetailModalClose"
|
|
@close="onDetailModalClose"
|
|
></auditing-detail>
|
|
></auditing-detail>
|
|
- <auditing-next
|
|
|
|
- v-if="showNext"
|
|
|
|
|
|
+ <auditing-billing
|
|
|
|
+ v-if="showBilling"
|
|
:businessKey="businessKey"
|
|
:businessKey="businessKey"
|
|
:title="modalTitle"
|
|
:title="modalTitle"
|
|
@close="onDetailModalClose"
|
|
@close="onDetailModalClose"
|
|
- ></auditing-next>
|
|
|
|
|
|
+ ></auditing-billing>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import Constant from "@/constant";
|
|
import Constant from "@/constant";
|
|
import AuditingDetail from "./auditing-detail";
|
|
import AuditingDetail from "./auditing-detail";
|
|
-import AuditingNext from "./auditing-next";
|
|
|
|
|
|
+import AuditingBilling from "./auditing-billing";
|
|
import auditingApi from "@/api/base/auditing";
|
|
import auditingApi from "@/api/base/auditing";
|
|
import workflowDetailApi from "@/api/base/workflowDetail";
|
|
import workflowDetailApi from "@/api/base/workflowDetail";
|
|
import dataDictionaryApi from "@/api/sys/dataDictionary";
|
|
import dataDictionaryApi from "@/api/sys/dataDictionary";
|
|
@@ -148,7 +149,7 @@ export default {
|
|
pageSizeList: [10, 20, 30],
|
|
pageSizeList: [10, 20, 30],
|
|
multipleSelection: [],
|
|
multipleSelection: [],
|
|
showModal: false,
|
|
showModal: false,
|
|
- showNext: false,
|
|
|
|
|
|
+ showBilling: false,
|
|
modalTitle: "",
|
|
modalTitle: "",
|
|
businessKey: "",
|
|
businessKey: "",
|
|
workflowResult: [],
|
|
workflowResult: [],
|
|
@@ -225,10 +226,10 @@ export default {
|
|
this.businessKey = record.id;
|
|
this.businessKey = record.id;
|
|
this.showModal = true;
|
|
this.showModal = true;
|
|
},
|
|
},
|
|
- handleNext(record) {
|
|
|
|
- this.modalTitle = "审核";
|
|
|
|
|
|
+ handleBilling(record) {
|
|
|
|
+ this.modalTitle = "发票入账单";
|
|
this.businessKey = record.id;
|
|
this.businessKey = record.id;
|
|
- this.showNext = true;
|
|
|
|
|
|
+ this.showBilling = true;
|
|
},
|
|
},
|
|
handleFPRZD(record) {
|
|
handleFPRZD(record) {
|
|
var self = this;
|
|
var self = this;
|
|
@@ -309,7 +310,7 @@ export default {
|
|
onDetailModalClose(refreshed) {
|
|
onDetailModalClose(refreshed) {
|
|
//保存成功后回调
|
|
//保存成功后回调
|
|
this.showModal = false;
|
|
this.showModal = false;
|
|
- this.showNext = false;
|
|
|
|
|
|
+ this.showBilling = false;
|
|
|
|
|
|
if (refreshed) {
|
|
if (refreshed) {
|
|
this.changePage(this.pageIndex);
|
|
this.changePage(this.pageIndex);
|
|
@@ -345,7 +346,7 @@ export default {
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
"auditing-detail": AuditingDetail,
|
|
"auditing-detail": AuditingDetail,
|
|
- "auditing-next": AuditingNext,
|
|
|
|
|
|
+ "auditing-billing": AuditingBilling,
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|