From 682a05db9dff8fc0ab615d3183953b24679c2166 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期四, 30 五月 2024 13:00:32 +0800
Subject: [PATCH] 1.存货档案 按工序走功能绑定实现
---
src/components/DragSelect/index.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/components/DragSelect/index.vue b/src/components/DragSelect/index.vue
index 5454770..cc132a3 100644
--- a/src/components/DragSelect/index.vue
+++ b/src/components/DragSelect/index.vue
@@ -39,6 +39,7 @@
// Detail see : https://github.com/RubaXa/Sortable/issues/1012
},
onEnd: evt => {
+ console.log(evt, 123)
const targetRow = this.value.splice(evt.oldIndex, 1)[0]
this.value.splice(evt.newIndex, 0, targetRow)
}
@@ -47,7 +48,13 @@
}
}
</script>
-
+<style>
+.sortable-ghost{
+ opacity: .8;
+ color: #fff!important;
+ background: #42b983!important;
+}
+</style>
<style lang="scss" scoped>
.drag-select {
::v-deep {
--
Gitblit v1.9.3