我想去掉右侧的滚动条,高度设置无效,怎么解决呢
<template>
<el-dialog
title="选择需要新增的入库单明细"
:visible.sync="visible"
width="1700px"
append-to-body
:close-on-click-modal="false"
>
<el-form :inline="true" :model="queryParams">
<el-form-item label="名称">
<el-input
size="small"
v-model="queryParams.material.name"
@keyup.enter.native="queryToolInventory"
/>
</el-form-item>
<el-form-item label="出厂编号">
<el-input
size="small"
v-model="queryParams.toolCode"
@keyup.enter.native="queryToolInventory"
/>
</el-form-item>
<el-form-item label="规格型号">
<el-input
size="small"
v-model="queryParams.material.invspec"
@keyup.enter.native="queryToolInventory"
/>
</el-form-item>
<el-form-item label="层架位码">
<el-input
size="small"
v-model="queryParams.params.positionCode"
@keyup.enter.native="queryToolInventory"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" size="mini" @click="queryToolInventory">
查询
</el-button>
<el-button size="mini" @click="resetQueryToolInventory">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="20">
<el-col :span="11">
<el-table
ref="toolInventoryList"
v-loading="leftLoading"
:data="toolInventoryList"
:row-key="getRowKey"
:row-style="rowStyle"
fit
highlight-current-row
@selection-change="leftSelectionChange"
border
>
<el-table-column
type="selection"
width="55"
align="center"
:reserve-selection="true"
/>
<el-table-column
label="货位id"
align="center"
prop="locationId"
v-if="false"
/>
<el-table-column
label="物料编码"
align="center"
prop="material.code"
:show-overflow-tooltip="true"
/>
<el-table-column
label="物料名称"
align="center"
prop="material.name"
:show-overflow-tooltip="true"
/>
<el-table-column
label="货位编码"
align="center"
prop="cargoLocation.code"
:show-overflow-tooltip="true"
/>
<el-table-column label="可用数量" align="center" prop="quantity">
<template slot-scope="scope">
{{ scope.row.quantity - scope.row.frozenQuantity }}
</template>
</el-table-column>
</el-table>
<pagination
v-show="leftTotal > 0"
:total="leftTotal"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getToolInventoryList"
:page-sizes="[5]"
/>
</el-col>
<el-col :span="2" style="text-align: center">
<el-button
@click="addStaff"
type="primary"
:disabled="!addData.length"
icon="el-icon-arrow-right"
circle
/>
<el-button
@click="removeStaff"
type="primary"
:disabled="!removeData.length"
icon="el-icon-arrow-left"
circle
style="margin-left: 0; margin-top: 10px"
/>
</el-col>
<el-col :span="11">
<el-table
ref="selectedToolInventoryList"
v-loading="rightLoading"
:data="rightPageList"
:row-key="getRowKey"
border
fit
highlight-current-row
@selection-change="rightSelectionChange"
>
<el-table-column
type="selection"
width="55"
align="center"
:reserve-selection="true"
/>
<el-table-column
label="货位id"
align="center"
prop="locationId"
v-if="false"
/>
<el-table-column
label="物料编码"
align="center"
prop="materialCode"
:show-overflow-tooltip="true"
/>
<el-table-column
label="物料名称"
align="center"
prop="materialName"
:show-overflow-tooltip="true"
/>
<el-table-column
label="货位编码"
align="center"
prop="locationCode"
:show-overflow-tooltip="true"
/>
<el-table-column label="借用数量" prop="quantity" align="center">
<template slot-scope="{ row }">
<el-input-number
style="width: 100%"
:max="row.usableQuantity"
:min="1"
v-model="row.lendNumber"
placeholder="点击修改数量"
/>
</template>
</el-table-column>
</el-table>
<pagination
v-show="rightTotal > 0"
:total="rightTotal"
:page.sync="rightPageNum"
:limit.sync="rightPageSize"
@pagination="handleRightPage"
:page-sizes="[5]"
/>
</el-col>
</el-row>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="batchSubmit">确 定</el-button>
<el-button @click="visible = false">取 消</el-button>