licp
2024-07-01 abe84ba77a867d4f755199021f9b6e10e3af971b
合并冲突
已修改2个文件
20 ■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/fiberoptic-config.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/add.vue
@@ -1601,7 +1601,7 @@
        } else if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 0) {
          row.bsm1 = false
        }
        if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && this.sampleList.length > 1 && row.state === 1) {
        if (row.bsm === '1' && row.inspectionItem === '光纤接头损耗' && this.sampleList.length > 1 && row.state === 1) {
          if (this.bsm2Val2.length === 0) {
            this.bsm2Val = (this.sampleList.length - 1) * this.sampleList.length / 2
            this.computationalPairing(this.sampleList.length)
@@ -1609,9 +1609,9 @@
            this.bsm2 = true
            this.bsm1Dia = true
          }
        } else if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && row.state === 1 && this.sampleList.length > 1) {
        } else if (row.bsm === '1' && row.inspectionItem === '光纤接头损耗' && row.state === 1 && this.sampleList.length > 1) {
          this.bsm2 = false
        } else if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && this.sampleList.length < 2) {
        } else if (row.bsm === '1' && row.inspectionItem === '光纤接头损耗' && this.sampleList.length < 2) {
          this.$message.error('样品数量不足够进行配对操作')
          row.state = row.state == 1 ? 0 : 1
          this.$refs.productTable.toggleRowSelection(row, false)
@@ -1887,7 +1887,7 @@
          } else if (p.bsm === '1' && p.section !== '' && p.section !== null && p.state === 0) {
            p.bsm1 = false
          }
          if (p.bsm === '1' && p.inspectionItem === '熔接损耗' && this.sampleList.length > 1 && p.state === 1) {
          if (p.bsm === '1' && p.inspectionItem === '光纤接头损耗' && this.sampleList.length > 1 && p.state === 1) {
            this.bsm2 = true
            this.bsm1Dia = true
            if (this.bsm2Val2.length === 0) {
@@ -1895,9 +1895,9 @@
              this.computationalPairing(this.sampleList.length)
              this.bsm2Val2 = this.HaveJson(this.bsm2Val3)
            }
          } else if (p.bsm === '1' && p.inspectionItem === '熔接损耗' && p.state === 1 && this.sampleList.length > 1) {
          } else if (p.bsm === '1' && p.inspectionItem === '光纤接头损耗' && p.state === 1 && this.sampleList.length > 1) {
            this.bsm2 = false
          } else if (p.bsm === '1' && p.inspectionItem === '熔接损耗' && this.sampleList.length < 2) {
          } else if (p.bsm === '1' && p.inspectionItem === '光纤接头损耗' && this.sampleList.length < 2) {
            this.$message.error('样品数量不足够进行配对操作')
            this.$refs.productTable.clearSelection()
            return
src/components/do/b1-ins-order/fiberoptic-config.vue
@@ -753,7 +753,7 @@
            } else if (p.bsm === '1' && p.section !== '' && p.section !== null && p.state === 0) {
              this.bsm1 = false
            }
            if (p.bsm === '1' && p.inspectionItem === '熔接损耗' && this.sampleList.length > 1 && p.state === 1) {
            if (p.bsm === '1' && p.inspectionItem === '光纤接头损耗' && this.sampleList.length > 1 && p.state === 1) {
              this.bsm2 = true
              this.bsm1Dia = true
              if(this.bsm2Val2.length === 0){
@@ -761,7 +761,7 @@
                this.computationalPairing(this.sampleList.length)
                this.bsm2Val2 = this.HaveJson(this.bsm2Val3)
              }
            } else if (p.bsm === '1' && p.inspectionItem === '熔接损耗' && p.state === 1) {
            } else if (p.bsm === '1' && p.inspectionItem === '光纤接头损耗' && p.state === 1) {
              this.bsm2 = false
            }
          }
@@ -828,7 +828,7 @@
          } else if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 0) {
            this.bsm1 = false
          }
          if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && this.sampleList.length > 1 && row.state === 1) {
          if (row.bsm === '1' && row.inspectionItem === '光纤接头损耗' && this.sampleList.length > 1 && row.state === 1) {
          this.bsm2 = true
          this.bsm1Dia = true
            if(this.bsm2Val2.length === 0){
@@ -836,7 +836,7 @@
              this.computationalPairing(this.sampleList.length)
              this.bsm2Val2 = this.HaveJson(this.bsm2Val3)
            }
          } else if (row.bsm === '1' && row.inspectionItem === '熔接损耗' && row.state === 1) {
          } else if (row.bsm === '1' && row.inspectionItem === '光纤接头损耗' && row.state === 1) {
            this.bsm2 = false
          }
        }else{