10
lkk
2024-12-05 6f2e4f80e8698ff90a70aabffcb6842d0760445f
src/views/sampling/sampling/index.vue
@@ -189,11 +189,6 @@
        </el-table>
      </div>
      <div style="width: 50%">
        <!-- :default-sort="{ prop: 'specimenType', order: 'ascending' }"  :default-sort="{ prop: 'specimenType', order: 'ascending' }"
          @sort-change="handleSortChange"
          :span-method="objectSpanMethod"
          @selection-change="handleChange" ref="tab1"
          :row-class-name="tableRowClassName"-->
        <el-table
          v-loading="loading"
          :data="tableList"
@@ -471,6 +466,7 @@
    this.$nextTick(() => {
      this.$refs.inputName.focus();
    });
  },
  computed: {
    disabled() {
@@ -599,6 +595,7 @@
              this.$refs.tb.toggleRowSelection(this.samplingList[0], true);
              // this.fetchData(this.samplingList[0].tjNumber);
            });
          }
          this.total = response.data.total;
          this.loading1 = false;
@@ -963,9 +960,10 @@
      // console.log(selection);
      this.selectList = selection;
      console.log(this.selectList, 5555);
      // console.log(this.selectList, 5555);
      var array = selection;
      this.ids = selection.map((item) => item.id);
      this.ids = array.map((item) => item.id);
    },
    // 禁选