From 916735aca6816732bc43a186dd9d7ccf5e5a1989 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 14 十二月 2023 23:09:47 +0800
Subject: [PATCH] yxh:修改了账户管理和案例编辑

---
 src/views/project/fund/applyDetail/index.vue |   44 +++++++++++++++++++++++++-------------------
 1 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index 7223428..6f6f751 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -9,11 +9,12 @@
             <el-form-item label="鐢宠鏃ユ湡" prop="createTime">
               <el-date-picker
                 clearable
+                :disabled="true"
                 style="width: 100%"
                 v-model="form.createTime"
                 type="date"
                 value-format="yyyy-MM-dd HH:mm:ss"
-                placeholder="鐢宠鏃ユ湡"
+                placeholder="鏃�   鏈�"
               >
               </el-date-picker>
             </el-form-item>
@@ -1604,9 +1605,9 @@
 
       // 琛ㄥ崟鏍¢獙
       rules: {
-        createTime: [
-          { required: true, message: "璇疯緭鍏ュ~鎶ユ棩鏈�", trigger: "blur" }
-        ],
+        // createTime: [
+        //   { required: true, message: "璇疯緭鍏ュ~鎶ユ棩鏈�", trigger: "blur" }
+        // ],
         reason: [
           { required: true, message: "璇疯緭鍏ュ嚭宸簨鐢�", trigger: "blur" }
         ],
@@ -2374,21 +2375,26 @@
     // },
     checksubmit() {
       console.log(this.checkObj.flowlevelone);
-      if (
-        this.form.checkstatus != 3 &&
-        this.userprofile.nickName == "闄堟厱鍗�" &&
-        this.checkObj.flowlevelone == 1
-      ) {
-        this.$modal.msgError("璇风‘璁ゆ姤閿�鐨勭焊璐ㄦ潗鏂欏凡缁忔敹鍒帮紒");
-        return;
-      } else if (
-        (this.form.applytype == "1" || this.form.applytype == "2") &&
-        this.form.fundtaxtime == null
-      ) {
-        this.$modal.msgError(
-          "鎻愪氦涓撳璐圭敤鐢宠鍗曘�佷鸡鐞嗕笓瀹剁敵璇疯垂鐢ㄧ敵璇峰崟瀹℃牳锛岄渶瑕佸厛瀹屾垚涓◣璁$畻锛�"
-        );
-        return;
+      if(this.userprofile.nickName == "闄堟厱鍗�"){
+        //妫�鏌ユ槸鍚︽敹鍒扮焊璐ㄦ潗鏂�
+        if ( this.form.checkstatus != 3 && this.checkObj.flowlevelone == 1  ) {
+          this.$modal.msgError("璇风‘璁ゆ姤閿�鐨勭焊璐ㄦ潗鏂欏凡缁忔敹鍒帮紒");
+          return;
+        } 
+        
+        //妫�鏌ヤ釜绋庤绠�
+        // if ( (this.form.applytype == "1" || this.form.applytype == "2") && this.form.fundtaxtime == null ) {
+        //   this.$modal.msgError(
+        //     "鎻愪氦涓撳璐圭敤鐢宠鍗曘�佷鸡鐞嗕笓瀹剁敵璇疯垂鐢ㄧ敵璇峰崟瀹℃牳锛岄渶瑕佸厛瀹屾垚涓◣璁$畻锛�"
+        //   );
+        //   return;
+        // }
+         if ( (this.form.applytype == "1") && this.form.fundtaxtime == null ) {
+          this.$modal.msgError(
+            "鎻愪氦涓撳璐圭敤鐢宠鍗曞鏍革紝闇�瑕佸厛瀹屾垚涓◣璁$畻锛�"
+          );
+          return;
+        }
       }
 
       this.Savenow();

--
Gitblit v1.9.3