diff --git a/src/api/mes/dv/inventoryRequest.js b/src/api/mes/dv/inventoryRequest.js
new file mode 100644
index 0000000..002a002
--- /dev/null
+++ b/src/api/mes/dv/inventoryRequest.js
@@ -0,0 +1,52 @@
+import request from '@/utils/request'
+// 查询设备点检结果列表
+export function listRequest(query) {
+ return request({
+ url: 'inventoryRequestController/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 新增计划
+export function addRequest(data) {
+ return request({
+ url: 'inventoryRequestController/save',
+ method: 'post',
+ data: data
+ })
+}
+
+// 查询结果细
+export function getRequest(RequestId) {
+ return request({
+ url: 'inventoryRequestController/' + RequestId,
+ method: 'get'
+ })
+}
+
+// 修改计划
+export function updateRequest(data) {
+ return request({
+ url: 'inventoryRequestController/',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除设备
+export function delRequest(RequestId) {
+ return request({
+ url: 'inventoryRequestController/' + RequestId,
+ method: 'delete'
+ })
+}
+
+// 批量删除设备
+export function delRequests(RequestId) {
+ return request({
+ url: 'inventoryRequestController/del/' + RequestId,
+ method: 'delete'
+ })
+}
+
diff --git a/src/api/mes/dv/inventoryTask.js b/src/api/mes/dv/inventoryTask.js
index 1dfd157..d70db3c 100644
--- a/src/api/mes/dv/inventoryTask.js
+++ b/src/api/mes/dv/inventoryTask.js
@@ -50,3 +50,11 @@ export function delMachinerys(machineryId) {
})
}
+// 重新定检任务
+export function rechecklMachinerys(machineryId) {
+ return request({
+ url: 'InventoryTaskController/recheck/' + machineryId,
+ method: 'delete'
+ })
+}
+
diff --git a/src/components/wm/InOutTypeCmps.vue b/src/components/wm/InOutTypeCmps.vue
new file mode 100644
index 0000000..2b5115e
--- /dev/null
+++ b/src/components/wm/InOutTypeCmps.vue
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+
+
+
+ 选择
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/wm/InventoryCmps.vue b/src/components/wm/InventoryCmps.vue
new file mode 100644
index 0000000..48f2476
--- /dev/null
+++ b/src/components/wm/InventoryCmps.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.startTime, '{y}-{m}-{d}') }}
+
+
+
+
+ {{ parseTime(scope.row.finishTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+ 选择
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/wm/SelecAreaCmps.vue b/src/components/wm/SelecAreaCmps.vue
index 6718321..1228cf9 100644
--- a/src/components/wm/SelecAreaCmps.vue
+++ b/src/components/wm/SelecAreaCmps.vue
@@ -22,14 +22,13 @@
-
+
@@ -51,8 +50,17 @@ export default {
// 新增弹窗控制
addVisible: false,
total: 0,
- pagination: {
- currentPage: 1
+ queryParams: {
+ pageNum: 1,
+ pageSize: 10,
+ areaCode: null,
+ areaName: null,
+ locationId: null,
+ area: null,
+ maxLoa: null,
+ positionX: null,
+ positionY: null,
+ positionZ: null,
},
multipleSelection: [],
tableData: [],
diff --git a/src/components/wm/SelecLocationCmps.vue b/src/components/wm/SelecLocationCmps.vue
index a962552..84c6078 100644
--- a/src/components/wm/SelecLocationCmps.vue
+++ b/src/components/wm/SelecLocationCmps.vue
@@ -16,14 +16,13 @@
-
+
@@ -45,8 +44,14 @@ export default {
// 新增弹窗控制
addVisible: false,
total: 0,
- pagination: {
- currentPage: 1
+ queryParams: {
+ pageNum: 1,
+ pageSize: 10,
+ locationCode: null,
+ locationName: null,
+ warehouseId: null,
+ area: null,
+ areaFlag: null,
},
multipleSelection: [],
tableData: [],
diff --git a/src/components/wm/SelectWareHouseCmps.vue b/src/components/wm/SelectWareHouseCmps.vue
index f4a931e..63eef6e 100644
--- a/src/components/wm/SelectWareHouseCmps.vue
+++ b/src/components/wm/SelectWareHouseCmps.vue
@@ -18,14 +18,13 @@
-
+
@@ -45,8 +44,14 @@ export default {
// 新增弹窗控制
addVisible: false,
total: 0,
- pagination: {
- currentPage: 1
+ queryParams: {
+ pageNum: 1,
+ pageSize: 10,
+ warehouseCode: null,
+ warehouseName: null,
+ location: null,
+ area: null,
+ charge: null,
},
multipleSelection: [],
tableData: [],
diff --git a/src/views/mes/dv/Inventory/InventoryRequest.vue b/src/views/mes/dv/Inventory/InventoryRequest.vue
new file mode 100644
index 0000000..1c9d858
--- /dev/null
+++ b/src/views/mes/dv/Inventory/InventoryRequest.vue
@@ -0,0 +1,500 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+ "
+
+
+
+
+ {{ scope.row.frockResult==0?"合格":"异常" }}
+
+
+
+
+
+ {{ parseTime(scope.row.frockDate, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/mes/qc/Inventory/InventoryTask.vue b/src/views/mes/dv/Inventory/InventoryTask.vue
similarity index 90%
rename from src/views/mes/qc/Inventory/InventoryTask.vue
rename to src/views/mes/dv/Inventory/InventoryTask.vue
index ba2d6d9..0a39a2f 100644
--- a/src/views/mes/qc/Inventory/InventoryTask.vue
+++ b/src/views/mes/dv/Inventory/InventoryTask.vue
@@ -85,6 +85,11 @@
{{ parseTime(scope.row.startTime, '{y}-{m}-{d}') }}
+
+
+ {{ scope.row.updatebby==1?"完成":"未完成" }}
+
+
{{ parseTime(scope.row.finishTime, '{y}-{m}-{d}') }}
@@ -97,6 +102,7 @@
size="mini"
type="text"
icon="el-icon-edit"
+ :disabled="scope.row.updatebby==1"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:dv:checkplan:edit']"
>修改
@@ -104,9 +110,17 @@
size="mini"
type="text"
icon="el-icon-delete"
+ :disabled="scope.row.updatebby==1"
@click="handleDelete(scope.row)"
v-hasPermi="['mes:dv:checkplan:remove']"
>删除
+ 重新定检
@@ -124,7 +138,7 @@
-
+
@@ -145,7 +159,7 @@
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-