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