[update] 绑定零部件
This commit is contained in:
@@ -228,7 +228,7 @@ export default {
|
||||
// 在零部件分类下,弹框提示【当前零部件分类结构下已有XXXX绑定标准关联关系,是否引入对应关系?】(XXXX指第一次绑定的零部件名称+编号)
|
||||
this.$confirm({
|
||||
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: () => {
|
||||
// 确定引入对应关系,调用使用绑定关系
|
||||
useBindingRelationship().then(res => {
|
||||
|
||||
@@ -135,6 +135,7 @@ export default {
|
||||
this.model.bindUser = userInfo.id
|
||||
this.model.partNo = this.$route.query.partNo
|
||||
this.model.partName = this.$route.query.partName
|
||||
this.model.partCategoryNum = this.$route.query.partCategoryNum
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.model, 'partNo', 'partName', 'bindUser'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user