|
@@ -121,13 +121,8 @@
|
|
|
scope.row.examineStatus == 'FAIL') &&
|
|
|
$checkBtnRole('examine', $route.meta.roles)
|
|
|
" type="text" class="textColor" @click="approvalFn(scope.row.id)">审批</el-button>
|
|
|
- <!-- <el-button
|
|
|
- type="text"
|
|
|
- class="textColor"
|
|
|
- v-show="scope.row.examineStatus == 'OK'"
|
|
|
- @click="unApprovalFn(scope.row.id)"
|
|
|
- >弃审</el-button
|
|
|
- > -->
|
|
|
+ <el-button type="text" class="textColor" v-show="scope.row.examineStatus == 'SAVE'" @click="bringFn(scope.row.id)">提审</el-button>
|
|
|
+ <el-button type="text" class="textColor" v-show="scope.row.examineStatus == 'OK' || scope.row.examineStatus == 'FAIL'" @click="unApprovalFn(scope.row.id)">弃审</el-button>
|
|
|
<el-button type="text" class="textColor" @click="detailFn(scope.row.id)">详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -151,6 +146,7 @@ import { getCustomerList } from "@/api/finance/wallet";
|
|
|
import {
|
|
|
getFinanceOtherReceList,
|
|
|
getFinanceOtherReceDelete,
|
|
|
+ getFinanceOtherReceApply,
|
|
|
getFinanceOtherReceAbandon,
|
|
|
} from "@/api/finance/receivable_list";
|
|
|
import ReceivableListAdd from "./components/receivable_list-add";
|
|
@@ -208,16 +204,26 @@ export default {
|
|
|
});
|
|
|
this.customerList = res.data.records;
|
|
|
},
|
|
|
- // //弃审
|
|
|
- // async unApprovalFn(id) {
|
|
|
- // await getFinanceOtherReceAbandon({ id });
|
|
|
- // this.$message.success("弃审成功");
|
|
|
- // this.getDataList({
|
|
|
- // pageNum: 1,
|
|
|
- // pageSize: this.pageSize,
|
|
|
- // examineStatus: this.examine,
|
|
|
- // });
|
|
|
- // },
|
|
|
+ //提审
|
|
|
+ async bringFn(id) {
|
|
|
+ await getFinanceOtherReceApply({ id });
|
|
|
+ this.$message.success("提审成功");
|
|
|
+ this.getDataList({
|
|
|
+ pageNum: this.currentPage,
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ examineStatus: this.examine,
|
|
|
+ });
|
|
|
+ },
|
|
|
+ //弃审
|
|
|
+ async unApprovalFn(id) {
|
|
|
+ await getFinanceOtherReceAbandon({ id });
|
|
|
+ this.$message.success("弃审成功");
|
|
|
+ this.getDataList({
|
|
|
+ pageNum: this.currentPage,
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ examineStatus: this.examine,
|
|
|
+ });
|
|
|
+ },
|
|
|
//radio切换'
|
|
|
changeRadioGroupFn(v) {
|
|
|
this.getDataList({
|