yuan
8 小时以前 5f5b0d71b96415f7157cfd8e93c9d5dca7126704
src/views/qualityManagement/rawMaterialInspection/components/formDia.vue
@@ -141,7 +141,7 @@
              style="width: 100%"
              @change="handleInstrumentChange(row)"
          >
            <el-option label="【目测】" value="【目测】" />
            <el-option label="目测" value="目测" />
            <el-option
                v-for="item in deviceList"
                :key="item.id"
@@ -528,9 +528,9 @@
// 检测器具变化时,自动填充设备状态
const handleInstrumentChange = (row) => {
  if (row.instrument === '【目测】') {
  if (row.instrument === '目测') {
    row.deviceId = null;
    row.deviceName = '【目测】';
    row.deviceName = '目测';
    row.deviceStatus = '';
    return;
  }