|
@@ -262,7 +262,8 @@
|
|
:disabled="
|
|
:disabled="
|
|
!attachment.cardId ||
|
|
!attachment.cardId ||
|
|
attachment.cardType === 'GENERIC' ||
|
|
attachment.cardType === 'GENERIC' ||
|
|
- !(!attachment.used && attachment.createId === user.id)
|
|
|
|
|
|
+ (attachment.cardId !== attachment.originCardId &&
|
|
|
|
+ attachment.used)
|
|
"
|
|
"
|
|
@click="toEditCard(attachment)"
|
|
@click="toEditCard(attachment)"
|
|
>编辑</el-button
|
|
>编辑</el-button
|
|
@@ -562,6 +563,11 @@ export default {
|
|
this.addAtachment();
|
|
this.addAtachment();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ this.paperAttachments = this.paperAttachments.map((aitem) => {
|
|
|
|
+ aitem.originCardId = aitem.cardId;
|
|
|
|
+ return aitem;
|
|
|
|
+ });
|
|
|
|
+
|
|
const pAttachment = this.paperAttachments.some((item) => !!item.paperId);
|
|
const pAttachment = this.paperAttachments.some((item) => !!item.paperId);
|
|
if (pAttachment) {
|
|
if (pAttachment) {
|
|
this.curTab = "tiku";
|
|
this.curTab = "tiku";
|