diff --git a/src/api/wcs/location.js b/src/api/wcs/location.js
index 8d1cd9b..4f115b7 100644
--- a/src/api/wcs/location.js
+++ b/src/api/wcs/location.js
@@ -16,6 +16,14 @@ export function getLocation(id) {
method: 'get'
})
}
+// 查询货位信息详细lo
+export function handleDelOrAddBox(params) {
+ return request({
+ url: '/wcs/location/handleDelOrAddBox',
+ params: params,
+ method: 'post'
+ })
+}
// 新增货位信息
export function addLocation(data) {
diff --git a/src/views/wcs/configuration/index.vue b/src/views/wcs/configuration/index.vue
index c6f66d4..b075383 100644
--- a/src/views/wcs/configuration/index.vue
+++ b/src/views/wcs/configuration/index.vue
@@ -131,19 +131,19 @@ export default {
}
},
},
- {
- label: "通信状态",
- prop: "communicationStatus",
- istrue: true,
- filter(row, value) {
- if(row.communicationStatus === "0"){
- return "未连接";
- }else if(row.communicationStatus === "1"){
- return "已连接";
- }
- },
-
- },
+ // {
+ // label: "通信状态",
+ // prop: "communicationStatus",
+ // istrue: true,
+ // filter(row, value) {
+ // if(row.communicationStatus === "0"){
+ // return "未连接";
+ // }else if(row.communicationStatus === "1"){
+ // return "已连接";
+ // }
+ // },
+ //
+ // },
{
label: "创建时间",
prop: "createTime",
@@ -176,7 +176,7 @@ export default {
name: "切离",
event: "handleCutOff",
hidden(value) {
- if (value.equipmentStatus === '2') {
+ if (value.equipmentStatus === '2' && value.equipmentName != 'WCS') {
return false;
} else {
return true;
@@ -186,7 +186,7 @@ export default {
name: "恢复",
event: "handleCutIn",
hidden(value) {
- if (value.equipmentStatus === '1') {
+ if (value.equipmentStatus === '1' && value.equipmentName != 'WCS') {
return false;
} else {
return true;
diff --git a/src/views/wcs/location/index.vue b/src/views/wcs/location/index.vue
index d71baf9..7376b70 100644
--- a/src/views/wcs/location/index.vue
+++ b/src/views/wcs/location/index.vue
@@ -166,13 +166,21 @@
v-hasPermi="['wcs:location:edit']"
>修改
-