From 4ca45f2deaedbf9d42357b3d366b78dd9ed00038 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 10 Jun 2026 15:45:21 +0800 Subject: [PATCH] =?UTF-8?q?2026-06-10=20RoHs=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/rohs/rohsRecord.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/modules/rohs/rohsRecord.vue b/src/views/modules/rohs/rohsRecord.vue index 14bdc24..7f7e03b 100644 --- a/src/views/modules/rohs/rohsRecord.vue +++ b/src/views/modules/rohs/rohsRecord.vue @@ -543,7 +543,7 @@ v-if="modalFlag" folder="rohs" order-ref3="rohsAttachment" - title="RoHs 附件上传" + title="RoHS 附件上传" :label="'序列号'" :file-list.sync="fileList" :no="modalData.referenceNo" @@ -1268,7 +1268,7 @@ export default { plmRohsAuthorityArr: [], nodeAuthorityLoaded: false, isEditMode: false, - modalTitle: 'RoHs 新增', + modalTitle: 'RoHS 新增', activeName: 'basicInfo', showModalFlag: false, submitModalFlag: false, @@ -2520,7 +2520,7 @@ export default { this.showModalFlag = !!(row && (row.status === '已完成' || !this.authUpdate)) if (row) { - this.modalTitle = 'RoHs 编辑' + this.modalTitle = 'RoHS 编辑' api.getRohsDetail(row.site, row.referenceNo).then(({data}) => { if (data && data.code === 0) { this.modalData = data.data || {} @@ -2550,7 +2550,7 @@ export default { this.loadNodeAuthority(row.site, row.stepId !== null && row.stepId !== undefined ? row.stepId : 10) }) } else { - this.modalTitle = 'RoHs 新增' + this.modalTitle = 'RoHS 新增' this.showModalFlag = false // 生成一个临时ID用于附件上传绑定 const tempReferenceNo = 'TEMP-' + new Date().getTime() + '-' + Math.floor(Math.random() * 1000) @@ -2657,7 +2657,7 @@ export default { } }) - const submitMethod = this.modalTitle === 'RoHs 新增' ? api.saveRohs : api.updateRohs + const submitMethod = this.modalTitle === 'RoHS 新增' ? api.saveRohs : api.updateRohs submitMethod(this.modalData).then(({data}) => { if (data && data.code === 0) { this.$message.success('操作成功') @@ -2914,7 +2914,7 @@ export default { this.materialSelections = rows || [] }, shouldPersistMaterialsImmediately () { - return this.modalTitle === 'RoHs 编辑' && this.modalData && this.modalData.referenceNo && !String(this.modalData.referenceNo).startsWith('TEMP-') + return this.modalTitle === 'RoHS 编辑' && this.modalData && this.modalData.referenceNo && !String(this.modalData.referenceNo).startsWith('TEMP-') }, normalizeMaterialListForSave (materialList) { return (materialList || []).map((item, index) => {