From ad33e8834b09f52f3751be207b75346ab6be7494 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期三, 03 一月 2024 17:35:36 +0800 Subject: [PATCH] yxh --- src/views/project/fund/performancedetails/index.vue | 45 +++++++++++++++++++++++++++------------------ 1 files changed, 27 insertions(+), 18 deletions(-) diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue index 8c15da9..3345a27 100644 --- a/src/views/project/fund/performancedetails/index.vue +++ b/src/views/project/fund/performancedetails/index.vue @@ -6,9 +6,9 @@ <el-form ref="form" :model="form" :rules="rules" label-width="120px"> <el-row> <el-col :span="5"> - <el-form-item label="鐢宠鏃ユ湡" prop="createTime"> - <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date" - value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡"> + <el-form-item label="鐢宠鏃ユ湡" prop="applyTime"> + <el-date-picker clearable style="width: 100%" v-model="form.applyTime" type="date" + value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡" disabled="true"> </el-date-picker> </el-form-item> </el-col> @@ -67,14 +67,12 @@ <el-row> <el-col :span="3"> <div style="margin-bottom: 15px;"> - <el-button type="success" icon="el-icon-download" @click="Batchentry">鎵归噺褰曞叆</el-button> + <el-button type="primary" icon="el-icon-download" size="small" @click="Batchentry">鎵归噺褰曞叆浜哄憳</el-button> </div> </el-col> - </el-row> - <el-row v-if="userprofile.nickName == '闄堟厱鍗�' && operationType == 'check'"> - <el-col :span="3"> + <el-col :span="3" v-if="userprofile.nickName == '闄堟厱鍗�' && operationType == 'check'"> <div style="margin-bottom: 15px;"> - <el-button type="success" icon="el-icon-edit-outline" @click="Manualcalculationfn">璁$畻涓◣</el-button> + <el-button type="success" icon="el-icon-edit-outline" size="small" @click="Manualcalculationfn">璁$畻涓◣</el-button> </div> </el-col> </el-row> @@ -220,12 +218,13 @@ <el-form ref="funddetailForm" :model="funddetailForm"> <el-row> <el-form-item label="璇疯緭鍏ラ�夋嫨锛�" prop="unitno" label-width="120px"> - <el-select v-model="funddetailForm.userName" filterable remote reserve-keyword allow-create default-first-option - placeholder="璇疯緭鍏ュ鍚嶆垨鍗曚綅鍚嶇О" :remote-method="remoteMethod" :loading="loadingperformance" style="width: 100%"> - <el-option v-for="item in optionsperformance" :key="item.value" :label="item.label" :value="item.value"> - </el-option> - </el-select> - </el-form-item> + <el-select v-model="funddetailForm.userName" filterable remote reserve-keyword allow-create + default-first-option placeholder="璇疯緭鍏ュ鍚嶆垨鍗曚綅鍚嶇О" :remote-method="remoteMethod" :loading="loadingperformance" + style="width: 100%"> + <el-option v-for="item in optionsperformance" :key="item.value" :label="item.label" :value="item.value"> + </el-option> + </el-select> + </el-form-item> </el-row> </el-form> <span slot="footer" class="dialog-footer"> @@ -448,9 +447,6 @@ // 琛ㄥ崟鏍¢獙 rules: { - createTime: [ - { required: true, message: "璇疯緭鍏ュ~鎶ユ棩鏈�", trigger: "blur" } - ], reason: [ { required: true, message: "璇疯緭鍏ュ嚭宸簨鐢�", trigger: "blur" } ], @@ -926,7 +922,7 @@ //鍒ゆ柇鏄惁瀛樺湪涓婃姤璁板綍 this.form.recordstatus = 0; var currenttime = new Date(); - this.form.createTime = currenttime.getFullYear() + "-" + (currenttime.getMonth()+1) + "-" + currenttime.getDate() + " " + currenttime.getHours() + ":" + currenttime.getMinutes() + ":" + currenttime.getSeconds(); + this.form.applyTime = currenttime.getFullYear() + "-" + (currenttime.getMonth() + 1) + "-" + currenttime.getDate() + " " + currenttime.getHours() + ":" + currenttime.getMinutes() + ":" + currenttime.getSeconds(); if (!this.form.id) { this.form.id = this.$route.query.id; @@ -1100,6 +1096,19 @@ if (this.form.id != null) { } else { this.form.recordstatus = -1; + var currenttime = new Date(); + this.form.applyTime = + currenttime.getFullYear() + + "-" + + (currenttime.getMonth() + 1) + + "-" + + currenttime.getDate() + + " " + + currenttime.getHours() + + ":" + + currenttime.getMinutes() + + ":" + + currenttime.getSeconds(); } sessionStorage.setItem( -- Gitblit v1.9.3