| | |
| | | </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="{ |
| | |
| | | |
| | | <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' |
| | |
| | | props: ['sonLaboratory', 'orderId', 'state','inspectorList','version','orderStateId','isLook','num1','noBack'], |
| | | components: { |
| | | ValueTable, |
| | | Circuit, |
| | | CircuitParameters1, |
| | | CircuitParameters2, |
| | | filePreview, |
| | |
| | | } |
| | | }, |
| | | 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 |
| | | } |