loulijun2021
2022-07-16 392f9468875a8721c17c4e15c288333017cac4a1
src/views/sbgl/sbqd.vue
@@ -331,7 +331,7 @@
          </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>
@@ -612,7 +612,7 @@
        importdate: '',
        workshopcode: '',
        linecode: '',
        status: '',
        status: 'Y',
        ratio: ''
      },
      DeviceGroupDialogArr: [], // 设备组数组
@@ -784,7 +784,7 @@
      this.dialogForm.importdate = ''
      this.dialogForm.workshopcode = ''
      // this.dialogForm.linecode = ''
      this.dialogForm.status = ''
      this.dialogForm.status = 'Y'
      this.dialogForm.ratio = ''
      this.$refs.dialogForm.clearValidate()
    },
@@ -912,9 +912,9 @@
      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,
@@ -1026,9 +1026,9 @@
      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,