Commit 96e51b07 authored by 张海景's avatar 张海景

update:修改生产工单包装等字段的显示来源

parent 1ca19e20
......@@ -1489,20 +1489,28 @@ export default {
workorderSelect(id, index) {
console.log(id, '9999');
const row = this.feedbackForms[index];
const items = row.workorderList.find((item) => item.workorderId === id);
if (!id) {
row.printContents = row.arrangeCode;
row.tableDirectiveData = [];
row.tableSizeColumn = [];
row.tableSizeData = [];
row.packNum = ''
row.packType = ''
row.packUnitOfMeasure = ''
row.lossIndividuallyWrap = undefined
return;
} else {
if (row.isLastProcess) {
this.getWorkorderDirectiveList(id, index);
this.getWorkorderSizeList(id, index);
row.packNum = items.packNum
row.packType = items.packType
row.packUnitOfMeasure = items.packUnitOfMeasure
row.lossIndividuallyWrap = items.lossIndividuallyWrap
}
}
row.workorderId = id;
const items = row.workorderList.find((item) => item.workorderId === id);
row.workorderCode = items.workorderCode;
row.printName = items.workorderCode;
//row.printContents =row.arrangeCode+row.workorderCode
......
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