|
|
@@ -141,6 +141,15 @@
|
|
|
驳回
|
|
|
</el-button>
|
|
|
</template>
|
|
|
+ <el-button
|
|
|
+ v-else
|
|
|
+ type="text"
|
|
|
+ size="small"
|
|
|
+ class="primary-btn"
|
|
|
+ @click.native.prevent="handleRevoke(scope.row, scope.$index)"
|
|
|
+ >
|
|
|
+ 撤回审核
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -550,6 +559,7 @@ export default {
|
|
|
// });
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
// 审核通过
|
|
|
handleRefund() {
|
|
|
if (this.fileList.length === 0) {
|
|
|
@@ -580,6 +590,28 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ // 撤回审核
|
|
|
+ handleRevoke(row) {
|
|
|
+ this.$confirm("确定撤回该条审核操作吗?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }).then(({}) => {
|
|
|
+ let Mnames =
|
|
|
+ "/ShopServer/Manager/FinanceManager/RevokeAuditInvoiceApply";
|
|
|
+ let datas = {
|
|
|
+ id: row.id,
|
|
|
+ };
|
|
|
+ getLogin(Mnames, datas)
|
|
|
+ .then((res) => {
|
|
|
+ if (res.status === 1) {
|
|
|
+ this.$message.success("操作成功");
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ });
|
|
|
+ },
|
|
|
handleSizeChange(val) {
|
|
|
this.pageSize = val;
|
|
|
this.pageNumber = 1;
|