Commit 7e2e582b authored by chenzj's avatar chenzj

报工的二维码优化

parent f0af1f79
......@@ -2531,12 +2531,13 @@ export default {
}
let workunitName='';
console.log(item.taskId);
if (item.whether == '1') {
this.$u.api.getNextProcess({taskId:item.taskId}).then(workunit =>{
workunitName=workunit.data.workunitName;
console.log(item.arrangeCode,item.workorderCode,item.quantityQualify,workunitName);
let aa='编排单号:'+item.arrangeCode+'\n工单号:'+item.workorderCode+'\n数量:'+item.quantityQualify+'\n下一道工序:'+workunitName;
console.log(aa);
if (item.whether == '1') {
this.printPdfSocket({
reportName: 'mysql:qrcode-50*50-2',
values: {
......@@ -2554,8 +2555,8 @@ export default {
]
}
});
}
});
});
}
if (!res.msg) {
this.$u.toast('上报成功');
} else {
......
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