|
@@ -38,7 +38,6 @@
|
|
|
</div>
|
|
|
<div class="warehouseList_content">
|
|
|
<Table :columns="tableColums"
|
|
|
- max-height="570"
|
|
|
:data="tableData"
|
|
|
border>
|
|
|
<template slot='set'
|
|
@@ -136,19 +135,19 @@ export default {
|
|
|
end_time: null,
|
|
|
},
|
|
|
tableColums: [
|
|
|
- { title: '物料分类', align: 'center', key: 'material_type_title', minWidth: 120 },
|
|
|
- { title: '物料名称', align: 'center', key: 'material_title', minWidth: 100 },
|
|
|
+ { title: '物料分类', align: 'center', key: 'material_type_title', resizable:true,width: 200 },
|
|
|
+ { title: '物料名称', align: 'center', key: 'material_title',resizable:true,width: 200 },
|
|
|
{
|
|
|
- title: '规格型号', align: 'center', key: 'renovation_type', minWidth: 200,
|
|
|
+ title: '规格型号', align: 'center', key: 'renovation_type',resizable:true,width: 200,
|
|
|
render: (h, params) => {
|
|
|
const { row } = params
|
|
|
let text = `L${row.long}*W${row.width}*H${row.high}`
|
|
|
return h('span', {}, text)
|
|
|
}
|
|
|
},
|
|
|
- { title: '计量单位', align: 'center', key: 'unit', minWidth: 120 },
|
|
|
+ { title: '计量单位', align: 'center', key: 'unit', resizable:true,width: 120 },
|
|
|
{
|
|
|
- title: '数量', align: 'center', key: 'num', minWidth: 100,
|
|
|
+ title: '数量', align: 'center', key: 'num', resizable:true,width: 200,
|
|
|
render: (h, params) => {
|
|
|
const { row, index } = params
|
|
|
const currentRow = JSON.parse(JSON.stringify(this.tableData[index]))
|
|
@@ -168,7 +167,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '单价', align: 'center', key: 'price', minWidth: 100,
|
|
|
+ title: '单价', align: 'center', key: 'price',resizable:true,width: 200,
|
|
|
render: (h, params) => {
|
|
|
const { row, index } = params
|
|
|
const currentRow = JSON.parse(JSON.stringify(this.tableData[index]))
|
|
@@ -188,7 +187,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '金额', align: 'center', key: 'total_price', minWidth: 100,
|
|
|
+ title: '金额', align: 'center', key: 'total_price', resizable:true,width: 200,
|
|
|
render: (h, params) => {
|
|
|
const { row, index } = params
|
|
|
const currentRow = JSON.parse(JSON.stringify(this.tableData[index]))
|
|
@@ -207,7 +206,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
- { title: '操作', align: 'center', key: 'set', slot: 'set', fixed: 'right', minWidth: 100 },
|
|
|
+ { title: '操作', align: 'center', key: 'set', slot: 'set', minWidth: 100 },
|
|
|
],
|
|
|
tableData: [],
|
|
|
page_index: 1,
|