Commit b50e09a6 authored by 张海景's avatar 张海景

update:修改生产工单列表显示

parent 96e51b07
...@@ -1797,13 +1797,7 @@ export default { ...@@ -1797,13 +1797,7 @@ export default {
whether: '', whether: '',
printTemplate: '', printTemplate: '',
tableDirectiveColumn: [ tableDirectiveColumn: [
{
name: 'reportQuantity',
label: '本次包装数量',
width: 130,
type: 'slot',
slot: 'reportQuantity'
},
{ {
name: 'clientCmd', name: 'clientCmd',
label: '指令号', label: '指令号',
...@@ -1829,7 +1823,13 @@ export default { ...@@ -1829,7 +1823,13 @@ export default {
label: '已包装数量', label: '已包装数量',
width: 130 width: 130
}, },
{
name: 'reportQuantity',
label: '本次包装数量',
width: 130,
type: 'slot',
slot: 'reportQuantity'
},
], ],
tableDirectiveData: [], tableDirectiveData: [],
tableSizeColumn: [], tableSizeColumn: [],
...@@ -1876,16 +1876,21 @@ export default { ...@@ -1876,16 +1876,21 @@ export default {
name: key, name: key,
label: element label: element
}; };
if (key === 'reportQuantity') {
obj.width = 130
obj.type = 'slot'
obj.slot = 'reportQuantity'
}
columns.push(obj); columns.push(obj);
} }
} }
columns.unshift({ // columns.unshift({
name: 'reportQuantity', // name: 'reportQuantity',
label: '本次包装数量', // label: '本次包装数量',
width: 130, // width: 130,
type: 'slot', // type: 'slot',
slot: 'reportQuantity' // slot: 'reportQuantity'
}) // })
row.tableSizeColumn = columns; row.tableSizeColumn = columns;
row.tableSizeData = res.data.sizeList; row.tableSizeData = res.data.sizeList;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment