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()
}
}