From be227e6b9f06c5cf55429ba74c06c9c52c185727 Mon Sep 17 00:00:00 2001 From: "HUOJIN\\92525" <925258474@qq.com> Date: Wed, 26 Jun 2024 10:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=BA=93=E5=8D=95=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=B8=AD=E7=9A=84=E7=95=8C=E9=9D=A2=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business-data/businessTask/asnTask.vue | 2 +- src/views/business-data/pick/index.vue | 7 +- src/views/business-data/pickDetail/index.vue | 107 ++++++------------ .../business-data/pickDetail/pickTask.vue | 2 +- 4 files changed, 41 insertions(+), 77 deletions(-) diff --git a/src/views/business-data/businessTask/asnTask.vue b/src/views/business-data/businessTask/asnTask.vue index 9c9a28c..1ecfd24 100644 --- a/src/views/business-data/businessTask/asnTask.vue +++ b/src/views/business-data/businessTask/asnTask.vue @@ -133,7 +133,7 @@ const defaultForm = { updateTime: null } export default { - name: 'Task', + name: 'asnTask', components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation}, mixins: [presenter(), header(), form(defaultForm), crud()], dicts: ['task_status'], diff --git a/src/views/business-data/pick/index.vue b/src/views/business-data/pick/index.vue index 3d1948e..2cf1e3e 100644 --- a/src/views/business-data/pick/index.vue +++ b/src/views/business-data/pick/index.vue @@ -93,17 +93,20 @@ - + - +
+ +
diff --git a/src/views/business-data/pickDetail/index.vue b/src/views/business-data/pickDetail/index.vue index 008cd45..8d25263 100644 --- a/src/views/business-data/pickDetail/index.vue +++ b/src/views/business-data/pickDetail/index.vue @@ -2,60 +2,48 @@
- - - - - - {{ item.code }} - {{ item.name }} - - - +
+ + + + + {{ item.code }} + {{ item.name }} + + - - - + + - - - - + + + 重置 - - - -
- - 全部 - 打开 - 已分配 - 拣货完成 - - -
+ - - - - + + @@ -143,15 +125,11 @@ {{ dict.label.pick_status[scope.row.status] }} - - - - - + @@ -281,7 +259,6 @@ export default { show_fp: true, show_jh: true, show_cancelfp: true, - radio3: '全部', items: [], permission: { add: ['admin', 'pickDetail:add'], @@ -411,23 +388,7 @@ export default { shuaxin() { this.crud.toQuery(); }, - clickChange(lab) { - if (lab === "全部") { - this.crud.resetQuery(); - this.crud.toQuery(); - } else if (lab === "打开") { - this.query.status = 'OPEN' - this.crud.toQuery(); - } else if (lab === "已分配") { - this.query.status = 'ALLOCATE' - this.crud.toQuery(); - } else if (lab === "拣货完成") { - this.query.status = 'PICK_ALL' - this.crud.toQuery(); - } - }, resetQuery() { - this.radio3 = '全部'; this.crud.resetQuery() }, editPick(data) { @@ -456,7 +417,7 @@ export default { }); }) }, - toItemOut(){ + toItemOut() { this.$refs.itemOut.dialog = true } } diff --git a/src/views/business-data/pickDetail/pickTask.vue b/src/views/business-data/pickDetail/pickTask.vue index d63e20f..6a926f9 100644 --- a/src/views/business-data/pickDetail/pickTask.vue +++ b/src/views/business-data/pickDetail/pickTask.vue @@ -112,7 +112,7 @@ import crudPickDetail from "@/api/pickDetail"; const defaultForm = { id: null, itemId: null, itemKeyId: null, billCode: null, taskType: null, asnDetailId: null, moveDetailId: null, waveDetailId: null, pickDetailId: null, srcStockId: null, dstStockId: null, srcPointId: null, dstPointId: null, srcStockCode: null, dstStockCode: null, srcPointCode: null, dstPointCode: null, invStatus: null, taskStatus: null, beSkip: null, beBack: null, planQty: null, moveQty: null, putCode: null, invId: null, deptId: null, createBy: null, updateBy: null, createTime: null, updateTime: null } export default { - name: 'Task', + name: 'pickTask', components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation }, mixins: [presenter(), header(), form(defaultForm), crud()], dicts: ['task_status'],