diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/ClassStandard.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/ClassStandard.java
index 49807de..132af7b 100644
--- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/ClassStandard.java
+++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/ClassStandard.java
@@ -4,14 +4,11 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
-import com.fasterxml.jackson.databind.annotation.JsonSerialize;
-import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
-import java.math.BigDecimal;
-
/**
+ * 基础分类实体
* @Author: lyd
* @Date: 2024/10/15
*/
diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dto/ClassStandardTrees.java b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dto/ClassStandardTrees.java
index ace001a..9d77acf 100644
--- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dto/ClassStandardTrees.java
+++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dto/ClassStandardTrees.java
@@ -11,6 +11,7 @@ import java.io.Serializable;
import java.util.List;
/**
+ * vue-tree-select所需要的实体
* @Author: lyd
* @Description: vue-tree-select所需要的实体
* @Date: 2023/5/12
diff --git a/lms/nladmin-ui/src/views/wms/basedata/master/storagevehicleinfo/index.vue b/lms/nladmin-ui/src/views/wms/basedata/master/storagevehicleinfo/index.vue
index fe96be1..0dde8cd 100644
--- a/lms/nladmin-ui/src/views/wms/basedata/master/storagevehicleinfo/index.vue
+++ b/lms/nladmin-ui/src/views/wms/basedata/master/storagevehicleinfo/index.vue
@@ -42,7 +42,7 @@
@keyup.enter.native="crud.toQuery"
/>
-
+
@@ -68,7 +68,7 @@
width="450px"
>
-
+
-
-
+
+
-
-
+
+
-
-
+
+
否
@@ -107,17 +107,17 @@
style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
+
@@ -291,7 +291,7 @@ export default {
parent_class_code: 'vehicle_type'
}
crudClassstandard.getClassType(param).then(res => {
- const data = res.content
+ const data = res
this.buildTree(data)
this.classes1 = data
})
@@ -307,10 +307,10 @@ export default {
})
},
// 获取子节点数据
- loadChildNodes({ action, parentNode, callback }) {
+ loadChildNodes({ action, parentNode, callback }) { // 展开显示子级数据,只需要吧父类底下的子级返回去
if (action === LOAD_CHILDREN_OPTIONS) {
crudClassstandard.getClass({ pid: parentNode.id }).then(res => {
- parentNode.children = res.content.map(function(obj) {
+ parentNode.children = res.map(function(obj) {
if (obj.hasChildren) {
obj.children = null
}