From 6cbbc9d82214c42996d622f22c8ccab3a8123d60 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期三, 13 十二月 2023 19:07:21 +0800
Subject: [PATCH] qxtj

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

diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue
index 53b27e3..3749c75 100644
--- a/src/views/hosp/project/index.vue
+++ b/src/views/hosp/project/index.vue
@@ -54,8 +54,9 @@
           <el-table-column label="椤圭洰鍚嶇О" prop="proName" fixed="left" :width="flexColumnWidth('rwdtypeName')" />
           <el-table-column label="椤圭洰浠锋牸(鍗曚綅/鍏�)" align="center" prop="proPrice" width="75px"
             :show-overflow-tooltip="true"></el-table-column>
-          <el-table-column label="绉戝鍚嶇О" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" />
+          <!-- <el-table-column label="绉戝鍚嶇О" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" /> -->
           <el-table-column label="妫�鏌ョ被鍒�" align="center" prop="proCheckType" width="110px" :show-overflow-tooltip="true" />
+          <el-table-column label="榛樿鍊�" align="center" prop="proDefault" width="110px" :show-overflow-tooltip="true" />
           <el-table-column label="涓村簥鎰忎箟" align="center" prop="proMeaning" width="350px" :show-overflow-tooltip="true" />
           <!-- <el-table-column label="妫�鏌ユ柟寮�" align="center" prop="proCheckMethod" :show-overflow-tooltip="true"
             width="110px" /> -->
@@ -356,7 +357,6 @@
   components: { Treeselect, IconSelect },
   data() {
     let checkPhoneNum = (rule, value, callback) => {
-      console.log(value)
       let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
       if (value == "" && value == undefined && !value) {
         return callback('');
@@ -563,17 +563,15 @@
 
     // 鎵撳紑input寮规
     getDetailed() {
-      if (this.form.proParentId) {
-        if (this.selectList.proName === "涓荤被鐩�") {
-          this.dialogTableVisible = false;
-        } else {
-          this.dialogTableVisible = true;
-          this.getlistSfxm()
-        }
+
+      if (this.form.proParentId == 0) {
+        this.dialogTableVisible = false;
+      } else if (this.form.proParentId != 0) {
+        this.dialogTableVisible = true;
+        this.getlistSfxm()
       } else {
         this.$message.error("璇烽�夋嫨涓婚」鍚嶇О");
       }
-
 
     },
 
@@ -802,7 +800,6 @@
               //鑻辨枃瀛楁瘝 8 鍍忕礌
               flexWidth += 8;
             } else if (char >= '\u4e00' && char <= '\u9fa5') {
-              console.log(22222)
               //涓枃鏂囧瓧 15 鍍忕礌
               flexWidth += 15;
             } else {
@@ -909,6 +906,13 @@
       const proId = row.proId || this.ids;
       getProject(proId).then((response) => {
         this.form = response.data;
+        if (this.form.proParentId === "0") {
+          this.showPrise = true;
+          this.showRentPrise = false;
+        } else {
+          this.showPrise = false;
+          this.showRentPrise = true;
+        }
         this.form.deptId = Number(this.form.deptId)
         if (this.form.proStatus === 0) {
           this.form.proStatus = "鍚敤";

--
Gitblit v1.8.0