huminmin
8 小时以前 fc940d1939db4b832f2fad50aeea1cdeb4a638f3
src/views/productionManagement/workOrder/components/ProductionRecordForm.vue
@@ -84,9 +84,9 @@
<template>
  <el-form ref="formRef" :model="formData" :rules="rules" :label-width="`${labelWidth}px`">
    <el-row :gutter="20">
      <el-col :span="12" v-for="(item, index) in formData.list" :key="item.id">
    <el-form-item
        v-for="(item, index) in formData.list"
        :key="item.id"
        :label="fieldLabel(item)"
        :prop="`list.${index}.value`"
    >
@@ -133,10 +133,10 @@
          style="width: 100%"
      >
        <el-option
            v-for="(item, index) in deviceOptions"
            :key="index"
            :label="item.deviceName"
            :value="item.deviceName"
                v-for="(device, deviceIndex) in deviceOptions"
                :key="deviceIndex"
                :label="device.deviceName"
                :value="device.deviceName"
        ></el-option>
      </el-select>
      <el-input
@@ -144,7 +144,10 @@
          v-model="item.value"
          placeholder="请输入"
          clearable
              style="width: 100%"
      />
    </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>