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: '물리량 값',