✨ 异常上报弹窗附件支持在线预览
This commit is contained in:
@@ -2726,8 +2726,7 @@
|
||||
:key="index"
|
||||
type="primary"
|
||||
class="waybill-manage-page__exception-attachment-link"
|
||||
:href="file.url"
|
||||
target="_blank"
|
||||
@click="previewWaybillExceptionAttachment(file, row)"
|
||||
>
|
||||
{{ file.name || '附件' + (index + 1) }}
|
||||
</el-link>
|
||||
@@ -5578,6 +5577,9 @@ export default {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
previewWaybillExceptionAttachment(file, row) {
|
||||
this.previewAttachment(file, this.parseWaybillExceptionAttachments(row.attachmentsJson));
|
||||
},
|
||||
async submitWaybillExceptionEdit() {
|
||||
await this.$refs.waybillExceptionEditFormRef.validate();
|
||||
this.waybillExceptionDialog.submitting = true;
|
||||
|
||||
Reference in New Issue
Block a user