diff --git a/src/api/mes/md/baseKnife.js b/src/api/mes/md/baseKnife.js
index 7a47c2b..509572e 100644
--- a/src/api/mes/md/baseKnife.js
+++ b/src/api/mes/md/baseKnife.js
@@ -50,3 +50,12 @@ export function resetBaseKnife(baseKnifeId) {
method: 'put'
})
}
+
+// 重置工具台账寿命
+export function submitZdTask(data) {
+ return request({
+ url: '/mes/md/baseKnife/zdTask',
+ method: 'put',
+ data: data
+ })
+}
diff --git a/src/api/mes/wm/zdTask.js b/src/api/mes/wm/zdTask.js
new file mode 100644
index 0000000..ec2c0e2
--- /dev/null
+++ b/src/api/mes/wm/zdTask.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询组装任务列表
+export function listZdTask(query) {
+ return request({
+ url: '/mes/wm/zdTask/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询组装任务详细
+export function getZdTask(wmsZdTaskId) {
+ return request({
+ url: '/mes/wm/zdTask/' + wmsZdTaskId,
+ method: 'get'
+ })
+}
+
+// 新增组装任务
+export function addZdTask(data) {
+ return request({
+ url: '/mes/wm/zdTask',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改组装任务
+export function updateZdTask(data) {
+ return request({
+ url: '/mes/wm/zdTask',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除组装任务
+export function delZdTask(wmsZdTaskId) {
+ return request({
+ url: '/mes/wm/zdTask/' + wmsZdTaskId,
+ method: 'delete'
+ })
+}
diff --git a/src/router/index.js b/src/router/index.js
index c58803a..8327082 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -134,20 +134,6 @@ export const dynamicRoutes = [
}
]
},
- {
- path: '/wm/ctBase-data',
- component: Layout,
- hidden: true,
- permissions: ['system:ctBase:list'],
- children: [
- {
- path: 'index/:ctBaseId(\\d+)',
- component: () => import('@/views/mes/wm/ctBase/data'),
- name: 'Data',
- meta: { title: '料箱数据', activeMenu: '/mes/wm/ctBase' }
- }
- ]
- },
{
path: '/system/autocodePart',
component: Layout,
diff --git a/src/views/mes/md/baseKnife/index.vue b/src/views/mes/md/baseKnife/index.vue
index 65e2b9d..a6ceaf9 100644
--- a/src/views/mes/md/baseKnife/index.vue
+++ b/src/views/mes/md/baseKnife/index.vue
@@ -206,7 +206,7 @@ export default {
},
/** 重置按钮操作 */
handleReset(row) {
- this.$modal.confirm('是否确认重置编码为"' + row.knifeCode + '"的寿命?').then(function() {
+ this.$modal.confirm('当前寿命为 [ ' + row.knifeLife + ' ], 是否确认重置编码为"' + row.knifeCode + '"的寿命?').then(function() {
return resetBaseKnife(row.baseKnifeId);
}).then(() => {
this.getList();
diff --git a/src/views/mes/wm/ctBase/data.vue b/src/views/mes/wm/ctBase/data.vue
deleted file mode 100644
index 93d6c28..0000000
--- a/src/views/mes/wm/ctBase/data.vue
+++ /dev/null
@@ -1,399 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
-
- 关闭
-
-
-
-
-
-
-
-
-
- {{scope.row.dictLabel}}
- {{scope.row.dictLabel}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/mes/wm/ctBase/index.vue b/src/views/mes/wm/ctBase/index.vue
index 8e140f8..8d9efff 100644
--- a/src/views/mes/wm/ctBase/index.vue
+++ b/src/views/mes/wm/ctBase/index.vue
@@ -110,7 +110,7 @@
/>
-
+
@@ -133,6 +133,54 @@
+ 物料台账信息
+
+
+ 添加
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+