loulijun2021
2022-12-31 b012ab3a1e5495be068c543eb8f0482124db13b5
src/views/zzmx/wllx.vue
@@ -41,6 +41,8 @@
      <el-divider />
      <div class="elTableDiv">
        <el-table
          ref="tableDataRef"
          class="tableFixed"
          :data="tableData"
          border
          stripe
@@ -63,10 +65,12 @@
          <el-table-column
            prop="code"
            label="物料类型编码"
            show-tooltip-when-overflow
            sortable="custom"
          />
          <el-table-column
            prop="name"
            show-tooltip-when-overflow
            label="物料类型名称"
            sortable="custom"
          />
@@ -74,9 +78,11 @@
            prop="stockname"
            label="存货类型"
            sortable="custom"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="lm_user"
            show-tooltip-when-overflow
            label="创建人员"
            sortable="custom"
          />
@@ -84,6 +90,7 @@
            prop="lm_date"
            label="创建时间"
            sortable="custom"
            show-tooltip-when-overflow
          />
          <el-table-column
            label="操作"
@@ -99,7 +106,6 @@
      </div>
      <!--分页-->
      <pagination
        v-show="total>0"
        :total="total"
        :page.sync="form.page"
        :limit.sync="form.rows"
@@ -326,6 +332,7 @@
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 250
        this.tableHeight = this.mainHeight - 100
        this.$refs.tableDataRef.doLayout()
      })
    }
  }
@@ -484,5 +491,12 @@
::v-deep .el-select-dropdown__item.selected{
  color: $main_color;
}
.tableFixed{
  ::v-deep .el-table__fixed-right{
    height: 100% !important;
  }
  ::v-deep .el-table__fixed{
    height: 100% !important;
  }
}
</style>