fixbug screen 20.4
This commit is contained in:

parent
40addfe639
commit
dcdcf772ce
@ -96,20 +96,20 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
selectedEqpmKindId(val) {
|
selectedEqpmKindId(val) {
|
||||||
if (val) {
|
if (val) {
|
||||||
this.detailList[2].eqpmKindId = val;
|
this.detailList[1].eqpmKindId = val;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectedEqpmGrpId(val) {
|
selectedEqpmGrpId(val) {
|
||||||
// if(!val){
|
// if(!val){
|
||||||
// this.detailList[2].eqpmGrpId = '';
|
// this.detailList[1].eqpmGrpId = '';
|
||||||
// }else{
|
// }else{
|
||||||
// this.detailList[2].eqpmGrpId = val;
|
// this.detailList[1].eqpmGrpId = val;
|
||||||
// }
|
// }
|
||||||
// if(val){
|
// if(val){
|
||||||
// this.detailList[2].eqpmGrpId = val;
|
// this.detailList[1].eqpmGrpId = val;
|
||||||
// }
|
// }
|
||||||
// else if(val == null || val == ''){
|
// else if(val == null || val == ''){
|
||||||
// this.detailList[2].eqpmGrpId = '';
|
// this.detailList[1].eqpmGrpId = '';
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -238,10 +238,10 @@ export default {
|
|||||||
},
|
},
|
||||||
async getRowData(data, gridName) {
|
async getRowData(data, gridName) {
|
||||||
if (data.rowStat === 'I') {
|
if (data.rowStat === 'I') {
|
||||||
this.detailList[2].disabled = false;
|
this.detailList[1].disabled = false;
|
||||||
this.detailList[3].disabled = false;
|
this.detailList[3].disabled = false;
|
||||||
} else {
|
} else {
|
||||||
this.detailList[2].disabled = true;
|
this.detailList[1].disabled = true;
|
||||||
this.detailList[3].disabled = true;
|
this.detailList[3].disabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -257,12 +257,12 @@ export default {
|
|||||||
switch (action) {
|
switch (action) {
|
||||||
case 'add':
|
case 'add':
|
||||||
this.$refs[this.gridName].addRow();
|
this.$refs[this.gridName].addRow();
|
||||||
this.detailList[2].disabled = false;
|
this.detailList[1].disabled = false;
|
||||||
this.detailList[3].disabled = false;
|
this.detailList[3].disabled = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'remove':
|
case 'remove':
|
||||||
this.detailList[2].disabled = true;
|
this.detailList[1].disabled = true;
|
||||||
this.detailList[3].disabled = true;
|
this.detailList[3].disabled = true;
|
||||||
this.$refs[this.gridName].removeRow();
|
this.$refs[this.gridName].removeRow();
|
||||||
break;
|
break;
|
||||||
@ -370,6 +370,7 @@ const myEqpmConstDetail = [
|
|||||||
textCols: 12,
|
textCols: 12,
|
||||||
iconShow: true,
|
iconShow: true,
|
||||||
},
|
},
|
||||||
|
// ==================
|
||||||
{
|
{
|
||||||
type: 'EgrpPysclQtyPop',
|
type: 'EgrpPysclQtyPop',
|
||||||
labelContent: '물리량',
|
labelContent: '물리량',
|
||||||
@ -381,7 +382,7 @@ const myEqpmConstDetail = [
|
|||||||
pysclQtyNm: 'pysclQtyNm',
|
pysclQtyNm: 'pysclQtyNm',
|
||||||
},
|
},
|
||||||
valueNm: 'objId',
|
valueNm: 'objId',
|
||||||
disabled: false,
|
disabled: true,
|
||||||
required: true,
|
required: true,
|
||||||
openMode: 'CONST',
|
openMode: 'CONST',
|
||||||
cols: 6,
|
cols: 6,
|
||||||
@ -412,6 +413,7 @@ const myEqpmConstDetail = [
|
|||||||
textCols: 12,
|
textCols: 12,
|
||||||
iconShow: true,
|
iconShow: true,
|
||||||
},
|
},
|
||||||
|
// ------------
|
||||||
{
|
{
|
||||||
type: 'InputText',
|
type: 'InputText',
|
||||||
label: '물리량 값',
|
label: '물리량 값',
|
||||||
|
Reference in New Issue
Block a user