value
2024-06-19 747c996003ace8a4afebe61d4623ca3c01994bb3
src/components/do/b1-ins-order/add.vue
@@ -132,7 +132,7 @@
            <span style="color: #3A7BFA;">保存模板</span>
          </el-button>
          <el-button size="medium" type="primary" @click="openCableConfig"
            v-if="active==1&&PROJECT=='装备电缆'">电缆配置</el-button>
            v-if="active==1&&PROJECT=='装备电缆'&&addObj.sampleType!=undefined&&addObj.sampleType.indexOf('电缆')>-1">电缆配置</el-button>
          <el-button size="medium" type="primary" @click="openEquipConfig" v-if="active==1">子样品配置</el-button>
          <el-button size="medium" type="primary" @click="openConfig" v-if="addObj.sampleType==='光缆'">光纤配置</el-button>
          <el-button size="medium" type="primary" @click="save" :loading="saveLoad" v-show="active==1">提交</el-button>
@@ -1285,7 +1285,6 @@
      },
      upProductSelect(selection, row) {
        row.state = row.state == 1 ? 0 : 1
        this.getProNum()
        if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1) {
          if (row.section.indexOf('[') > -1) {
            this.bsmRow = this.HaveJson(row)
@@ -1331,6 +1330,7 @@
          }
          return item
        })
        this.getProNum()
      },
      permute(nums) {
        const result = [];
@@ -1561,7 +1561,6 @@
            return m
          })
        }
        this.getProNum()
        this.bsmRow3 = [];
        this.productList.forEach(p => {
          if (p.bsm === '1' && p.section !== '' && p.section !== null && p.state === 1) {
@@ -1617,6 +1616,7 @@
            return item
          })
        }
        this.getProNum()
        this.$nextTick(() => {
          this.$refs.productTable.doLayout()
        })