loulijun2021
2023-04-19 c1f8cf3bad440828a0c1bcad7a2b0d9deb70a9ae
1.到货通知单功能实现
已添加1个文件
已修改4个文件
838 ■■■■■ 文件已修改
src/api/purchasesManager.js 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kanbanManager/cgdd.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/purchasesManager/arrivalNoticeList.vue 796 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSettings/codingRules.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/purchasesManager.js
@@ -51,3 +51,31 @@
    params: data
  })
}
/*
采购到货单
* */
// é‡‡è´­åˆ°è´§å•查询
export function PurchaseArrivalOrderSearch(data) {
  return request({
    url: 'PurchaseOrder/PurchaseArrivalOrderSearch',
    method: 'get',
    params: data
  })
}
// é‡‡è´­åˆ°è´§å•明细
export function PurchaseArrivalOrderSubSearch(data) {
  return request({
    url: 'PurchaseOrder/PurchaseArrivalOrderSubSearch',
    method: 'get',
    params: data
  })
}
// é‡‡è´­åˆ°è´§å•关闭
export function ClosedPurchaseArrivalOrder(data) {
  return request({
    url: 'PurchaseOrder/ClosedPurchaseArrivalOrder',
    method: 'post',
    params: data
  })
}
src/router/index.js
@@ -646,6 +646,12 @@
        code: '1201',
        component: () => import('@/views/purchasesManager/purchasesList'),
        meta: { code: '1201', title: '采购订单', icon: '', keepAlive: true }
      }, {
        path: 'arrivalNoticeList',
        name: 'arrivalNoticeListCancel',
        code: '1202',
        component: () => import('@/views/purchasesManager/arrivalNoticeList'),
        meta: { code: '1202', title: '到货通知单', icon: '', keepAlive: true }
      }
    ]
  }
src/views/kanbanManager/cgdd.vue
@@ -401,13 +401,13 @@
            divData.scrollTop = 0
            PurchaseRight().then(res => {
              this.tableDataRank = res.data
              if (this.tableDataRank.length > 21) {
              if (this.tableDataRank.length > 23) {
                clearInterval(this.PurchaseRight)
                this.getPurchaseRight()
              }
            })
          }
        }, this.tableDataRank.length <= 21 ? 1000 * 3 : 100)
        }, this.tableDataRank.length <= 23 ? 1000 * 3 : 100)
      })
    },
    tableRowClassName({ row, rowIndex }) {
src/views/purchasesManager/arrivalNoticeList.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,796 @@
<template>
  <div>
    <div class="body" :style="{height:mainHeight+'px'}">
      <!--      <div class="bodyTopButtonGroup" style="justify-content: space-between">-->
      <!--        <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button>-->
      <!--        <el-button v-waves icon="el-icon-download" @click="upload">导入</el-button>-->
      <!--      </div>-->
      <div class="bodyTopFormGroup" style="margin-top: 10px;">
        <el-form
          ref="form"
          :model="form"
          label-width="100px"
          inline
          style="display: flex;"
        >
          <div class="elForm">
            <el-form-item label="单据状态" style=" display: flex;">
              <el-select
                v-model="form.orderstatus"
                filterable
                :popper-append-to-body="false"
                style="width: 200px"
                placeholder="请选择"
              >
                <el-option
                  v-for="item in orderstatusArr"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                />
              </el-select>
            </el-form-item>
            <el-form-item label="到货单号" style=" display: flex;">
              <el-input v-model="form.mesordercode" placeholder="请输入" style="width: 200px" />
            </el-form-item>
            <el-form-item label="部门信息" style=" display: flex;">
              <el-select
                v-model="form.departmentcode"
                filterable
                :popper-append-to-body="false"
                style="width: 200px"
                placeholder="请选择"
              >
                <el-option
                  v-for="item in departmentcodeArr"
                  :key="item.code"
                  :label="item.name"
                  :value="item.code"
                />
              </el-select>
            </el-form-item>
            <el-form-item label="单据日期" style="display: flex;font-size: 14px;align-items: center">
              <el-date-picker
                v-model="form.orderdate"
                type="daterange"
                range-separator="~"
                class="timeMini"
                size="mini"
                style="width: 200px;display: flex;line-height: 34px;height: 34px;"
                :clearable="false"
                start-placeholder="开始日期"
                end-placeholder="结束日期"
              />
            </el-form-item>
            <el-form-item v-show="isExpandForm" label="源单单号" style=" display: flex;">
              <el-input v-model="form.sourceorder" placeholder="请输入" style="width: 200px" />
            </el-form-item>
            <el-form-item v-show="isExpandForm" label="采购供方" style=" display: flex;">
              <el-select
                v-model="form.customercode"
                filterable
                :popper-append-to-body="false"
                style="width: 200px"
                placeholder="请选择"
              >
                <el-option
                  v-for="item in customercodeArr"
                  :key="item.code"
                  :label="item.name"
                  :value="item.code"
                />
              </el-select>
            </el-form-item>
            <el-form-item v-show="isExpandForm" label="创建人员" style=" display: flex;">
              <el-input v-model="form.creatuser" style="width: 200px" placeholder="请输入" />
            </el-form-item>
            <el-form-item v-show="isExpandForm" label="到货时间" style=" display: flex;font-size: 14px;align-items: center">
              <el-date-picker
                v-model="form.arrivaldate"
                type="daterange"
                range-separator="~"
                class="timeMini"
                size="mini"
                style="width: 200px;display: flex;line-height: 34px;height: 34px;"
                :clearable="false"
                start-placeholder="开始日期"
                end-placeholder="结束日期"
              />
            </el-form-item>
          </div>
          <div
            class="bodySearchReset"
            :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"
          >
            <el-button v-waves type="primary" icon="el-icon-search" @click="search">查询</el-button>
            <el-button v-waves type="info" icon="el-icon-refresh" @click="reset">重置</el-button>
          </div>
        </el-form>
        <div
          class="bodyTopFormExpand"
        >
          <svg-icon
            v-show="mouseHoverType==='mouseout'"
            style="cursor: pointer"
            :icon-class="!isExpandForm?'doubleDown3':'doubleUp3'"
            @mouseenter="mouseHoverType=$event.type"
          />
          <svg-icon
            v-show="mouseHoverType==='mouseenter'"
            style="cursor: pointer"
            :icon-class="!isExpandForm?'doubleDown':'doubleUp'"
            @click="isExpandForm=!isExpandForm"
            @mouseout="mouseHoverType=$event.type"
          />
        </div>
      </div>
      <div class="elTableDiv">
        <TableColumnSettings
          :list1="tableColumnSettingsArray"
          @tableColumnUpdate="tableColumnUpdate"
        />
        <el-table
          ref="tableDataRef"
          :key="tableTimeStampKey"
          class="tableFixed"
          :data="tableData"
          :height="isExpandForm?(tableHeight):(tableHeight+40)+'px'"
          border
          :row-class-name="tableRowClassName"
          :style="{width: 100+'%',height:isExpandForm?(tableHeight):(tableHeight+40)+'px'}"
          highlight-current-row
          :header-cell-style="this.$headerCellStyle"
          :cell-style="this.$cellStyle"
          @sort-change="sortChange"
          @row-click="rowClick"
        >
          <el-table-column
            width="50"
            fixed
          >
            <template slot-scope="{row}">
              <el-radio
                v-model="radioSelected"
                :label="row.hbillno"
                style="color: transparent;padding-left: 10px;"
              />
            </template>
          </el-table-column>
          <el-table-column
            v-for="item in tableColumnSettingsArray"
            v-if="item.show"
            :key="item.id"
            :sortable="item.sortable"
            :prop="item.prop"
            :min-width="item.minWidth"
            :label="item.label"
            :width="item.width"
            show-tooltip-when-overflow
            :fixed="item.fixed?(item.fixed==='left'?'left':'right'):false"
          >
            <template slot-scope="{row}">
              <div v-if="!row[item.prop]">/</div>
              <div v-else-if="item.prop==='hbillstaus'">
                {{ orderstatusArr.find(i => i.value === row[item.prop]).label }}
              </div>
              <div v-else-if="item.prop==='hdate'">
                {{ row.hdate ? row.hdate.substring(0, 11) : '/' }}
              </div>
              <div v-else-if="item.prop==='hacceptdate'">
                {{ row.hacceptdate ? row.hacceptdate.substring(0, 11) : '/' }}
              </div>
              <div v-else>{{ row[item.prop] }}</div>
            </template>
          </el-table-column>
          <el-table-column
            label="操作"
            width="120"
            fixed="right"
          >
            <template slot-scope="{row}">
              <div class="operationClass">
                <el-tooltip v-del-tab-index class="item" effect="dark" content="关闭" placement="top">
                  <i
                    class="el-icon-switch-button"
                    :style="{color:$store.state.settings.theme}"
                    style=" cursor: pointer"
                    @click="switchButton(row)"
                  />
                </el-tooltip>
              </div>
            </template>
          </el-table-column>
        </el-table>
      </div>
      <!--分页-->
      <pagination
        :total="total"
        :page.sync="form.page"
        :limit.sync="form.rows"
        align="right"
        layout="total,prev, pager, next,sizes"
        popper-class="select_bottom"
        @pagination="getPurchaseArrivalOrderSearch"
      />
      <div class="elTableDiv">
        <el-table
          ref="tableDataRef2"
          :data="tableDataDetail"
          border
          height="210px"
          :row-class-name="tableRowClassName"
          highlight-current-row
          :header-cell-style="this.$headerCellStyle"
          :cell-style="this.$cellStyle"
        >
          <el-table-column
            width="50"
            type="index"
            label="序号"
            fixed
          />
          <el-table-column
            prop="partcode"
            label="产品编号"
            width="160"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="partname"
            label="产品名称"
            width="200"
            show-tooltip-when-overflow
          />
          <el-table-column
            label="产品规格"
            prop="partspec"
            show-tooltip-when-overflow
            width="150"
          >
            <template slot-scope="{row}">
              <div v-if="row.partspec">{{ row.partspec }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            label="单位"
            show-tooltip-when-overflow
            prop="uom_name"
            width="100"
          />
          <el-table-column
            label="到货数量"
            show-tooltip-when-overflow
            prop="hqty"
          />
          <el-table-column
            label="入库数量"
            show-tooltip-when-overflow
            prop="hqty1"
          >
            <template slot-scope="{row}">
              <div v-if="row.hqty1">{{ row.hqty1 }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            label="退货数量"
            show-tooltip-when-overflow
            prop="hreturnqty"
          >
            <template slot-scope="{row}">
              <div v-if="row.hreturnqty!==null">{{ row.hreturnqty }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            label="预计到货日期"
            show-tooltip-when-overflow
            prop="hacceptdate"
          >
            <template slot-scope="{row}">
              <div v-if="row.hacceptdate">{{ row.hacceptdate.substring(0, 11) }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            label="仓库"
            show-tooltip-when-overflow
            prop="hstorehousename"
          >
            <template slot-scope="{row}">
              <div v-if="row.hstorehousename">{{ row.hstorehousename }}</div>
              <div v-else>/</div>
            </template>
          </el-table-column>
          <el-table-column
            label="是否检验"
            show-tooltip-when-overflow
            prop="hcheckstaus"
          >
            <template slot-scope="{row}">
              <div v-if="row.hcheckstaus==='Y'">
                <i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
                æ˜¯
              </div>
              <div v-if="row.hcheckstaus==='N'">
                <i class="el-icon-info" style="margin-right: 2px" />
                å¦
              </div>
            </template>
          </el-table-column>
          <el-table-column
            label="操作"
            width="120"
            fixed="right"
          >
            <template slot-scope="{row}">
              <div class="operationClass">
                <el-tooltip class="item" effect="dark" content="查看详情" placement="top">
                  <i
                    class="el-icon-view"
                    :style="{color:$store.state.settings.theme}"
                    style="cursor: pointer;"
                    @click="$message.info('暂无权限!')"
                  />
                </el-tooltip>
              </div>
            </template>
          </el-table-column>
        </el-table>
      </div>
    </div>
  </div>
</template>
<script>
import Pagination from '@/components/Pagination'
import elDragDialog from '@/directive/el-drag-dialog'
import waves from '@/directive/waves'
import TableColumnSettings from '@/components/TableColumnSettings'
import {
  ClosedPurchaseArrivalOrder,
  PurchaseArrivalOrderSearch,
  PurchaseArrivalOrderSubSearch
} from '@/api/purchasesManager'
import { DepartMentSelect, PurchSupplierSelect } from '@/api/basicInfo'
import { handleDatetime } from '@/utils/global'
export default {
  name: 'Zzjg',
  components: {
    Pagination, TableColumnSettings
  },
  directives: { elDragDialog, waves },
  data() {
    return {
      mouseHoverType: 'mouseout',
      isExpandForm: false,
      mainHeight: 0,
      tableHeight: 0,
      form: {
        orderstatus: '', // å•据状态(默认全部)
        mesordercode: '', // åˆ°è´§å•号
        departmentcode: '', // éƒ¨é—¨ç¼–码
        customercode: '', // ä¾›åº”商编码
        orderdate: '', // å•据日期
        sourceorder: '', // æºå•单号(采购订单号)
        creatuser: '', // åˆ›å»ºäººå‘˜
        arrivaldate: '', // é¢„计到货日期
        prop: 'hdate', // æŽ’序字段
        order: 'desc', // æŽ’序字段
        page: 1, // ç¬¬å‡ é¡µ
        rows: 20 // æ¯é¡µå¤šå°‘条
      },
      orderstatusArr: [// è®¢å•状态
        { label: '正常', value: 'NEW' },
        { label: '关闭', value: 'CLOSED' }
      ],
      departmentcodeArr: [], // éƒ¨é—¨æ•°ç»„
      customercodeArr: [], // ä¾›åº”商数组
      total: 10,
      tableData: [],
      tableColumnSettingsArray: [
        // { minWidth: 50, width: false, prop: 'id', label: 'id', id: 1, show: false, fixed: false, sortable: false }, // éšè—åˆ—  show: false隐藏,true显示
        { minWidth: 25, width: 50, prop: 'RowNum', label: '序号', id: 2, show: true, fixed: 'left', sortable: false }, // custom
        {
          minWidth: 110,
          width: false,
          prop: 'hbillstaus',
          label: '订单状态',
          id: 3,
          show: true,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 110,
          width: false,
          prop: 'hdate',
          label: '单据日期',
          id: 4,
          show: true,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 110,
          width: false,
          prop: 'hbillno',
          label: '单据编号',
          id: 5,
          show: true,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 110,
          width: false,
          prop: 'hdepartmentcode',
          label: '部门名称编码',
          id: 6,
          show: false,
          fixed: false,
          sortable: true
        }, {
          minWidth: 110,
          width: false,
          prop: 'hdepartmentname',
          label: '部门名称',
          id: 7,
          show: true,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 110,
          width: false,
          prop: 'hcustomercode',
          label: '往来单位编码',
          id: 8,
          show: false,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 220,
          width: false,
          prop: 'hcustomername',
          label: '往来单位',
          id: 9,
          show: true,
          fixed: false,
          sortable: true
        }, {
          minWidth: 110,
          width: false,
          prop: 'hsourcebillno',
          label: '源单单号',
          id: 10,
          show: true,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 130,
          width: false,
          prop: 'hacceptdate',
          label: '预计到货时间',
          id: 11,
          show: true,
          fixed: false,
          sortable: true
        },
        {
          minWidth: 110,
          width: false,
          prop: 'usercode',
          label: '创建人员',
          id: 12,
          show: true,
          fixed: false,
          sortable: true
        }
      ],
      tableTimeStampKey: new Date().getTime(), // è¡¨æ ¼key
      radioSelected: '',
      tableDataDetail: []// å­è¡¨
    }
  },
  created() {
    this.handleRequest()
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
  },
  methods: {
    tableColumnUpdate(val, isCopyTrue) {
      if (isCopyTrue) {
        this.tableColumnSettingsArray = val
      }
      this.tableTimeStampKey = new Date().getTime()
      this.$refs.tableDataRef.doLayout()
    },
    handleRequest() {
      this.getPurchaseArrivalOrderSearch().then(res => {
        if (res.code === '200') {
          this.getDepartMentSelect()
          this.getPurchSupplierSelect()
        }
      })
    },
    async getPurchaseArrivalOrderSearch() {
      let tempDate2 = this.form.orderdate
      if (tempDate2.length > 0) {
        tempDate2 = handleDatetime(tempDate2[0]) + '~' + handleDatetime(tempDate2[1])
      }
      let tempDate = this.form.arrivaldate
      if (tempDate.length > 0) {
        tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
      }
      const data = {
        orderstatus: this.form.orderstatus, // å•据状态(默认全部)
        mesordercode: this.form.mesordercode, // åˆ°è´§å•号
        departmentcode: this.form.departmentcode, // éƒ¨é—¨ç¼–码
        customercode: this.form.customercode, // ä¾›åº”商编码
        orderdate: tempDate2, // å•据日期
        sourceorder: this.form.sourceorder, // æºå•单号(采购订单号)
        creatuser: this.form.creatuser, // åˆ›å»ºäººå‘˜
        arrivaldate: tempDate, // é¢„计到货日期
        prop: this.form.prop, // æŽ’序字段
        order: this.form.order, // æŽ’序字段
        page: this.form.page, // ç¬¬å‡ é¡µ
        rows: this.form.rows // æ¯é¡µå¤šå°‘条
      }
      const res = await PurchaseArrivalOrderSearch(data)
      this.tableData = res.data
      this.total = res.count
      return { code: res.code }
    },
    // èŽ·å–éƒ¨é—¨ä¿¡æ¯
    async getDepartMentSelect() {
      const { data: res } = await DepartMentSelect()
      this.departmentcodeArr = res
    },
    async getPurchSupplierSelect() {
      const { data: res } = await PurchSupplierSelect()
      this.customercodeArr = res
    },
    // æŽ’序改变时
    sortChange({ column, prop, order }) {
      if (order === 'descending') {
        order = 'desc'
      } else if (order === 'ascending') {
        order = 'asc'
      } else {
        order = 'desc'
      }
      this.form.order = order
      this.form.prop = prop
      this.getPurchaseArrivalOrderSearch()
    },
    //  è¡Œç‚¹å‡»äº‹ä»¶
    async rowClick(row, event, column) {
      this.radioSelected = row.hbillno
      const { data: res } = await PurchaseArrivalOrderSubSearch({ arrivelodercode: this.radioSelected })
      this.tableDataDetail = res
    },
    // æŸ¥è¯¢
    search() {
      this.getPurchaseArrivalOrderSearch()
    },
    // é‡ç½®
    reset() {
      this.form.orderstatus = '', // å•据状态(默认全部)
      this.form.mesordercode = '', // åˆ°è´§å•号
      this.form.departmentcode = '', // éƒ¨é—¨ç¼–码
      this.form.customercode = '', // ä¾›åº”商编码
      this.form.orderdate = '', // å•据日期
      this.form.sourceorder = '', // æºå•单号(采购订单号)
      this.form.creatuser = '', // åˆ›å»ºäººå‘˜
      this.form.arrivaldate = '', // é¢„计到货日期
      this.getPurchaseArrivalOrderSearch()
    },
    // å…³é—­æŒ‰é’®
    async switchButton(row) {
      this.$confirm('是否确认关闭?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        ClosedPurchaseArrivalOrder({ arrivelodercode: row.hbillno }).then(res => {
          if (res.code === '200') {
            this.$message.success('关闭成功!')
            if (this.form.page > 1 && this.tableData.length === 1) {
              this.form.page--
            }
            this.getPurchaseArrivalOrderSearch()
          }
        })
      }).catch(() => {
        this.$message.info('已取消关闭')
      })
    },
    // èŽ·å–é¡µé¢é«˜åº¦
    getHeight() {
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 85
        this.tableHeight = this.mainHeight - 425
        this.$refs.tableDataRef.doLayout()
        this.$refs.tableDataRef2.doLayout()
      })
    },
    tableRowClassName({ row, rowIndex }) {
      return 'custom-row'
    }
  }
}
</script>
<!--公共页面样式-->
<style lang="scss" scoped>
$main_color: #42b983;
::v-deep .el-radio__label {
  display: none !important;
}
::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;
  align-items: center;
}
::v-deep .el-button--text {
  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;
}
::v-deep .el-button--primary, .el-button--default, .el-button--info {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
::v-deep .el-button--primary {
  //background-color: $main_color !important;
}
::v-deep .el-button--default {
  background-color: #f8f8fa;
  border: none;
}
::v-deep .el-input__inner {
  height: 34px;
  line-height: 34px;
  //color: #a7a7a7;
}
::v-deep .el-dialog__body {
  padding: 20px 100px !important;
}
::v-deep .dialogVisibleRoles .el-dialog__body {
  padding: 20px 20px !important;
}
::v-deep .importPickerClass .el-dialog__body {
  padding: 20px 20px !important;
}
::v-deep .el-dialog__footer {
  display: flex;
  justify-content: flex-end;
}
::v-deep .el-table .caret-wrapper {
  transform: scale(0.8);
}
::v-deep .cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
::v-deep .el-table::before {
  height: 0;
}
::v-deep .el-table__body-wrapper {
  background-color: #f8f8fa;
}
::v-deep .el-table__body .el-table__row.hover-row td {
  background-color: #eaecef;
}
::v-deep .el-form--inline .el-form-item__label {
  color: #a7a7a7;
}
.body ::v-deep .el-divider {
  border: 1px solid #eee;
  width: 99%;
  margin: 10px auto;
}
.body ::v-deep .el-form-item {
  margin-bottom: 0;
}
.userDialogVisible ::v-deep .el-form-item {
  margin-bottom: 0;
}
::v-deep .el-select__caret {
  display: flex;
  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>
.el-table .custom-row {
  background: #f8f8fa;
}
</style>
src/views/systemSettings/codingRules.vue
@@ -1,7 +1,7 @@
<template>
  <div>
    <div class="body" :style="{height:mainHeight+'px'}">
      <div class="bodyTopFormGroup">
      <div class="bodyTopFormGroup" style="margin-top: 10px;">
        <el-form
          ref="form"
          :model="form"
@@ -418,7 +418,7 @@
    getHeight() {
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 85
        this.tableHeight = this.mainHeight - 135
        this.tableHeight = this.mainHeight - 145
        this.$refs.tableDataRef.doLayout()
      })
    }