diff --git a/src/views/modules/project/projectInfo/com_project_info_part.vue b/src/views/modules/project/projectInfo/com_project_info_part.vue index 6a4ed5d..857976d 100644 --- a/src/views/modules/project/projectInfo/com_project_info_part.vue +++ b/src/views/modules/project/projectInfo/com_project_info_part.vue @@ -875,7 +875,6 @@ import { } from "@/api/base/properties.js" import { queryMasterField, // 根据物料编码查 masterPart 属性 - toBecomeOfficialPart, // 临时物料转为正式物料 partInformationSave2, // 物料信息新增 getProjectPartNo, // 获取项目物料编码 getProjectPartRow, // 获取当前行项目物料对象 @@ -2646,24 +2645,6 @@ import { }) }, - // 临时物料转为正式物料 - toBecomeOfficialPart () { - toBecomeOfficialPart(this.modalData).then(({data}) => { - if (data && data.code === 0) { - this.$message({ - message: '操作成功', - type: 'success', - duration: 1500, - onClose: () => {} - }) - } else { - this.$alert(data.msg, '错误', { - confirmButtonText: '确定' - }) - } - }) - }, - // 页签选择替换 inventoryPartClick (tab, event) { this.refreshInventoryPartTable()