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

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

parent 96e51b07
......@@ -1797,13 +1797,7 @@ export default {
whether: '',
printTemplate: '',
tableDirectiveColumn: [
{
name: 'reportQuantity',
label: '本次包装数量',
width: 130,
type: 'slot',
slot: 'reportQuantity'
},
{
name: 'clientCmd',
label: '指令号',
......@@ -1829,7 +1823,13 @@ export default {
label: '已包装数量',
width: 130
},
{
name: 'reportQuantity',
label: '本次包装数量',
width: 130,
type: 'slot',
slot: 'reportQuantity'
},
],
tableDirectiveData: [],
tableSizeColumn: [],
......@@ -1876,16 +1876,21 @@ export default {
name: key,
label: element
};
if (key === 'reportQuantity') {
obj.width = 130
obj.type = 'slot'
obj.slot = 'reportQuantity'
}
columns.push(obj);
}
}
columns.unshift({
name: 'reportQuantity',
label: '本次包装数量',
width: 130,
type: 'slot',
slot: 'reportQuantity'
})
// columns.unshift({
// name: 'reportQuantity',
// label: '本次包装数量',
// width: 130,
// type: 'slot',
// slot: 'reportQuantity'
// })
row.tableSizeColumn = columns;
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