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 @@
-
-
-
-
+
+
+
{{ formatProductCode(scope.row.materialCode) }}
@@ -84,7 +83,7 @@
-
+
From af11f2108dc6fb7d1285bd00997e7c2e84f679ae Mon Sep 17 00:00:00 2001
From: mengjiao <3338049200@qq,com>
Date: Wed, 12 Mar 2025 16:05:15 +0800
Subject: [PATCH 07/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=EF=BC=8C=E7=94=9F=E6=88=90=E6=97=B6=E7=9A=84?=
=?UTF-8?q?=E9=A2=86=E6=96=99=E5=8D=95=E5=BC=B9=E7=AA=97=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E5=89=94=E9=99=A4=E5=8F=8D=E5=86=B2=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/outorderfc.js | 8 ++++++++
src/views/wms/returnorderzs/index.vue | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/api/wms/outorderfc.js b/src/api/wms/outorderfc.js
index ff7a725..fcce42c 100644
--- a/src/api/wms/outorderfc.js
+++ b/src/api/wms/outorderfc.js
@@ -24,6 +24,14 @@ export function listOutorderZC(query) {
params: query
});
}
+// 查询包材出库单列表去除反冲的
+export function listOutorderZCTC(query) {
+ return request({
+ url: '/wms/outorder/listZCTC',
+ method: 'post',
+ params: query
+ });
+}
// 查询包材出库单详细
export function getOutorder(ID) {
return request({
diff --git a/src/views/wms/returnorderzs/index.vue b/src/views/wms/returnorderzs/index.vue
index 19ec5d5..4f96951 100644
--- a/src/views/wms/returnorderzs/index.vue
+++ b/src/views/wms/returnorderzs/index.vue
@@ -347,6 +347,7 @@ import {
OutboundPostingzcSAP,
OutboundPostingzcSAPTH,
listOutorderZC,
+ listOutorderZCTC,
listreturnderZC,
addreturnderZC,
getIdCardListTH,
@@ -684,7 +685,7 @@ export default {
async fetchMaterials(pageNum = 1) { // 这里的参数名称为 pageNum
this.loading = true; // 显示加载状态
try {
- const response = await listOutorderZC({
+ const response = await listOutorderZCTC({
...this.queryParams, // 假设 queryParams 包含其他查询条件
pageNum: pageNum, // 将当前页码传递给后端
pageSize: this.pageSize // 确保将每页显示的数量传递给后端
From 3b6a9ed98e19e1fb8fef9e9dc9b9ce360a90b04b Mon Sep 17 00:00:00 2001
From: mengjiao <3338049200@qq,com>
Date: Mon, 17 Mar 2025 10:55:21 +0800
Subject: [PATCH 08/10] =?UTF-8?q?wms=E6=96=B0sap=E5=BA=93=E9=A1=B5?=
=?UTF-8?q?=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/matetowsn.js | 8 ++
src/views/wms/matetowsnsap/index.vue | 185 +++++++++++++--------------
2 files changed, 98 insertions(+), 95 deletions(-)
diff --git a/src/api/wms/matetowsn.js b/src/api/wms/matetowsn.js
index 028e93a..1ab4e65 100644
--- a/src/api/wms/matetowsn.js
+++ b/src/api/wms/matetowsn.js
@@ -8,6 +8,14 @@ export function listMatetowsn(query) {
params: query
});
}
+
+export function listsaplist(query) {
+ return request({
+ url: '/wms/matetowsn/saplist',
+ method: 'get',
+ params: query
+ });
+}
export function cardDy(data) {
return request({
url: '/wms/matetowsn/cardDy',
diff --git a/src/views/wms/matetowsnsap/index.vue b/src/views/wms/matetowsnsap/index.vue
index d0efb9f..a2e5cf4 100644
--- a/src/views/wms/matetowsnsap/index.vue
+++ b/src/views/wms/matetowsnsap/index.vue
@@ -19,41 +19,35 @@
-
+
-
+
+
+
+
-
+
+
+
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.gmtCreate, '{y}-{m}-{d}') }}
-
-
+
+
+
+
+
+
-
+
- {{ formatProductCode(scope.row.materialCode) }}
+ {{ formatProductCode(scope.row.matnr) }}
-
-
-
-
-
-
-
-
- {{ scope.row.amount - (scope.row.outNumber || 0) }}
-
-
-
-
- 入库
- 部分出库
- 出库完成
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ lgort
+
+
+
+
+
+
@@ -146,11 +136,11 @@
-
-
- {{ parseTime(scope.row.gmtCreate, '{y}-{m}-{d}') }}
-
-
+
+
+
+
+
@@ -310,10 +300,10 @@
-
-
+
+
- {{ formatProductCode(scope.row.materialCode) }}
+ {{ formatProductCode(scope.row.matnr) }}
@@ -345,7 +335,7 @@
-
+
查询
@@ -354,10 +344,10 @@
-
-
+
+
- {{ formatProductCode(scope.row.materialCode) }}
+ {{ formatProductCode(scope.row.matnr) }}
@@ -385,7 +375,7 @@