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