|
|
@ -350,6 +350,15 @@ const buttonTableClick = async (val, row) => { |
|
|
|
}) |
|
|
|
|
|
|
|
} else if (val == 'mainHandle') { // 处理 |
|
|
|
await ProductionreturnRequestDetailNoApi.getProductionreturnRequestDetailPage({ |
|
|
|
masterId: row.id |
|
|
|
}).then(res => { |
|
|
|
if (res.list) { |
|
|
|
if (res.list[0].packingNumber) { |
|
|
|
isCreateLabel.value = true |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
if (!isCreateLabel.value) { |
|
|
|
message.warning('请先创建标签') |
|
|
|
return |
|
|
|