From e21e9ad99c4c2a306d15cb270dc41520450ac9f2 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 12 十二月 2023 00:16:02 +0800 Subject: [PATCH] yxh:修改了预审核提示信息 --- src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 46 ++++++++++------------------------------------ 1 files changed, 10 insertions(+), 36 deletions(-) diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue index 3485938..548ef5c 100644 --- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue +++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue @@ -110,23 +110,6 @@ </el-select> </el-form-item> </el-col> - <el-col :span="5"> - <el-form-item label="鐢宠鏉愭枡鐘舵��" prop="infoid"> - <el-select - v-model="form.checkstatus" - filterable - placeholder="璇烽�夋嫨鐢宠鏉愭枡鐘舵��" - > - <el-option - v-for="item in baselisttages" - :key="item.id" - :label="item.name" - :value="item.id" - > - </el-option> - </el-select> - </el-form-item> - </el-col> </el-row> <!-- <el-row> @@ -914,17 +897,13 @@ </el-row> <el-row style="margin-top: 25px; margin-bottom: 5px" - v-if="operationType == 'check'" + v-if="operationType == 'check' && userprofile.nickName == '闄堟厱鍗�'" > - <el-col :span="7"> + <el-col :span="12"> <el-form-item label="鐢宠鏉愭枡鐘舵��" prop="infoid"> - <el-radio-group - v-model="form.checkstatus" - align="left" - :disabled="userprofile.nickName != '闄堟厱鍗�'" - > + <el-radio-group v-model="form.checkstatus" align="left"> <el-radio label="1">寰呯敵璇锋潗鏂�</el-radio> - <el-radio label="2">鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡</el-radio> + <el-radio label="2">瀹℃牳閫氳繃绛夊緟閭瘎绾歌川鏉愭枡</el-radio> <el-radio label="3">宸叉敹鍒版姤閿�鏉愭枡</el-radio> </el-radio-group> </el-form-item> @@ -1408,7 +1387,7 @@ }, { id: 2, - name: "鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡" + name: "瀹℃牳閫氳繃绛夊緟閭瘎绾歌川鏉愭枡" }, { id: 3, @@ -2239,11 +2218,9 @@ this.operationType = "detail"; this.title = "鎶ラ攢鐢宠璇︽儏"; this.jurisdiction = true; - this.reset(); this.open = true; const id = ids || this.ids; - getReimbursement(id).then(response => { this.form = response.data; //绁ㄦ嵁 @@ -2257,7 +2234,6 @@ .split(",") .map(item => ({ url: item, name: item })) : []; - //瀹℃牳鐘舵�� this.form.recordstatus = response.data.recordstatus + ""; let ids = response.data.id; @@ -2378,14 +2354,12 @@ this.$modal.msgError("璇烽�夋嫨瀹℃牳缁撹鍚庡啀鎻愪氦瀹℃壒缁撴灉!"); return; } - + if (this.userprofile.nickName == "闄堟厱鍗�") { + this.Savenow(); + console.log("淇濆瓨"); + } checkfund(checkfundobj).then(res => { - this.reset(); - this.open = false; this.$modal.msgSuccess("鎻愪氦瀹℃牳鎴愬姛!"); - if (this.userprofile.nickName == "闄堟厱鍗�") { - this.submitForm(); - } // 鍏抽棴绐楀彛 this.$store.dispatch("tagsView/delView", this.$route); this.$router.go(-1); @@ -2478,7 +2452,7 @@ this.$router.go(-1); }) .catch(err => { - this.$modal.msgError("鏂板鎶ラ攢鍗曚繚瀛樺け璐ワ紒"); + this.$modal.msgError("鏂板鎶ラ攢鍗曚繚瀛樺け璐ワ紒" + res); }); } } -- Gitblit v1.9.3