From 0296ff52f68c878f0896d010a27f3d5fa6b3b74f Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 1 Apr 2020 15:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E4=BF=A1=E6=81=AF=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WorkshopEquipmentManagement/index.vue | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue b/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue index fe98b19c..8eb0bbf8 100644 --- a/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue +++ b/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue @@ -5,7 +5,7 @@ 查询 - 新增 + 设备 @@ -111,8 +111,8 @@ - - + + @@ -276,7 +276,7 @@ export default { if (this.$refs['form'] !== undefined) { this.$refs['form'].resetFields() } - this.title = '新增车间设备' + this.title = '新增设备' this.form = { 设备名称: '', 设备编号: '', @@ -295,7 +295,7 @@ export default { if (this.$refs['form'] !== undefined) { this.$refs['form'].resetFields() } - this.title = '编辑' + this.title = '编辑设备' this.dialogFormVisible = true this.form.设备名称 = row.设备名称 this.form.设备编号 = row.设备编号 @@ -310,12 +310,11 @@ export default { this.equipmentSerialNumber = row.设备流水号 }, submit(formName) { - console.log(this.title) this.$refs[formName].validate((valid) => { if (valid) { - if (this.title === '增加') { + if (this.title === '新增设备') { this.submitAdd() - } else if (this.title === '编辑') { + } else if (this.title === '编辑设备') { this.submitEdit() } }