Browse Source

2024-12-20

接口更新
master
fengyuan_yang 2 years ago
parent
commit
c9db99b22d
  1. 19
      src/views/modules/project/projectInfo/com_project_info_part.vue

19
src/views/modules/project/projectInfo/com_project_info_part.vue

@ -875,7 +875,6 @@ import {
} from "@/api/base/properties.js" } from "@/api/base/properties.js"
import { import {
queryMasterField, // 根据物料编码查 masterPart 属性 queryMasterField, // 根据物料编码查 masterPart 属性
toBecomeOfficialPart, // 临时物料转为正式物料
partInformationSave2, // 物料信息新增 partInformationSave2, // 物料信息新增
getProjectPartNo, // 获取项目物料编码 getProjectPartNo, // 获取项目物料编码
getProjectPartRow, // 获取当前行项目物料对象 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) { inventoryPartClick (tab, event) {
this.refreshInventoryPartTable() this.refreshInventoryPartTable()

Loading…
Cancel
Save