wwl
2024-12-09 dec09546294047e54c0531d6047d0685cbb45ddd
src/views/sampling/sampling/index.vue
@@ -111,7 +111,12 @@
        <el-button type="primary" :disabled="!disabled" @click="Cancellation"
          >撤销合并</el-button
        >
        <el-button type="primary" @click="Confirmreceipt" :disabled="!selectList.length">采样打码</el-button>
        <el-button
          type="primary"
          @click="Confirmreceipt"
          :disabled="!selectList.length"
          >采样打码</el-button
        >
      </el-col>
      <el-col
        :span="12"
@@ -189,11 +194,7 @@
        </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"-->
        <!-- v-if="this.rightTabShow" -->
        <el-table
          v-loading="loading"
          :data="tableList"
@@ -458,12 +459,14 @@
      form: {},
      // 表单校验
      rules: {},
      // rightTabShow: false
    };
  },
  created() {
    // this.getNowTime();
    getTxmmccd().then((res) => {
      this.msg = Number(res.msg);
      console.log(res, 444);
    });
    this.getdate();
  },
@@ -598,6 +601,8 @@
            this.$nextTick(() => {
              this.$refs.tb.toggleRowSelection(this.samplingList[0], true);
              // this.fetchData(this.samplingList[0].tjNumber);
              // ddddddddddddddd
              // this.rightTabShow = true
            });
          }
          this.total = response.data.total;
@@ -917,11 +922,11 @@
              }
              .last p {
              // font-weight: bold;
                margin-left: 10px;
                margin-left: 1px;
                // font-family: "Arial Black", sans-serif !important; 
              }
                p {
                margin-left: 10px;
                margin-left: 1px;
                // font-weight: bold;
                // font-family: "Arial Black", sans-serif !important;  
              }
@@ -934,7 +939,7 @@
                 font-family: "Arial Black", sans-serif !important; 
              }
              .tj span {
                margin-left: 10px;
                margin-left: 1px;
              }
            }
          </style>
@@ -963,9 +968,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);
    },
    // 禁选