From dcdcf772ce8db3ced572a99b5b2c3ee3358c63c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tran=20Van=20Dung/=28Tran=20Van=20Dung=29/=ED=98=84?= =?UTF-8?q?=EC=9E=A5=EB=8C=80=EB=A6=AC=EC=9D=B8/SK?= <20074470@skcc.com> Date: Thu, 31 Jul 2025 16:18:44 +0700 Subject: [PATCH] fixbug screen 20.4 --- .../pages/ems/EqpmInfo/EqpmConstTab.vue | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/components/pages/ems/EqpmInfo/EqpmConstTab.vue b/components/pages/ems/EqpmInfo/EqpmConstTab.vue index 69f1615..b68a035 100644 --- a/components/pages/ems/EqpmInfo/EqpmConstTab.vue +++ b/components/pages/ems/EqpmInfo/EqpmConstTab.vue @@ -96,20 +96,20 @@ export default { watch: { selectedEqpmKindId(val) { if (val) { - this.detailList[2].eqpmKindId = val; + this.detailList[1].eqpmKindId = val; } }, selectedEqpmGrpId(val) { // if(!val){ - // this.detailList[2].eqpmGrpId = ''; + // this.detailList[1].eqpmGrpId = ''; // }else{ - // this.detailList[2].eqpmGrpId = val; + // this.detailList[1].eqpmGrpId = val; // } // if(val){ - // this.detailList[2].eqpmGrpId = val; + // this.detailList[1].eqpmGrpId = val; // } // else if(val == null || val == ''){ - // this.detailList[2].eqpmGrpId = ''; + // this.detailList[1].eqpmGrpId = ''; // } }, }, @@ -238,10 +238,10 @@ export default { }, async getRowData(data, gridName) { if (data.rowStat === 'I') { - this.detailList[2].disabled = false; + this.detailList[1].disabled = false; this.detailList[3].disabled = false; } else { - this.detailList[2].disabled = true; + this.detailList[1].disabled = true; this.detailList[3].disabled = true; } @@ -257,12 +257,12 @@ export default { switch (action) { case 'add': this.$refs[this.gridName].addRow(); - this.detailList[2].disabled = false; + this.detailList[1].disabled = false; this.detailList[3].disabled = false; break; case 'remove': - this.detailList[2].disabled = true; + this.detailList[1].disabled = true; this.detailList[3].disabled = true; this.$refs[this.gridName].removeRow(); break; @@ -370,6 +370,7 @@ const myEqpmConstDetail = [ textCols: 12, iconShow: true, }, + // ================== { type: 'EgrpPysclQtyPop', labelContent: '물리량', @@ -381,7 +382,7 @@ const myEqpmConstDetail = [ pysclQtyNm: 'pysclQtyNm', }, valueNm: 'objId', - disabled: false, + disabled: true, required: true, openMode: 'CONST', cols: 6, @@ -412,6 +413,7 @@ const myEqpmConstDetail = [ textCols: 12, iconShow: true, }, + // ------------ { type: 'InputText', label: '물리량 값',