feat:禅道399装炉压板出炉板段打签加炉号

This commit is contained in:
shijing 2026-05-09 14:05:42 +08:00
parent a0b50cdc63
commit 396c7343be
1 changed files with 4 additions and 1 deletions

View File

@ -293,8 +293,11 @@ that.$API.wpm.prints.req(printer_ip, obj).then((response) => {
oinfo.push(row.oinfo[key])
}
let data = {sigao:'',duibian:'',moban:'',hengya:'',istest:'否',number:row.number,name:name,ofrom_name:that.ofromName,ofrom_batch:that.ofromBatch};
if(that.route_code=='zhuangmo'||that.route_code=='zlybcl'||that.route_code=='tuomoceliang'||that.route_code=='reyatuihuo'||that.route_code=='banduangunyuan'){
if(that.route_code=='zhuangmo'||that.route_code=='tuomoceliang'||that.route_code=='reyatuihuo'||that.route_code=='banduangunyuan'){
params.label_template_name = '脱膜测量单件标签模板';
}else if(that.route_code=='zlybcl'){
data.luhao = row.data.装炉压板出炉_设备编号?row.data.装炉压板出炉_设备编号:'';
params.label_template_name = '装炉压板出炉单件标签模板';
}else{
params.label_template_name = '排扳单件打印模板';
}