From db42e2a2995d6e1413fecef85c6bcdf273411dbf Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 4 Aug 2023 08:57:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=85=A5=E5=BA=93=E3=80=81?= =?UTF-8?q?=E5=88=BB=E5=AD=97=E5=B7=A5=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 6 +++++ src/pages/modules/finished/batch-instore.vue | 10 ++++---- .../modules/lettering/lettering-process.vue | 18 +++++++++++++-- .../modules/lettering/lettering-task-list.vue | 23 +++++++++++++++++-- 4 files changed, 47 insertions(+), 10 deletions(-) diff --git a/src/config/getData2.js b/src/config/getData2.js index 5e39e5b..042cfd0 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -377,6 +377,8 @@ export const bypda = (page, size) => post('api/bcp/bypda', { // } // return res // } +// 空框送回 +export const kzsendVechile = () => post('api/pda/kz/sendVechile', {}) // 1.2刻字机选择 export const kzDeviceList = () => post('api/produceWorkorder', { product_area: 'A1', @@ -443,6 +445,10 @@ export const operation = (id, method) => post('api/task/operation', { task_id: id, method_name: method }) +// 重新下发 +export const kzresend = (id) => post('api/pda/kz/resend', { + task_id: id +}) /** * 批量入库 diff --git a/src/pages/modules/finished/batch-instore.vue b/src/pages/modules/finished/batch-instore.vue index 171fac5..d00a810 100644 --- a/src/pages/modules/finished/batch-instore.vue +++ b/src/pages/modules/finished/batch-instore.vue @@ -56,7 +56,7 @@
- +
@@ -72,7 +72,6 @@ 组盘日期 订单号 订单行号 - 规格 数量 明细数 入库点 @@ -88,7 +87,6 @@ {{ e.create_time }} {{e.sale_code}} {{e.sale_seq_no}} - {{ e.material_spec }} {{ e.storage_qty }} {{ e.count }} {{ e.point_code }} @@ -197,15 +195,15 @@ export default { // 确认入库 async _finishproductBatchin () { this.disabled1 = true - if (this.dataList.length === 0) { + if (this.checkArr.length === 0) { this.disabled1 = false return } try { - this.dataList.map(el => { + this.checkArr.map(el => { this.$set(el, 'bill_code', this.value3) }) - let res = await finishproductBatchin(this.dataList) + let res = await finishproductBatchin(this.checkArr) if (res.code === 200) { this.toast(res.msg) this._finishproductBucket() diff --git a/src/pages/modules/lettering/lettering-process.vue b/src/pages/modules/lettering/lettering-process.vue index 715b5d5..9ebbd29 100644 --- a/src/pages/modules/lettering/lettering-process.vue +++ b/src/pages/modules/lettering/lettering-process.vue @@ -5,6 +5,7 @@
+
@@ -43,7 +44,7 @@