zouyu
5 天以前 2bd9b32aa6378ff6a841780628b844a42dbd8f01
src/views/business/materialOrder/customsInspectionOrder.vue
@@ -171,7 +171,8 @@
          </el-form>
        </div>
        <div style="margin-bottom: 6px;margin-top: 6px">
          <el-button v-show="active==1" :disabled="sampleList.length === 3" size="small" type="primary" @click="handleSplitCountNum">拆分</el-button>
          <el-button v-show="active==1" size="small" type="primary" @click="handleSplitCountNum">拆分</el-button>
          <el-button v-show="active==1" :disabled="sampleList.length<=1" size="small" type="danger" @click="handleDeleteSplitCountNum">删除拆分</el-button>
        </div>
      </div>
@@ -954,6 +955,12 @@
        this.templates = res.data
      })
    },
    //删除拆分行
    handleDeleteSplitCountNum(){
      this.count--;
      this.sampleList.pop()
      this.computationalPairing(this.sampleList.length)
    },
    // 拆分
    handleSplitCountNum () {
      this.sample.joinName = null