diff --git a/src/views/storeManage/warehouse3DConfig/index.vue b/src/views/storeManage/warehouse3DConfig/index.vue
index 9caa35b..9ef032a 100644
--- a/src/views/storeManage/warehouse3DConfig/index.vue
+++ b/src/views/storeManage/warehouse3DConfig/index.vue
@@ -8,7 +8,7 @@
绑定参数
- 解除绑定
+ 解除绑定
@@ -79,6 +79,18 @@
+
+
+
+
+
@@ -119,7 +131,8 @@ export default {
{ required: true, validator: checkDeviceInfo, trigger: 'change' }
]
},
- isMultiple: false
+ isMultiple: false,
+ unbindVisible: false
}
},
watch: {
@@ -224,8 +237,17 @@ export default {
})
}
},
+ unbind() {
+ this.unbindVisible = true
+ },
handleUnbind() {
crudDevice.unbind({ id: this.selections[0].id }).then((data) => {
+ this.unbindVisible = false
+ this.$message({
+ message: '解除绑定成功',
+ type: 'success',
+ duration: 2500
+ })
this.getDisplayConfigList()
})
},
@@ -304,13 +326,6 @@ export default {
this.$set(this.form.deviceInfo, 'id', '')
}
}
- // beforeClose(done) {
- // this.$set(this.form, 'deviceSpecParams', '')
- // this.$set(this.form, 'divPosition', '')
- // this.$set(this.form, 'isDisplay', false)
- // this.$set(this.form.deviceInfo, 'id', '')
- // done()
- // }
}
}