From 65b2b5c0dd571c3cd1d1cd6d4da5162f90590dd5 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期五, 10 一月 2025 16:11:24 +0800 Subject: [PATCH] 套餐维护 --- src/views/hosp/project/index.vue | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index d954582..282d716 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -160,10 +160,17 @@ :width="flexColumnWidth('rwdtypeName')" /> <el-table-column - label="椤圭洰浠锋牸(鍗曚綅/鍏�)" + label="浠锋牸(/鍏�)" align="center" prop="proPrice" width="75px" + :show-overflow-tooltip="true" + ></el-table-column> + <el-table-column + label="鏁伴噺" + align="center" + prop="sl" + width="65px" :show-overflow-tooltip="true" ></el-table-column> <!-- <el-table-column label="绉戝鍚嶇О" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" /> --> @@ -185,7 +192,7 @@ label="缁撴灉绫诲瀷" align="center" prop="resultType" - width="110px" + width="80px" :show-overflow-tooltip="true" > <template slot-scope="scope"> @@ -203,7 +210,7 @@ align="center" prop="needReport" :show-overflow-tooltip="true" - width="110px" + width="75px" > <template slot-scope="scope"> <dict-tag @@ -217,7 +224,7 @@ align="center" prop="proCheckMethod" :show-overflow-tooltip="true" - width="110px" + width="75px" > <template slot-scope="scope"> <dict-tag @@ -336,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 @@ -973,6 +984,7 @@ // 閮ㄩ棬鏍戦�夐」 deptOptions: undefined, dialogTableVisible: false, + isPriceDisabled: false, sfxmList: [], deptOptionstree: [], defaultPropstree: { @@ -1068,7 +1080,7 @@ lisXmmc: "", proMetering: "", proScope: "", - + proSex: "2", resultType: "", // 鍒濆鍊� }, // 琛ㄥ崟鏍¢獙 @@ -1648,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 // } @@ -1671,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