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("操作完成"); }); },