From 720381cfb95f06c87c0b11fe92531d06c2b02e12 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期三, 15 一月 2025 17:58:05 +0800
Subject: [PATCH] 11

---
 src/views/hosp/project/index.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue
index d4477bf..282d716 100644
--- a/src/views/hosp/project/index.vue
+++ b/src/views/hosp/project/index.vue
@@ -343,7 +343,11 @@
           </el-input>
         </el-form-item>
         <el-form-item label="椤圭洰浠锋牸" prop="proPrice">
-          <el-input v-model="form.proPrice" placeholder="璇疯緭鍏ラ」鐩环鏍�" />
+          <el-input
+            v-model="form.proPrice"
+            :disabled="isPriceDisabled"
+            placeholder="璇疯緭鍏ラ」鐩环鏍�"
+          />
         </el-form-item>
         <el-form-item label="妫�鏌ョ被鍒�" prop="proCheckType">
           <el-input
@@ -980,6 +984,7 @@
       // 閮ㄩ棬鏍戦�夐」
       deptOptions: undefined,
       dialogTableVisible: false,
+      isPriceDisabled: false,
       sfxmList: [],
       deptOptionstree: [],
       defaultPropstree: {
@@ -1075,7 +1080,7 @@
         lisXmmc: "",
         proMetering: "",
         proScope: "",
-        proSex:'2',
+        proSex: "2",
         resultType: "", // 鍒濆鍊�
       },
       // 琛ㄥ崟鏍¢獙
@@ -1655,8 +1660,11 @@
     handleUpdate1() {
       this.open = true;
       this.form = this.xiugaiList;
+      
       this.form.proStatus = this.form.proStatus.toString();
       this.proParent = true;
+      // 璁剧疆椤圭洰浠锋牸绂佺敤
+      this.isPriceDisabled = true;
       // if(){
       //   this.proParent = true
       // }
@@ -1678,8 +1686,8 @@
       // this.form = row;
       const proId = row.proId || this.ids;
       this.proParent = false;
+      this.isPriceDisabled = false;
       getProject(proId).then((response) => {
-        console.log(response, 999);
         this.form = response.data;
         if (this.form.proParentId === "0") {
           this.showPrise = true;

--
Gitblit v1.8.0