From f571e59e5a104498632d5185896ab1662006dd55 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 22 八月 2023 09:54:19 +0800 Subject: [PATCH] yxh --- src/views/project/fund/applyDetail/index.vue | 51 +++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 37 insertions(+), 14 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 11fdf8e..12b70ee 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -14,7 +14,8 @@ </el-col> <el-col :span="5"> <el-form-item label="缁忓姙浜�" prop="username"> - <el-select v-model="form.username" placeholder="鐢宠浜�" clearable filterable allow-create style="width: 100%"> + <el-select v-model="form.username" placeholder="鐢宠浜�" clearable filterable allow-create style="width: 100%" + @change="getUserAccount"> <el-option v-for="dict in userlist" :key="dict.index" :label="dict.nickname" :value="dict.nickname"></el-option> </el-select> @@ -46,9 +47,13 @@ }}</el-radio> </el-form-item> </el-col> - <el-col :span="10"> - <el-form-item label="鐢宠璇存槑" prop="remark"> - <el-input v-model="form.remark" placeholder="鐢宠璇存槑" /> + <el-col :span="5"> + <el-form-item label="閾惰鍚嶇О" prop="bankname"> + <el-input v-model="form.bankname" placeholder="璇疯緭鍏ラ摱琛屽悕绉�" /> + </el-form-item> + </el-col><el-col :span="5"> + <el-form-item label="閾惰璐﹀彿" prop="bankcardno"> + <el-input v-model="form.bankcardno" placeholder="璇疯緭鍏ラ摱琛岃处鍙�" /> </el-form-item> </el-col> <el-col :span="5"> @@ -81,6 +86,11 @@ <el-input v-model="form.taxedcost" placeholder="绋庡悗閲戦鍚堣" :disabled="true" /> </el-form-item> </el-col>--> + <el-col :span="10"> + <el-form-item label="鐢宠璇存槑" prop="remark"> + <el-input v-model="form.remark" placeholder="鐢宠璇存槑" /> + </el-form-item> + </el-col> <el-col :span="5"> <el-form-item label="鎹愮尞鑰�" prop="name"> <el-input :disabled="true" v-model="form.name" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" /> @@ -259,7 +269,7 @@ </el-button> <el-button @click.native.prevent=" Filepopup(scope.$index, rbDetails, scope.row) - " type="text" size="small">绁ㄦ嵁</el-button> + " type="text" size="small" v-if="businessType == 3 || businessType == 4">绁ㄦ嵁</el-button> </template> </el-table-column> </el-table> @@ -320,11 +330,13 @@ </el-row> <el-row v-if="operationType == 'detail' || operationType == 'check'"> <el-table :data="fundflowList" border> - <el-table-column label="瀹℃牳浜�" align="center" width="120" prop="checkusername" /> <el-table-column label="瀹℃牳鏃ユ湡" align="center" width="160" prop="createTime" /> - <el-table-column label="瀹℃牳缁撴灉" align="center" width="200" prop="flowconclusion"><template - slot-scope="scope"><span v-if="scope.row.flowconclusion == 1">閫氳繃</span><span - v-if="scope.row.flowconclusion == 2">涓嶉�氳繃</span></template> + <el-table-column label="瀹℃牳浜�" align="center" width="120" prop="checkusername" /> + <el-table-column label="瀹℃牳缁撴灉" align="center" width="200" prop="flowconclusion"> + <template slot-scope="scope"> + <span v-if="scope.row.flowconclusion == 1">閫氳繃</span> + <span v-if="scope.row.flowconclusion == 2">涓嶉�氳繃</span> + </template> </el-table-column> <el-table-column label="瀹℃牳澶囨敞" align="center" prop="flowcontent" /> </el-table> @@ -899,7 +911,6 @@ this.businessType == "2" || this.businessType == "3" ) { - console.log("", this.curCase); this.form.infoid = this.curCase.id; this.form.donorname = this.curCase.name; this.form.donorno = this.curCase.donorno; @@ -1318,12 +1329,13 @@ } this.form.username = this.userprofile.nickName; this.form.userno = this.userprofile.userName; - this.form.phone = this.userprofile.phonenumber; this.form.deptmentname = this.userprofile.dept.deptName; this.form.deptmentno = this.userprofile.dept.deptId; this.form.managername = this.userprofile.dept.leader; + this.form.phone = this.userprofile.phonenumber; // this.form.applytype = this.businessType; // this.form.createTime = new Date(); + this.getUserAccount(); }); }, @@ -1357,6 +1369,17 @@ exportName: this.personlist[j].username }); } + } + }); + }, + + //鑾峰彇缁忓姙浜鸿处鍙蜂俊鎭� + getUserAccount() { + this.personlist.map(res => { + if (res.username == this.form.username) { + this.form.bankname = res.depositbank;//res.branchbankname銆乺es.depositbank; + this.form.bankcardno = res.bankcardno; + this.form.phone = res.telephone; } }); }, @@ -2065,13 +2088,13 @@ created() { //鑾峰彇璺敱鍙傛暟 this.getroute(); - this.getUserProfile(); - this.getUserList(); + this.getExternalList(); }, //鐢熷懡鍛ㄦ湡 - 鎸傝浇瀹屾垚锛堝彲浠ヨ闂瓺OM鍏冪礌锛� mounted() { - this.getExternalList(); + this.getUserList(); + this.getUserProfile(); // this.getFeeUnitList(); }, -- Gitblit v1.9.3