[update] 绑定零部件
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ const getClauseListByStandardInfoId = (params) => postAction('/laws/bindPart/sel
|
|||||||
// 绑定零部件-判断分类树下有没有绑定关系
|
// 绑定零部件-判断分类树下有没有绑定关系
|
||||||
const isTreeNodeHaveBind = (params) => getAction('/laws/bindPart/isShowUseBindRelation', params)
|
const isTreeNodeHaveBind = (params) => getAction('/laws/bindPart/isShowUseBindRelation', params)
|
||||||
// 绑定零部件-使用绑定关系
|
// 绑定零部件-使用绑定关系
|
||||||
const useBindingRelationship = (params) => postAction('/laws/bindPart/useBindRelation', params)
|
const useBindingRelationship = (params) => getAction('/laws/bindPart/useBindRelation', params)
|
||||||
|
|
||||||
// ASMS接口管理-新增
|
// ASMS接口管理-新增
|
||||||
const addAsmsInterface = (params) => postAction('/docking/asms/api/lawsAsmsOpenApi/add', params)
|
const addAsmsInterface = (params) => postAction('/docking/asms/api/lawsAsmsOpenApi/add', params)
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ export default {
|
|||||||
// 在零部件分类下,弹框提示【当前零部件分类结构下已有XXXX绑定标准关联关系,是否引入对应关系?】(XXXX指第一次绑定的零部件名称+编号)
|
// 在零部件分类下,弹框提示【当前零部件分类结构下已有XXXX绑定标准关联关系,是否引入对应关系?】(XXXX指第一次绑定的零部件名称+编号)
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
title: this.$t('system.bindingParts.isBringIn'),
|
title: this.$t('system.bindingParts.isBringIn'),
|
||||||
content: this.$t('system.bindingParts.haveBind') + res.result.bindPartName + res.result.bindPartNumber + this.$t('system.bindingParts.isBringInRelation'),
|
content: this.$t('system.bindingParts.haveBind') + res.result.partName + res.result.partNo + this.$t('system.bindingParts.isBringInRelation'),
|
||||||
onOk: () => {
|
onOk: () => {
|
||||||
// 确定引入对应关系,调用使用绑定关系
|
// 确定引入对应关系,调用使用绑定关系
|
||||||
useBindingRelationship().then(res => {
|
useBindingRelationship().then(res => {
|
||||||
|
|||||||
@@ -135,6 +135,7 @@ export default {
|
|||||||
this.model.bindUser = userInfo.id
|
this.model.bindUser = userInfo.id
|
||||||
this.model.partNo = this.$route.query.partNo
|
this.model.partNo = this.$route.query.partNo
|
||||||
this.model.partName = this.$route.query.partName
|
this.model.partName = this.$route.query.partName
|
||||||
|
this.model.partCategoryNum = this.$route.query.partCategoryNum
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model, 'partNo', 'partName', 'bindUser'))
|
this.form.setFieldsValue(pick(this.model, 'partNo', 'partName', 'bindUser'))
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user