licp
2024-07-01 e0a71526e0138a89f2dae838c36eaf9e99994a51
src/components/do/b1-ins-order/add.vue
@@ -712,6 +712,28 @@
        </el-row>
      </span>
    </el-dialog>
    <el-dialog title="温度循环要求填写" :visible.sync="circulateShow" width="800px" :show-close="false">
      <div class="search" style="display: flex;background: transparent;">
        <div class="search_thing">
          <div class="search_label">保温时间:</div>
          <div class="search_input">
            <el-input v-model="circulateForm.entrustCode" size="small" placeholder=""></el-input>
          </div>
        </div>
        <div class="search_thing">
          <div class="search_label">循环次数:</div>
          <div class="search_input">
            <el-input v-model="circulateForm.entrustCode" size="small" placeholder=""></el-input>
          </div>
        </div>
        <div class="search_thing">
          <div class="search_label">温度点:</div>
          <div class="search_input">
            <el-input v-model="circulateForm.entrustCode" size="small" placeholder=""></el-input>
          </div>
        </div>
      </div>
    </el-dialog>
  </div>
</template>
@@ -877,6 +899,8 @@
        symbolList:[
        'RTS','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'],
        inspectionItem:null,
        circulateShow:false,
        circulateForm:{}
      }
    },
    watch: {
@@ -1565,7 +1589,6 @@
        this.$refs.productTable.toggleRowSelection(row, true);
      },
      upProductSelect(selection, row) {
        console.log('danxuan', row)
        this.bsm1DiaList = []
        row.state = row.state == 1 ? 0 : 1
        if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1) {
@@ -1579,12 +1602,12 @@
          row.bsm1 = false
        }
        if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && this.sampleList.length > 1 && row.state === 1) {
          this.bsm2 = true
          this.bsm1Dia = true
          if (this.bsm2Val2.length === 0) {
            this.bsm2Val = (this.sampleList.length - 1) * this.sampleList.length / 2
            this.computationalPairing(this.sampleList.length)
            this.bsm2Val2 = this.HaveJson(this.bsm2Val3)
            this.bsm2 = true
            this.bsm1Dia = true
          }
        } else if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && row.state === 1 && this.sampleList.length > 1) {
          this.bsm2 = false
@@ -1614,6 +1637,10 @@
          }
          return item
        })
        if (row.inspectionItem === '温度循环') {
          this.circulateShow = true;
          return
        }
        this.getProNum()
      },
      permute(nums) {