yuan
6 小时以前 5f5b0d71b96415f7157cfd8e93c9d5dca7126704
src/views/qualityManagement/processInspection/components/formDia.vue
@@ -128,7 +128,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"
@@ -523,9 +523,9 @@
// 检测器具变化时,自动填充设备状态
const handleInstrumentChange = (row) => {
   if (row.instrument === '【目测】') {
   if (row.instrument === '目测') {
      row.deviceId = null;
      row.deviceName = '【目测】';
      row.deviceName = '目测';
      row.deviceStatus = '';
      return;
   }