From cc78ef3e2a70db19b04602f90d6b72274a81a64a Mon Sep 17 00:00:00 2001 From: liangzhou <594755172@qq.com> Date: Mon, 26 Aug 2024 16:44:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0=EF=BC=9A?= =?UTF-8?q?=201.=E5=87=BA=E5=BA=93=E4=BF=AE=E5=A4=8D=202.=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=89=98=E7=9B=98=E5=BA=93=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task.js | 2 +- src/layout/goodsIn.vue | 2 +- src/layout/goodsInTP.vue | 388 ++++++++++++++++++++++++++++++ src/layout/goodsOut.vue | 3 + src/layout/goodsOutTP.vue | 488 ++++++++++++++++++++++++++++++++++++++ src/utils/formatter.js | 2 +- 6 files changed, 882 insertions(+), 3 deletions(-) create mode 100644 src/layout/goodsInTP.vue create mode 100644 src/layout/goodsOutTP.vue diff --git a/src/api/task.js b/src/api/task.js index 3ed6d27..113183d 100644 --- a/src/api/task.js +++ b/src/api/task.js @@ -16,7 +16,7 @@ const sendGoodsOutTask = (params) => { }) } -const getTasks = () => { +const getTasks = (params) => { return request({ url: '/task/getTasks', method: 'post', diff --git a/src/layout/goodsIn.vue b/src/layout/goodsIn.vue index 9322eb9..6a2f71a 100644 --- a/src/layout/goodsIn.vue +++ b/src/layout/goodsIn.vue @@ -294,7 +294,7 @@ export default { this.tempVehicleId = '' this.tempOriginPoint = '' this.totalWeight = 0 - this.isEmptyTask == null + this.isEmptyTask = null formEl.resetFields() this.disabledEmpty = false } else { diff --git a/src/layout/goodsInTP.vue b/src/layout/goodsInTP.vue new file mode 100644 index 0000000..953256f --- /dev/null +++ b/src/layout/goodsInTP.vue @@ -0,0 +1,388 @@ + + + + + + + 入库暂存信息 + + + + + + + + + + + + 删除 + + + + + + + + + 输入入库信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 绑定信息 + + + + + 下发任务 + + + + + 清空信息 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/layout/goodsOut.vue b/src/layout/goodsOut.vue index b94708d..cac4618 100644 --- a/src/layout/goodsOut.vue +++ b/src/layout/goodsOut.vue @@ -201,6 +201,7 @@ export default { mounted() { this.timer = setInterval(() => { this.getAllTasks() + this.getPickTaskDetails() }, 2000) }, beforeUnmount() { @@ -310,7 +311,9 @@ export default { areaId: this.areaId, } getTasks(request).then(res1 => { + console.log(request) if (res1.data.code == 0) { + console.log(res1.data.returnData) if (res1.data.returnData.length > 0) { const currentFinishTask = res1.data.returnData[0]; if (currentFinishTask.taskId == this.pickConfirmEntity.taskId) {// 信息没更新 diff --git a/src/layout/goodsOutTP.vue b/src/layout/goodsOutTP.vue new file mode 100644 index 0000000..4638808 --- /dev/null +++ b/src/layout/goodsOutTP.vue @@ -0,0 +1,488 @@ + + + + + + + 当前WMS出库任务 + + + + + + + + + + + + + + + + + + + + + 出库输入信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 下发任务 + + + + + + + 拣选确认信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 拣货完成确认回库 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/utils/formatter.js b/src/utils/formatter.js index 31e4d2b..ad48cd6 100644 --- a/src/utils/formatter.js +++ b/src/utils/formatter.js @@ -41,7 +41,7 @@ function taskStatusFormatter(value) { case 7: return '正在回库' case 8: - return '盘点中' + return '拣选中/盘点中' case 100: return '任务完成' case 998: