From f894e1b53bcc948cb1fc9aecd2c01a77d7a1db03 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 11 八月 2023 18:34:46 +0800
Subject: [PATCH] yxh
---
src/views/project/fund/applyDetail/index.vue | 82 +++++++++++++++++++++++++++++++++++-----
1 files changed, 71 insertions(+), 11 deletions(-)
diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index bb5fe50..f640a34 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -71,7 +71,7 @@
</el-form-item>
</el-col>
<el-col :span="5">
- <el-form-item label="搴旂即绋�" prop="taxcost">
+ <el-form-item label="搴旂即绋�" prop="taxcost" v-if="businessType == '1' || businessType == '2'">
<el-input v-model="form.taxcost" placeholder="搴旂即绋庨噾棰濆悎璁�" :disabled="true" />
</el-form-item>
</el-col>
@@ -86,15 +86,15 @@
<el-input :disabled="true" v-model="form.name" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" />
</el-form-item>
</el-col>
+ <!--
<el-col :span="5">
<el-form-item label="鐢宠鐘舵��" prop="recordstatus">
- <!-- <el-input v-model="form.recordstatus" placeholder="瀹℃牳鎰忚"/> -->
<el-select v-model="form.recordstatus" placeholder="璇烽�夋嫨瀹℃牳鐘舵��" clearable size="small" :disabled="true">
<el-option v-for="dict in dict.type.sys_recordstatus" :key="dict.value" :label="dict.label"
:value="dict.value" />
</el-select>
</el-form-item>
- </el-col>
+ </el-col>-->
</el-row>
<el-row style="margin-top: 5px; margin-bottom: 5px" />
<el-row style="margin-bottom: 10px" v-if="businessType == '1'">
@@ -156,8 +156,8 @@
" />
</template>
</el-table-column>
- <el-table-column v-if="businessType == 3 || businessType == 4 || ismanager == true" prop="amount" align="center"
- label="绋庡墠閲戦" width="120">
+ <el-table-column v-if="businessType == 3 || businessType == 4 || ismanager == true" prop="amount"
+ align="center" label="绋庡墠閲戦" width="120">
<template slot-scope="scope">
<!--
<el-select v-model="scope.row.amount" placeholder="绋庡墠閲戦" clearable filterable allow-create
@@ -505,6 +505,7 @@
getdownloadSH,
getdownloadSS,
getdownloadYX,
+ checkfund,
getdownloadBX,
addorupdateFund,
getdetailsByItemId
@@ -706,6 +707,12 @@
usertype: null,
wbm: null
},
+ //瀹℃壒鍙傛暟
+ checkObj: {
+ flowlevelone: null,
+ flowconclusion: null,
+ fundid: null,
+ },
// 鏌ヨ鍙傛暟
queryParams: {
@@ -851,6 +858,7 @@
this.curId = this.$route.query.id;
this.businessType = this.$route.query.businessType;
this.operationType = this.$route.query.operationType;
+ console.log(this.businessType, this.operationType);
//鑾峰彇璐圭敤椤圭洰绫诲瀷
this.getFundType();
@@ -863,7 +871,7 @@
this.curCase = this.$route.query.curCase;
this.businessName = "浼︾悊涓撳鍔冲姟璐圭敵璇峰崟";
} else if (this.businessType == "3") {
- this.curCase = this.$route.query.curCase;
+ if (this.operationType != "check") { this.curCase = this.$route.query.curCase; }
this.businessName = "鍖诲鎴愭湰鎶ラ攢鍗�";
} else if (this.businessType == "4") {
this.businessName = "鏉傞」璐圭敤鎶ラ攢鍗�";
@@ -961,6 +969,44 @@
});
});
},
+ /** 淇敼鎸夐挳鎿嶄綔 */
+ handleCheck() {
+ this.isopen = 0;
+ this.reset();
+
+ getFund(this.curId).then(response => {
+ this.form = response.data;
+ //闄勪欢澶勭悊
+ // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : []
+
+ //涓氬姟鏄庣粏
+ getownFundDetail(this.curId).then(res => {
+ console.log(res);
+ this.rbDetails = res.data;
+ for (let m = 0; m < this.rbDetails.length; m++) {
+ this.rbDetails[m].itemlist = [];
+ this.getitemlist(m, this.rbDetails[m]);
+ this.rbDetails[m].rowfeeblocks = [];
+ this.rbDetails[m].rowfeeblocks.push({
+ expense: this.rbDetails[m].expense,
+ expensedescribe: this.rbDetails[m].servicesscopename,
+ remark: this.rbDetails[m].servicesscope,
+ servicesscope: this.rbDetails[m].servicesscope
+ });
+ }
+ });
+
+ //涓氬姟娴佺▼
+ let listFundflowparams = {
+ fundid: this.curId,
+ fundtype: 2
+ };
+ listFundflow(listFundflowparams).then(res => {
+ this.fundflowList = res.rows;
+ });
+ });
+
+ },
/** 鏌ョ湅鎸夐挳鎿嶄綔 */
handleDetail() {
@@ -969,10 +1015,6 @@
getFund(this.curId).then(response => {
this.form = response.data;
- let listFundflowparams = {
- fundid: this.curId,
- fundtype: this.businessType
- };
//闄勪欢澶勭悊
// this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : []
@@ -997,7 +1039,11 @@
}
});
- //涓氬姟娴佺▼
+ //涓氬姟娴佺▼
+ let listFundflowparams = {
+ fundid: this.curId,
+ fundtype: 2
+ };
listFundflow(listFundflowparams).then(res => {
this.fundflowList = res.rows;
});
@@ -1250,6 +1296,20 @@
});
},
+ //瀹℃壒鎻愪氦
+ checksubmit() {
+ let checkFundObj = {
+ // fundid: this.checkObj.fundid,
+ fundid: this.curId,
+ flowconclusion: this.checkObj.flowlevelone,
+ flowcontent: this.checkObj.flowconclusion,
+ };
+ checkfund(checkFundObj).then((res) => {
+ this.reset();
+ this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
+ });
+ },
+
// 鍙栨秷鎸夐挳
cancel() {
// this.reset();
--
Gitblit v1.9.3