|
|
|
@ -514,19 +514,14 @@ |
|
|
|
|
|
|
|
<el-tab-pane label="附件信息" name="attachmentInfo"> |
|
|
|
<div style="height: 635px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" style="margin-top: -15px;"> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button type="primary" icon="el-icon-upload" @click="uploadDialog = true">上传附件</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<oss-components |
|
|
|
ref="modalAttachmentOss" |
|
|
|
:save-visible="false" |
|
|
|
:download-visible="false" |
|
|
|
:remove-visible="false" |
|
|
|
:preview-visible="false" |
|
|
|
:save-visible="authFileSave" |
|
|
|
:download-visible="authFileDownLoad" |
|
|
|
:remove-visible="authFileRemove" |
|
|
|
:preview-visible="authFilePreview" |
|
|
|
:row-click-select="true" |
|
|
|
:disabled="true" |
|
|
|
:disabled="modalData.status === '已完成'" |
|
|
|
label="序列号" |
|
|
|
:height="560" |
|
|
|
style="margin-top: 2px" |
|
|
|
@ -547,18 +542,6 @@ |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<upload-file-list |
|
|
|
v-if="modalFlag" |
|
|
|
folder="rohs" |
|
|
|
order-ref3="rohsAttachment" |
|
|
|
title="RoHS 附件上传" |
|
|
|
:label="'序列号'" |
|
|
|
:file-list.sync="fileList" |
|
|
|
:no="modalData.referenceNo" |
|
|
|
:upload-dialog.sync="uploadDialog" |
|
|
|
path="/upload/test"> |
|
|
|
</upload-file-list> |
|
|
|
|
|
|
|
<!--选择项目模态框--> |
|
|
|
<el-dialog title="选择-项目" :close-on-click-modal="false" @close="closeProjectInfoDialog" |
|
|
|
@open="searchProjectInfoList" :visible.sync="chooseProjectListFlag" width="35%"> |
|
|
|
@ -1232,7 +1215,6 @@ export default { |
|
|
|
], |
|
|
|
|
|
|
|
modalFlag: false, |
|
|
|
uploadDialog: false, |
|
|
|
chooseProjectListFlag: false, |
|
|
|
projectMaterialDialogFlag: false, |
|
|
|
searchProjectData: { |
|
|
|
@ -1271,7 +1253,6 @@ export default { |
|
|
|
operatorId: '', |
|
|
|
operatorName: '' |
|
|
|
}, |
|
|
|
fileList: [], |
|
|
|
approvalList: [], |
|
|
|
plmRohsAuthorityArr: [], |
|
|
|
nodeAuthorityLoaded: false, |
|
|
|
@ -1388,14 +1369,6 @@ export default { |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
uploadDialog (val, oldVal) { |
|
|
|
if (oldVal && !val) { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.refreshAttachmentPanels() |
|
|
|
this.refreshCurrentRowFromServer(this.modalData.site, this.modalData.referenceNo) |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
'modalData.expiredDate' () { |
|
|
|
this.syncExpiryDateByRule() |
|
|
|
}, |
|
|
|
@ -2295,7 +2268,6 @@ export default { |
|
|
|
const site = this.modalData.site |
|
|
|
const referenceNo = this.modalData.referenceNo |
|
|
|
this.modalFlag = false |
|
|
|
this.uploadDialog = false |
|
|
|
this.$nextTick(() => { |
|
|
|
this.refreshAttachmentPanels() |
|
|
|
}) |
|
|
|
@ -2531,8 +2503,6 @@ export default { |
|
|
|
} |
|
|
|
this.modalFlag = true |
|
|
|
this.activeName = 'basicInfo' |
|
|
|
this.fileList = [] |
|
|
|
this.uploadDialog = false |
|
|
|
this.submitModalFlag = false |
|
|
|
this.rohsRemarkFlag = false |
|
|
|
this.rejectOpinion = '' |
|
|
|
|