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