From dc9bd69da11eca75c9fd6bda25dd221494152652 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 11 Mar 2025 13:31:36 +0800 Subject: [PATCH 01/10] =?UTF-8?q?wms=E9=A1=B5=E9=9D=A2=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/outorderfc.js | 7 +++++++ src/views/wms/returnorderzs/index.vue | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/api/wms/outorderfc.js b/src/api/wms/outorderfc.js index adf71e2..f9fb003 100644 --- a/src/api/wms/outorderfc.js +++ b/src/api/wms/outorderfc.js @@ -112,6 +112,13 @@ export function OutboundPostingzcSAP(data) { data: data }); } +export function OutboundPostingzcSAPTH(data) { + return request({ + url: '/wms/order/OutboundPostingzcSAPTH', + method: 'post', + data: data + }); +} export function OutboundPostingzcSAPTS(data) { return request({ url: '/wms/order/OutboundPostingzcSAPTS', diff --git a/src/views/wms/returnorderzs/index.vue b/src/views/wms/returnorderzs/index.vue index 0024b82..957dfb6 100644 --- a/src/views/wms/returnorderzs/index.vue +++ b/src/views/wms/returnorderzs/index.vue @@ -346,6 +346,7 @@ import { listReturnBC, OutboundPostingSAP, OutboundPostingzcSAP, + OutboundPostingzcSAPTH, listOutorderZC, listreturnderZC, addreturnderZC, @@ -930,7 +931,7 @@ export default { let postData = this.selectabletrows.map(item => ({ id: item.id })); //let postData = this.ids.map(id => ({ id: id })); console.log(postData) - OutboundPostingzcSAP(JSON.stringify(postData)).then(response => { + OutboundPostingzcSAPTH(JSON.stringify(postData)).then(response => { this.$modal.msgSuccess("操作完成"); }); }, From 186fd2806d6d3db7dad9230454c7eb8b236486a7 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 11 Mar 2025 13:40:13 +0800 Subject: [PATCH 02/10] =?UTF-8?q?wms=E9=A1=B5=E9=9D=A2=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/outorderTS/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wms/outorderTS/index.vue b/src/views/wms/outorderTS/index.vue index cfb6fda..639c53c 100644 --- a/src/views/wms/outorderTS/index.vue +++ b/src/views/wms/outorderTS/index.vue @@ -71,8 +71,8 @@ From 2406761959ebd98f1cd0b5e63337e8f07bd89261 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 11 Mar 2025 15:16:45 +0800 Subject: [PATCH 03/10] =?UTF-8?q?wms=E9=A1=B5=E9=9D=A2=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/returnorderzs/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/wms/returnorderzs/index.vue b/src/views/wms/returnorderzs/index.vue index 957dfb6..3843a27 100644 --- a/src/views/wms/returnorderzs/index.vue +++ b/src/views/wms/returnorderzs/index.vue @@ -770,8 +770,10 @@ export default { this.printDialogVisible = true; this.newWorkerLoading = true // 设置加载状态为true,表示正在加载 this.refreshNewWorkerTable = false // 先将refreshProTable设置为false,隐藏表格 - let queryParams = { - produceCode: this.outorderList[0].produceCode + // 根据选中的 IDs 获取数据 + const selectedIds = this.ids; // 获取选中的 ID + let queryParams = { + produceCode: selectedIds // 根据选中的数据获取多个工单号,可以根据需要调整 }; listReturnDY(queryParams).then(response => { this.showWorkorderCode = true; From e8085a471e2848730cea24d5c479004ee7bdfa8e Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 11 Mar 2025 15:22:26 +0800 Subject: [PATCH 04/10] =?UTF-8?q?wms=E9=A1=B5=E9=9D=A2=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B93.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/returnorderzs/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wms/returnorderzs/index.vue b/src/views/wms/returnorderzs/index.vue index 3843a27..9d9cf6f 100644 --- a/src/views/wms/returnorderzs/index.vue +++ b/src/views/wms/returnorderzs/index.vue @@ -771,7 +771,7 @@ export default { this.newWorkerLoading = true // 设置加载状态为true,表示正在加载 this.refreshNewWorkerTable = false // 先将refreshProTable设置为false,隐藏表格 // 根据选中的 IDs 获取数据 - const selectedIds = this.ids; // 获取选中的 ID + const selectedIds = this.ids[0]; // 获取选中的 ID let queryParams = { produceCode: selectedIds // 根据选中的数据获取多个工单号,可以根据需要调整 }; From b2e01a2b2dca441369091c3572c375efb05ca97f Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Wed, 12 Mar 2025 15:04:14 +0800 Subject: [PATCH 05/10] =?UTF-8?q?wms=E9=80=80=E8=B4=A7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9D=A1=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/returnorderzs/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/wms/returnorderzs/index.vue b/src/views/wms/returnorderzs/index.vue index 9d9cf6f..4a7c5b4 100644 --- a/src/views/wms/returnorderzs/index.vue +++ b/src/views/wms/returnorderzs/index.vue @@ -773,7 +773,7 @@ export default { // 根据选中的 IDs 获取数据 const selectedIds = this.ids[0]; // 获取选中的 ID let queryParams = { - produceCode: selectedIds // 根据选中的数据获取多个工单号,可以根据需要调整 + ID: selectedIds // 根据选中的数据获取多个工单号,可以根据需要调整 }; listReturnDY(queryParams).then(response => { this.showWorkorderCode = true; @@ -801,8 +801,7 @@ export default { this.printData.produceCode = response.data.produceCode this.refreshNewWorkerTable = true // 立即将refreshProTable设置为true,显示表格 this.newWorkerLoading = false // 设置加载状态为false,表示加载完成 - - this.generateBarcode(this.outorderList[0].produceCode); //条码 根据工单号生成 + this.generateBarcode(response.data[0].produceCode); //条码 根据工单号生成 }) }, //产品编码格式化 From 972d1c758e1cc6c4bb9daa53bf8233cb7d4a3b77 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Wed, 12 Mar 2025 15:32:58 +0800 Subject: [PATCH 06/10] =?UTF-8?q?wms=E9=80=80=E8=B4=A7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/outorderfc.js | 2 +- src/views/wms/returnorderzs/index.vue | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/api/wms/outorderfc.js b/src/api/wms/outorderfc.js index f9fb003..ff7a725 100644 --- a/src/api/wms/outorderfc.js +++ b/src/api/wms/outorderfc.js @@ -114,7 +114,7 @@ export function OutboundPostingzcSAP(data) { } export function OutboundPostingzcSAPTH(data) { return request({ - url: '/wms/order/OutboundPostingzcSAPTH', + url: '/wms/outorder/OutboundPostingzcSAPTH', method: 'post', data: data }); diff --git a/src/views/wms/returnorderzs/index.vue b/src/views/wms/returnorderzs/index.vue index 4a7c5b4..19ec5d5 100644 --- a/src/views/wms/returnorderzs/index.vue +++ b/src/views/wms/returnorderzs/index.vue @@ -72,10 +72,9 @@ - - - - + + +