diff --git a/src/api/task.js b/src/api/task.js index f6e19a7..26fa700 100644 --- a/src/api/task.js +++ b/src/api/task.js @@ -72,6 +72,30 @@ const getWorkByStandAndGoods = (params) => { }) } +const confirmFinishedWork = (params) => { + return request({ + url: '/task/confirmFinishedWork', + method: 'post', + data: params + }) +} + +const getFinishedWorkInfo = (params) => { + return request({ + url: '/task/getFinishedWorkInfo', + method: 'post', + data: params + }) +} + +const confirmFinishWork = (params) => { + return request({ + url: '/task/confirmFinishWork', + method: 'post', + data: params + }) +} + export { sendGoodsInTask, sendGoodsOutTask, @@ -81,5 +105,8 @@ export { getTasks, finishPickingAndBack, changeTaskStatus, - getWorkByStandAndGoods + getWorkByStandAndGoods, + confirmFinishedWork, + confirmFinishWork, + getFinishedWorkInfo } \ No newline at end of file diff --git a/src/layout/prepareGoods.vue b/src/layout/callEmptyVehicle.vue similarity index 81% rename from src/layout/prepareGoods.vue rename to src/layout/callEmptyVehicle.vue index b69be59..0dabe44 100644 --- a/src/layout/prepareGoods.vue +++ b/src/layout/callEmptyVehicle.vue @@ -7,7 +7,7 @@ 工作台
- Kitting备料 + 呼叫空箱
工作站: @@ -18,7 +18,7 @@
- 备料 + 备料执行 @@ -32,7 +32,7 @@
+ v-on:keyup.enter="getCurrentWorkInfo()" clearable>
@@ -66,15 +66,16 @@
-
+
备注
- {{ - workFormEntity.remark }} + + {{ workFormEntity.remark }} +
@@ -101,13 +102,14 @@
- {{ - workFormEntity.goodsUnit }} + + {{ workFormEntity.goodsUnit }} +
-
+
完成确认
@@ -122,8 +124,7 @@ + + + + \ No newline at end of file diff --git a/src/layout/finishKitting.vue b/src/layout/finishKitting.vue new file mode 100644 index 0000000..93eaf51 --- /dev/null +++ b/src/layout/finishKitting.vue @@ -0,0 +1,379 @@ + + + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 00c29d7..7437085 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,7 +25,9 @@ const routes = [ { path: '/inventory', component: () => import('@/layout/inventory.vue') },// 盘点 { path: '/inventoryRecord', component: () => import('@/layout/inventoryRecord.vue') },// 盘点 { path: '/wmsLog', component: () => import('@/layout/wmsLog.vue') },// 日志 - { path: '/testPrepareGoods', component: () => import('@/layout/prepareGoods.vue') },// 日志 + { path: '/testDoKitting', component: () => import('@/layout/doKitting.vue') },// 备料执行 + { path: '/testFinishKitting', component: () => import('@/layout/finishKitting.vue') },// 备料完成 + { path: '/testCallEmptyVehicle', component: () => import('@/layout/callEmptyVehicle.vue') },// 备料完成 ] }, {