|
@@ -17,20 +17,20 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
type="selection"
|
|
type="selection"
|
|
|
width="55"
|
|
width="55"
|
|
|
- fixed
|
|
|
|
|
|
|
+ fixed="left"
|
|
|
align="center">
|
|
align="center">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="rowno"
|
|
prop="rowno"
|
|
|
label="行号"
|
|
label="行号"
|
|
|
- fixed
|
|
|
|
|
- width="50">
|
|
|
|
|
|
|
+ width="50"
|
|
|
|
|
+ fixed="left">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="itemname"
|
|
prop="itemname"
|
|
|
label="产品名称"
|
|
label="产品名称"
|
|
|
- fixed
|
|
|
|
|
- width="180">
|
|
|
|
|
|
|
+ width="180"
|
|
|
|
|
+ fixed="left">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="itemno"
|
|
prop="itemno"
|
|
@@ -543,12 +543,18 @@ export default {
|
|
|
|
|
|
|
|
})
|
|
})
|
|
|
console.log(this.columnTitle)
|
|
console.log(this.columnTitle)
|
|
|
|
|
+ },
|
|
|
|
|
+ watch:{
|
|
|
|
|
+ listData () {
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ this.$refs.mutipleTable.doLayout();
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
</script>
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
-/deep/.el-table__fixed, .el-table__fixed-right{
|
|
|
|
|
-height: calc(100% - 20px) !important;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|