|
@@ -295,7 +295,8 @@
|
|
|
:disabled="
|
|
|
!attachment.cardId ||
|
|
|
attachment.cardType === 'GENERIC' ||
|
|
|
- !(!attachment.used && attachment.createId === user.id)
|
|
|
+ (attachment.cardId !== attachment.originCardId &&
|
|
|
+ attachment.used)
|
|
|
"
|
|
|
@click="toEditCard(attachment)"
|
|
|
>编辑</el-button
|
|
@@ -578,6 +579,7 @@ export default {
|
|
|
: [];
|
|
|
paperAttachmentIds.forEach((aitem) => {
|
|
|
aitem.serialNumber = item.serialNumber;
|
|
|
+ aitem.originCardId = item.cardId;
|
|
|
});
|
|
|
return {
|
|
|
...item,
|