| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="稼动率" prop="ratio"> |
| | | <el-input v-model="dialogForm.ratio" style="width: 195px" /> |
| | | <el-input v-model="dialogForm.ratio" style="width: 175px" /> |
| | | <span style="margin-left: 10px">%</span> |
| | | </el-form-item> |
| | | |
| | |
| | | importdate: '', |
| | | workshopcode: '', |
| | | linecode: '', |
| | | status: '', |
| | | status: 'Y', |
| | | ratio: '' |
| | | }, |
| | | DeviceGroupDialogArr: [], // 设备组数组 |
| | |
| | | this.dialogForm.importdate = '' |
| | | this.dialogForm.workshopcode = '' |
| | | // this.dialogForm.linecode = '' |
| | | this.dialogForm.status = '' |
| | | this.dialogForm.status = 'Y' |
| | | this.dialogForm.ratio = '' |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | |
| | | if (row.name.trim().length < 1) { |
| | | return this.$message.info('类型名称不能为空!') |
| | | } |
| | | if (row.remark.trim().length < 1) { |
| | | return this.$message.info('类型描述不能为空!') |
| | | } |
| | | // if (row.remark.trim().length < 1) { |
| | | // return this.$message.info('类型描述不能为空!') |
| | | // } |
| | | const data = { |
| | | 'code': row.code, |
| | | 'name': row.name, |
| | |
| | | if (row.eqptype_code.trim().length < 1) { |
| | | return this.$message.info('所属设备类型不能为空!') |
| | | } |
| | | if (row.remark.trim().length < 1) { |
| | | return this.$message.info('分组描述不能为空!') |
| | | } |
| | | // if (row.remark.trim().length < 1) { |
| | | // return this.$message.info('分组描述不能为空!') |
| | | // } |
| | | const data = { |
| | | 'code': row.code, |
| | | 'name': row.name, |