|
|
@ -315,11 +315,11 @@ const buttonTableClick = async (val, row) => { |
|
|
|
// 删除 |
|
|
|
handleDelete(row.id) |
|
|
|
} else if (val == 'ssbq') { |
|
|
|
await SupplierdeliverRequestMainApi.selfCheckReport(row.id).then(async (res) => { |
|
|
|
if(!res){ |
|
|
|
message.warning("请先上传自检报告!") |
|
|
|
return |
|
|
|
}else{ |
|
|
|
// await SupplierdeliverRequestMainApi.selfCheckReport(row.id).then(async (res) => { |
|
|
|
// if(!res){ |
|
|
|
// message.warning("请先上传自检报告!") |
|
|
|
// return |
|
|
|
// }else{ |
|
|
|
// 生成标签 |
|
|
|
detatableData.params = { |
|
|
|
masterId:row.id |
|
|
@ -327,10 +327,10 @@ const buttonTableClick = async (val, row) => { |
|
|
|
genLabelId.value = row.id |
|
|
|
await getDetailList() |
|
|
|
formLabelRef.value.open('create', row, null,'createLabel')//创建标签页面 createLabel 标题 |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|
console.log("自检报告校验异常",err) |
|
|
|
}) |
|
|
|
// } |
|
|
|
// }).catch(err => { |
|
|
|
// console.log("自检报告校验异常",err) |
|
|
|
// }) |
|
|
|
} else if (val == 'point') { |
|
|
|
// 标签打印 |
|
|
|
labelPrint(row) |
|
|
|