From 3c15e684416e06a7351eeb2d756e5be778a893fd Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期三, 17 七月 2024 10:37:23 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/basicInfo/XhProductModel.vue | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/web/src/views/modules/basicInfo/XhProductModel.vue b/web/src/views/modules/basicInfo/XhProductModel.vue index 9d1c645..50d38ae 100644 --- a/web/src/views/modules/basicInfo/XhProductModel.vue +++ b/web/src/views/modules/basicInfo/XhProductModel.vue @@ -84,18 +84,8 @@ }, methods: { add() { - console.log(this.dataForm.type,'this.dataForm.type') this.dataForm.type = this.productType if (this.dataForm.type !== '1') { - if (this.dataForm.type !== '3') { - this.dataForm.type = this.dataForm.type + 1 - } else if (this.dataForm.type === '3') { - this.dataForm.type = this.dataForm.type + 2 - } else if (this.dataForm.type === '0') { - this.$alert("褰撳墠鑺傜偣涓嶅彲鏂板瀛愯妭鐐癸紝璇烽噸鏂拌缃�") - return - } - console.log(this.dataForm.type,'this.dataForm.type') this.$refs.SelectTyModel.$refs.dialog.init(null, {type: this.dataForm.type, id: this.dataForm.pid}) } else { this.$refs.AddOrUpdate.$refs.dialog.init(null, {id: null, type: 'zt', pid: this.dataForm.pid}) -- Gitblit v1.9.1