loulijun2021
2022-09-23 2c59863afca9475562c4c3a99e66b4b4a4122b0f
src/views/bbgl/wwgx.vue
@@ -1,4 +1,3 @@
<template>
  <div>
    <div class="body" :style="{height:mainHeight+'px'}">
@@ -43,7 +42,11 @@
                />
              </el-select>
            </el-form-item>
            <el-form-item v-show="isExpandForm" style="display: flex;align-items: center" :label="form.type==='F'?'发料时间':'收料时间'">
            <el-form-item
              v-show="isExpandForm"
              style="display: flex;align-items: center"
              :label="form.type==='F'?'发料时间':'收料时间'"
            >
              <el-date-picker
                v-model="form.receivdate"
                type="daterange"
@@ -79,6 +82,8 @@
      <div class="elTableDiv" style="margin-top: 0">
        <el-table
          ref="tableDataRef"
          class="tableFixed"
          :data="tableData"
          :height="isExpandForm?tableHeight:(tableHeight+40)+'px'"
          border
@@ -286,7 +291,14 @@
    </el-dialog>
    <!--导入组件-->
    <import-picker ref="importPickerFunc" class="importPickerClass" :shows.sync="shows" :title="title_value" :colos="colos" :code="code" />
    <import-picker
      ref="importPickerFunc"
      class="importPickerClass"
      :shows.sync="shows"
      :title="title_value"
      :colos="colos"
      :code="code"
    />
  </div>
</template>
@@ -529,6 +541,7 @@
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 85
        this.tableHeight = this.mainHeight - 245
        this.$refs.tableDataRef.doLayout()
      })
    },
    tableRowClassName({ row, rowIndex }) {
@@ -544,12 +557,15 @@
::v-deep .el-range__icon{
  line-height: 28px !important;
}
::v-deep .el-range-separator{
  line-height: 28px !important;
}
::v-deep .el-range-input{
  font-size: 14px;
}
::v-deep .el-range-separator{
  display: flex;
  justify-content: center;
@@ -560,10 +576,12 @@
  font-size: 14px ;
  cursor: pointer ;
}
.el-icon-share ,.el-icon-delete,.el-icon-edit-outline{
  color: $main_color;
  cursor: pointer;
}
.el-icon-edit-outline{
  margin-right: 15px;
}
@@ -652,6 +670,16 @@
  align-items: center;
  justify-content: center;
}
.tableFixed {
  ::v-deep .el-table__fixed-right {
    height: 100% !important;
  }
  ::v-deep .el-table__fixed {
    height: 100% !important;
  }
}
</style>
<style>