From 8483b84ce8e318fd34fd87346b801178a7c7e6a4 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 8 May 2025 09:17:54 +0800 Subject: [PATCH] =?UTF-8?q?2025-05-08=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/part/bomManagement.vue | 78 ------------------------ 1 file changed, 78 deletions(-) diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 2446b3a..b6ef59e 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -3328,77 +3328,11 @@ export default { // 新增编辑模态框关闭 closeModal () { - // let tempArr = [] - // tempArr.push(this.modalData) - // if (this.modalData.flag === '1') { - // this.$confirm(`是否不保存且删除该条BOM记录?`, '提示', { - // confirmButtonText: '确定', - // cancelButtonText: '取消', - // type: 'warning' - // }).then(() => { - // let tempData = { - // informationList: tempArr - // } - // bomManagementDelete(tempData).then(({data}) => { - // if (data && data.code === 0) { - // this.getDataList() - // this.modalFlag = false - // this.$message({ - // message: '操作成功', - // type: 'success', - // duration: 1500, - // onClose: () => {} - // }) - // } else { - // this.$alert(data.msg, '错误', { - // confirmButtonText: '确定' - // }) - // } - // }) - // }).catch(() => { - // }) - // } else { - // this.modalFlag = false - // } - //this.getDataList() this.modalFlag = false }, // 新增编辑模态框关闭 closeModalX (done) { - // let tempArr = [] - // tempArr.push(this.modalData) - // if (this.modalData.flag === '1') { - // this.$confirm(`是否不保存且删除该条BOM记录?`, '提示', { - // confirmButtonText: '确定', - // cancelButtonText: '取消', - // type: 'warning' - // }).then(() => { - // let tempData = { - // informationList: tempArr - // } - // bomManagementDelete(tempData).then(({data}) => { - // if (data && data.code === 0) { - // this.getDataList() - // done() - // this.$message({ - // message: '操作成功', - // type: 'success', - // duration: 1500, - // onClose: () => {} - // }) - // } else { - // this.$alert(data.msg, '错误', { - // confirmButtonText: '确定' - // }) - // } - // }) - // }).catch(() => { - // }) - // } else { - // done() - // } - //this.getDataList() done() }, @@ -3432,7 +3366,6 @@ export default { }) } }) - }).catch(() => { }) }, @@ -3477,17 +3410,6 @@ export default { this.modalData.partDesc = row.partDesc this.modalData.printUnit = row.printUnit this.modalData.printUnitName = row.printUnitName - // // 获取物料的bom版本号 - // getBomEngChgLevel(this.modalData).then(({data}) => { - // if (data && data.code === 0) { - // this.modalData.engChgLevel = data.engChgLevel - // } else { - // this.$alert(data.msg, '错误', { - // confirmButtonText: '确定' - // }) - // } - // this.partModelFlag = false - // }) this.partModelFlag = false },