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