| | |
| | | :loading="aBCAssessmentTable.loading" |
| | | :columns="aBCAssessmentTable.columns" |
| | | :dataSource="aBCAssessmentTable.dataSource" |
| | | :maxHeight="300" |
| | | :maxHeight="1000" |
| | | :disabled="formDisabled" |
| | | :rowNumber="true" |
| | | :rowSelection="true" |
| | |
| | | title: '统一编码', |
| | | key: 'num', |
| | | type: JVXETypes.normal, |
| | | width:"250px", |
| | | width:"160px", |
| | | placeholder: '请输入${title}', |
| | | disabled:true, |
| | | align:'center', |
| | |
| | | title: '设备名称', |
| | | key: 'name', |
| | | type: JVXETypes.normal, |
| | | width:"250px", |
| | | width:"160px", |
| | | placeholder: '请输入${title}', |
| | | disabled:true, |
| | | align:'center', |
| | |
| | | title: '设备型号', |
| | | key: 'model', |
| | | type: JVXETypes.normal, |
| | | width:"250px", |
| | | width:"160px", |
| | | placeholder: '请输入${title}', |
| | | disabled:true, |
| | | align:'center', |
| | |
| | | title: '平均使用率', |
| | | key: 'standardA', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standardA', |
| | |
| | | title: '可替换性', |
| | | key: 'standardB', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standardB', |
| | |
| | | title: '故障影响度', |
| | | key: 'standardC', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"230px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standardC', |
| | |
| | | title: '生产超差度', |
| | | key: 'standardD', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standardD', |
| | |
| | | title: '故障频率', |
| | | key: 'standardE', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standardE', |
| | |
| | | title: '设备价值', |
| | | key: 'standardF', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standardF', |
| | |
| | | title: '旧标识', |
| | | key: 'equipmentImportanceId', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | disabled:true, |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | |
| | | title: '新标识', |
| | | key: 'finalStandard', |
| | | type: JVXETypes.select, |
| | | width:"250px", |
| | | width:"180px", |
| | | placeholder: '请输入${title}', |
| | | defaultValue:'', |
| | | dictCode:'ABC-standard-result', |
| | |
| | | } |
| | | var standardA = this.model.standardA == null || this.model.standardA == undefined || this.model.standardA == '' ? 0 : parseInt(this.model.standardA); |
| | | var standardB = this.model.standardB == null || this.model.standardB == undefined || this.model.standardB == '' ? 0 : parseInt(this.model.standardB); |
| | | var standardC = this.model.standardA == null || this.model.standardC == undefined || this.model.standardC == '' ? 0 : parseInt(this.model.standardC); |
| | | var standardC = this.model.standardC == null || this.model.standardC == undefined || this.model.standardC == '' ? 0 : parseInt(this.model.standardC); |
| | | var standardD = this.model.standardD == null || this.model.standardD == undefined || this.model.standardD == '' ? 0 : parseInt(this.model.standardD); |
| | | var standardE = this.model.standardE == null || this.model.standardE == undefined || this.model.standardE == '' ? 0 : parseInt(this.model.standardE); |
| | | var standardF = this.model.standardF == null || this.model.standardF == undefined || this.model.standardF == '' ? 0 : parseInt(this.model.standardF); |
| | |
| | | num: data[i].num, |
| | | name: data[i].name, |
| | | model:data[i].model, |
| | | standardA:data[i].standardA, |
| | | standardB:data[i].standardB, |
| | | standardC:data[i].standardC, |
| | | standardD:data[i].standardD, |
| | | standardE:data[i].standardE, |
| | | standardF:data[i].standardF, |
| | | equipmentImportanceId:data[i].equipmentImportanceId, |
| | | finalStandard:data[i].equipmentImportanceId, |
| | | } |
| | | } |
| | | addRows.push(equipment) |
| | |
| | | changeDate(target){ |
| | | var standardA = target.row.standardA == null || target.row.standardA == undefined || target.row.standardA == '' ? 0 : parseInt(target.row.standardA); |
| | | var standardB = target.row.standardB == null || target.row.standardB == undefined || target.row.standardB == '' ? 0 : parseInt(target.row.standardB); |
| | | var standardC = target.row.standardA == null || target.row.standardC == undefined || target.row.standardC == '' ? 0 : parseInt(target.row.standardC); |
| | | var standardC = target.row.standardC == null || target.row.standardC == undefined || target.row.standardC == '' ? 0 : parseInt(target.row.standardC); |
| | | var standardD = target.row.standardD == null || target.row.standardD == undefined || target.row.standardD == '' ? 0 : parseInt(target.row.standardD); |
| | | var standardE = target.row.standardE == null || target.row.standardE == undefined || target.row.standardE == '' ? 0 : parseInt(target.row.standardE); |
| | | var standardF = target.row.standardF == null || target.row.standardF == undefined || target.row.standardF == '' ? 0 : parseInt(target.row.standardF); |
| | |
| | | changeDateByRow(row){ |
| | | var standardA = row.standardA == null || row.standardA == undefined || row.standardA == '' ? 0 : parseInt(row.standardA); |
| | | var standardB = row.standardB == null || row.standardB == undefined || row.standardB == '' ? 0 : parseInt(row.standardB); |
| | | var standardC = row.standardA == null || row.standardC == undefined || row.standardC == '' ? 0 : parseInt(row.standardC); |
| | | var standardC = row.standardC == null || row.standardC == undefined || row.standardC == '' ? 0 : parseInt(row.standardC); |
| | | var standardD = row.standardD == null || row.standardD == undefined || row.standardD == '' ? 0 : parseInt(row.standardD); |
| | | var standardE = row.standardE == null || row.standardE == undefined || row.standardE == '' ? 0 : parseInt(row.standardE); |
| | | var standardF = row.standardF == null || row.standardF == undefined || row.standardF == '' ? 0 : parseInt(row.standardF); |