From 79eab76ac1b4b77696c92d72cfbde1e122c4c28f Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期一, 28 十月 2024 17:58:44 +0800 Subject: [PATCH] 关于修改可靠性产品重复 --- web/src/views/modules/basicInfo/XhProductModel.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/views/modules/basicInfo/XhProductModel.vue b/web/src/views/modules/basicInfo/XhProductModel.vue index e564467..7aa5a65 100644 --- a/web/src/views/modules/basicInfo/XhProductModel.vue +++ b/web/src/views/modules/basicInfo/XhProductModel.vue @@ -101,14 +101,15 @@ this.dataForm.type = this.productType if (this.dataForm.type !== '1') { - this.$refs.SelectTyModel.$refs.dialog.init(null, { + /*this.$refs.SelectTyModel.$refs.dialog.init(null, { type: this.dataForm.type, id: this.dataForm.pid, shipId: this.shipId, namePath: this.namePath - }) + })*/ + this.$refs.AddOrUpdate.$refs.dialog.init(null, {id: null, productType: parseInt(this.dataForm.type)+1 , pid: this.dataForm.pid,shipId: this.shipId}) } else { - this.$refs.AddOrUpdate.$refs.dialog.init(null, {id: null, type: 'zt', pid: this.dataForm.pid}) + this.$refs.AddOrUpdate.$refs.dialog.init(null, {id: null, type: 'zt', pid: this.dataForm.pid,shipId: this.shipId}) } }, addCell() { -- Gitblit v1.9.1