From 01814c3af20fe3dc3ca30a095588bd77ea169c03 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Wed, 13 Mar 2024 18:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E9=87=8F=E7=9B=AE=E6=A0=87=E5=88=86?= =?UTF-8?q?=E9=85=8D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/quality/qcGoal/distribution.vue | 265 +++++++++++----------- src/views/quality/qcGoal/index.vue | 43 ++-- 2 files changed, 156 insertions(+), 152 deletions(-) diff --git a/src/views/quality/qcGoal/distribution.vue b/src/views/quality/qcGoal/distribution.vue index fed57e73..db29cc4b 100644 --- a/src/views/quality/qcGoal/distribution.vue +++ b/src/views/quality/qcGoal/distribution.vue @@ -1,126 +1,116 @@ diff --git a/src/views/quality/qcGoal/index.vue b/src/views/quality/qcGoal/index.vue index d7b3bc58..760c6f80 100644 --- a/src/views/quality/qcGoal/index.vue +++ b/src/views/quality/qcGoal/index.vue @@ -282,8 +282,17 @@ 确定 - - + + + + @@ -318,7 +327,10 @@ export default { checkTypes: [], genList: [], checked: false, - goalId: null, + belongGoalId: null, + showFlag: false, + mode: null, + disTitle: "", // 弹出层标题 title: "", genTitle: "", @@ -524,20 +536,21 @@ export default { return checkTypeBody ? checkTypeBody.checkName : ''; }, handleSupplier(row) { - this.goalId = row.id; - this.$refs.itemDistribution.model = true; - this.$refs.itemDistribution.getRightListFun(); - this.$refs.itemDistribution.getList(); - this.$refs.itemDistribution.title = "分配供应商"; - this.$refs.itemDistribution.showFlag = true; + this.belongGoalId = row.id; + this.mode = true; + this.disTitle = "分配供应商"; + this.showFlag = true; }, handleProduct(row) { - this.goalId = row.id; - this.$refs.itemDistribution.model = false; - this.$refs.itemDistribution.getRightListFun(); - this.$refs.itemDistribution.getList(); - this.$refs.itemDistribution.title = "分配产品"; - this.$refs.itemDistribution.showFlag = true; + this.belongGoalId = row.id; + this.mode = false; + this.disTitle = "分配产品"; + this.showFlag = true; + }, + closeDistribution() { + this.showFlag = false; + this.$refs.itemDistribution.leftList=[]; + this.$refs.itemDistribution.rightList=[]; }, },