From 92cf010eaa361321e689bdedfe0fc1de59c3ff21 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 25 八月 2023 15:19:46 +0800 Subject: [PATCH] yxh --- src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue index 1c5b412..f88787c 100644 --- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue +++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue @@ -279,18 +279,15 @@ " /> </template> </el-table-column> - <!-- <el-table-column prop="cityfee" label="甯傚唴浜ら�氳垂" align="center" width="100"> <template slot-scope="scope"> - <el-input v-model="scope.row.cityfee" placeholder="甯傚唴浜ら�氳垂" @blur=" - (val) => { - sumRowFee(scope.row); - } - ">{{ Number(scope.row.cityfee).toFixed(2) }} + <el-input v-model="scope.row.cityfee" placeholder="甯傚唴浜ら�氳垂" @blur="(val) => { + sumRowFee(scope.row); + } + ">{{ Number(scope.row.cityfee).toFixed(2) }} </el-input> </template> </el-table-column> - --> <el-table-column prop="hotelexpense" label="浣忓璐�" align="center" width="80"> <template slot-scope="scope"> <el-input v-model="scope.row.hotelexpense" placeholder="浣忓璐�" @blur="val => { @@ -445,11 +442,13 @@ </el-row> <el-row v-if="operationType != 'add'"> <el-table :data="fundflowList" border> - <el-table-column label="瀹℃牳浜�" align="center" width="150" prop="checkusername" /> <el-table-column label="瀹℃牳鏃ユ湡" align="center" width="200" 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="150" 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> @@ -608,9 +607,9 @@ loading: true, // 瀵煎嚭閬僵灞� exportLoading: false, - + // 褰撳墠鍗曟嵁ID - curId:0, + curId: 0, // 閫変腑鏁扮粍 ids: [], // 闈炲崟涓鐢� @@ -1239,7 +1238,7 @@ .map(item => ({ url: item, name: item })) : []; this.form.recordstatus = response.data.recordstatus + ""; - + //鑾峰彇鎶ラ攢鏄庣粏淇℃伅 getReimbursementdetaillist(curId).then(res => { this.rbDetails = res.data; @@ -1428,8 +1427,10 @@ checkfund(checkfundobj).then(res => { this.reset(); this.open = false; - this.getList(); this.$modal.msgSuccess("鎻愪氦瀹℃牳鎴愬姛!"); + // 鍏抽棴绐楀彛 + this.$store.dispatch('tagsView/delView', this.$route) + this.$router.go(-1); }); }, @@ -1546,7 +1547,9 @@ this.open = false; // 鍏抽棴绐楀彛 + this.$store.dispatch('tagsView/delView', this.$route) this.$router.go(-1); + // this.getList(); // }) // .catch(err => { @@ -1574,6 +1577,7 @@ this.open = false; // 鍏抽棴绐楀彛 + this.$store.dispatch('tagsView/delView', this.$route) this.$router.go(-1); }) .catch(err => { -- Gitblit v1.9.3