From 57e8f022fbb16803d3aba473ce8587579cbbe4e2 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Wed, 11 Sep 2024 10:47:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E5=8D=95=E8=A1=A83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/outorderfc.js | 10 ++++++++-- src/views/wms/outorderzs/index.vue | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/api/wms/outorderfc.js b/src/api/wms/outorderfc.js index 367ff51..60bbd70 100644 --- a/src/api/wms/outorderfc.js +++ b/src/api/wms/outorderfc.js @@ -104,7 +104,13 @@ export function OutboundPostingSAP(data) { method: 'post', data: data }); +} +export function OutboundPostingzcSAP(data) { + return request({ + url: '/wms/order/OutboundPostingzcSAP', + method: 'post', + data: data + }); +} - -} diff --git a/src/views/wms/outorderzs/index.vue b/src/views/wms/outorderzs/index.vue index 87271b9..afb71fe 100644 --- a/src/views/wms/outorderzs/index.vue +++ b/src/views/wms/outorderzs/index.vue @@ -183,6 +183,7 @@ import { addPurchaseOrderOutbound, getlistCK, OutboundPostingSAP, + OutboundPostingzcSAP, listOutorderZC, listOutorderZU } from '@/api/wms/outorderfc' @@ -622,7 +623,7 @@ export default { let postData = this.selectabletrows.map(item => ({ produceCode: item.produceCode,userDefined1:item.userDefined1 })); //let postData = this.ids.map(id => ({ id: id })); console.log(postData) - OutboundPostingSAP(JSON.stringify(postData)).then(response => { + OutboundPostingzcSAP(JSON.stringify(postData)).then(response => { this.$modal.msgSuccess("操作完成"); }); },