licp
2024-10-17 bb1edca3bf351497495e270014b229605e4460dc
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -863,6 +863,7 @@
      </span>
    </el-dialog>
    <el-dialog title="试验信息" :visible.sync="experimentDia" width="50%">
      <div style="height: 80vh;overflow-y: auto;">
      <div class="body" style="display: flex;padding: 10px;align-items: center;" v-if="experimentDia0">
        <div class="search_label" style="width: 150px;"><span class="required-span">*</span>实验阶段</div>
        <div class="search_input" style="width: 100%;">
@@ -898,6 +899,7 @@
          </tr>
        </template>
      </table>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="experimentDia = false">取 消</el-button>
        <el-button type="primary" @click="submit0">确 定</el-button>
@@ -3743,7 +3745,8 @@
        this.lookFileVisible = true
      },
      handleBack(){
        if(this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('电路试验')){
        try {
          if(!this.isLook&&this.state==1&&this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('电路试验')){
          this.$confirm('请确认当前数据是否全部保存,是否返回?', '提示', {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
@@ -3754,6 +3757,9 @@
        }else{
          this.$emit('goback')
        }
        } catch (error) {
          this.$emit('goback')
        }
      }
    }
  }