licp
2024-11-01 69ed1555e7be98d643e5cf9c55b591c44d52d1b9
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -735,11 +735,12 @@
      </div>
      <!-- 功率试验 -->
      <div v-else-if="tableLists.find(m=>m.templateId==currentTable).templateName.includes('功率容量')">
        <PowerCapacity :insProduct="currentSample.insProduct" :orderId="id" :sampleId="currentSample.id" :state="state" :isLook="isLook" :num="currentSample.num1" />
        <PowerCapacity :insProduct="currentSample.insProduct" :orderId="id" :sampleId="currentSample.id" :state="state" :isLook="isLook" :num="currentSample.num1"/>
      </div>
      <el-upload :action="action"
      :data="{
        orderId:id
        orderId:id,
        sonLaboratory:sonLaboratory
      }"
      v-if="state==1&&fileAdd"
      :on-success="handleSuccessUp" :show-file-list="false"
@@ -917,7 +918,6 @@
<script>
  import ValueTable from '../../tool/value-table.vue'
  import Circuit from './circuit.vue'
  import file from '../../../util/file'
  import excelFunction from '../../../util/excelFountion'
  import CircuitParameters1 from './circuit-parameters1.vue'
@@ -929,7 +929,6 @@
    props: ['sonLaboratory', 'orderId', 'state','inspectorList','version','orderStateId','isLook','num1','noBack'],
    components: {
      ValueTable,
      Circuit,
      CircuitParameters1,
      CircuitParameters2,
      filePreview,
@@ -988,7 +987,8 @@
        },
        componentData0: {
          entity: {
            insOrderId:''
            insOrderId:'',
            sonLaboratory:this.sonLaboratory
          },
          isIndex: true,
          showSelect: false,
@@ -3266,8 +3266,15 @@
        }
      },
      handleSubmit(){
        if(!this.otherForm.temperature){
          this.$message.error('请输入温度')
          return
        }
        if(!this.otherForm.humidity){
          this.$message.error('请输入湿度')
          return
        }
        this.experimentDia = true
        console.log(6666,this.sampleProduct)
        if (this.sonLaboratory === '电路试验') {
          this.experimentDia0 = true
        }