diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java b/acs/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java
index 97374f3..974f2e7 100644
--- a/acs/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java
+++ b/acs/nladmin-system/src/main/java/org/nl/acs/agv/server/AgvWaitUtil.java
@@ -10,19 +10,21 @@ import org.nl.acs.opc.Device;
import org.nl.acs.opc.DeviceAppService;
import org.nl.acs.task.service.dto.TaskDto;
import org.nl.modules.common.exception.BadRequestException;
-import org.springframework.stereotype.Service;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
/**
* @author zhangjiangwei
*/
-@Service
+@Component
@RequiredArgsConstructor
@Slf4j
public class AgvWaitUtil {
- private final DeviceAppService deviceAppService;
-
- private final DeviceExecuteLogService deviceExecuteLogService;
+ @Autowired
+ private DeviceAppService deviceAppService;
+ @Autowired
+ private DeviceExecuteLogService deviceExecuteLogService;
//取货前等待
public JSONObject waitInGet(String deviceCode) {
@@ -107,7 +109,6 @@ public class AgvWaitUtil {
}
if (device.getDeviceDriver() instanceof PhotoelectricDetectionDeviceDriver) {
- // 诺力4期对接位驱动
PhotoelectricDetectionDeviceDriver driver = (PhotoelectricDetectionDeviceDriver) device.getDeviceDriver();
if (driver.getMove() == 0) {
String message = "允许AGV放货。";
diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/device/device_driver/DriverTypeEnum.java b/acs/nladmin-system/src/main/java/org/nl/acs/device/device_driver/DriverTypeEnum.java
index 26695a5..24663ad 100644
--- a/acs/nladmin-system/src/main/java/org/nl/acs/device/device_driver/DriverTypeEnum.java
+++ b/acs/nladmin-system/src/main/java/org/nl/acs/device/device_driver/DriverTypeEnum.java
@@ -10,8 +10,8 @@ import com.alibaba.fastjson.JSONObject;
*/
public enum DriverTypeEnum {
ORDINARY_SITE(1, "standard_ordinary_site", "普通站点", "station"),
-
- PHOTOELECTRIC_DETECTION_DEVICE_DRIVER(2, "photoelectric_detection_station", "光电检测站点", "station");
+ STANDARD_STORAGE(2, "standard_storage", "标准版-货架", "storage"),
+ PHOTOELECTRIC_DETECTION_DEVICE_DRIVER(3, "photoelectric_detection_station", "光电检测站点", "station");
//驱动索引
private int index;
//驱动编码
diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/device/service/impl/DeviceServiceImpl.java b/acs/nladmin-system/src/main/java/org/nl/acs/device/service/impl/DeviceServiceImpl.java
index cf530e2..fa9be1f 100644
--- a/acs/nladmin-system/src/main/java/org/nl/acs/device/service/impl/DeviceServiceImpl.java
+++ b/acs/nladmin-system/src/main/java/org/nl/acs/device/service/impl/DeviceServiceImpl.java
@@ -876,7 +876,7 @@ public class DeviceServiceImpl implements DeviceService, ApplicationAutoInitial
celldto.setZ("0");
celldto.setAddress(0);
celldto.setCreate_by("init");
- celldto.setCreate_time(SecurityUtils.getCurrentUsername());
+ celldto.setCreate_time(DateUtil.now());
wo.insert((JSONObject) JSONObject.toJSON(celldto));
}
}
@@ -892,7 +892,7 @@ public class DeviceServiceImpl implements DeviceService, ApplicationAutoInitial
celldto.setZ("0");
celldto.setAddress(0);
celldto.setCreate_by("init");
- celldto.setCreate_time(SecurityUtils.getCurrentUsername());
+ celldto.setCreate_time(DateUtil.now());
wo.insert((JSONObject) JSONObject.toJSON(celldto));
}
}
diff --git a/acs/nladmin-ui/src/views/acs/device/index.vue b/acs/nladmin-ui/src/views/acs/device/index.vue
index 989a8b7..2390625 100644
--- a/acs/nladmin-ui/src/views/acs/device/index.vue
+++ b/acs/nladmin-ui/src/views/acs/device/index.vue
@@ -24,7 +24,7 @@
style="width: 190px"
@change="crud.toQuery"
>
-
+
-
+
-
+
-
+
导出模型
+ >导出模型
+
-
+
-
+
-
+
@@ -111,10 +112,14 @@
-
+
@@ -131,7 +136,7 @@
-
+
@@ -140,7 +145,7 @@
-
+
-
+
diff --git a/lms/nladmin-ui/src/views/wms/sch/point/index.vue b/lms/nladmin-ui/src/views/wms/sch/point/index.vue
index 117c726..5aa6f7a 100644
--- a/lms/nladmin-ui/src/views/wms/sch/point/index.vue
+++ b/lms/nladmin-ui/src/views/wms/sch/point/index.vue
@@ -10,21 +10,21 @@
label-width="90px"
label-suffix=":"
>
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -276,15 +279,15 @@
-
+
-
-
+
+
{{ dict.label.vehicle_type[scope.row.vehicle_type] }}
@@ -300,9 +303,10 @@
-
+
+
@@ -347,7 +351,8 @@
-
+
+
@@ -385,6 +390,7 @@ const defaultForm = {
in_empty_seq: null,
out_empty_seq: null,
parent_point_code: null,
+ next_point_code: null,
ext_point_code: null,
ing_task_code: null,
is_has_workder: 'true',
@@ -442,7 +448,8 @@ export default {
pointStatusList: [],
pointStatusDialogList: [],
pointTypesDialogList: [],
- pointDialog: false
+ pointDialog: false,
+ pointDialog2: false
}
},
created() {
@@ -524,11 +531,19 @@ export default {
}
},
tableChanged(row) {
+ console.log("tableChanged" + row)
this.form.parent_point_code = row.map(point => point.point_code).join(',')
},
+ tableChanged2(row) {
+ console.log("tableChanged2" + row)
+ this.form.next_point_code = row.map(point => point.point_code).join(',')
+ },
getParentPoint() {
this.pointDialog = true
},
+ getNextPoint() {
+ this.pointDialog2 = true
+ },
handleClear() {
this.crud.query.region_code = null
this.crud.query.point_type = null
diff --git a/lms/nladmin-ui/src/views/wms/sch/region/index.vue b/lms/nladmin-ui/src/views/wms/sch/region/index.vue
index 3665f58..7490adf 100644
--- a/lms/nladmin-ui/src/views/wms/sch/region/index.vue
+++ b/lms/nladmin-ui/src/views/wms/sch/region/index.vue
@@ -10,22 +10,22 @@
label-width="90px"
label-suffix=":"
>
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -112,7 +112,7 @@
{{scope.row.is_has_workder?'是':'否'}}
-
+
diff --git a/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue b/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue
index def0bb2..966e29a 100644
--- a/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue
+++ b/lms/nladmin-ui/src/views/wms/sch/task/config/index.vue
@@ -10,21 +10,21 @@
label-width="90px"
label-suffix=":"
>
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -250,9 +250,9 @@
-
-
-
+
+
+
@@ -359,7 +359,7 @@
-
+