领料单表3

yangwl
mengjiao 2 months ago
parent b5647018d3
commit 57e8f022fb

@ -104,7 +104,13 @@ export function OutboundPostingSAP(data) {
method: 'post', method: 'post',
data: data data: data
}); });
}
export function OutboundPostingzcSAP(data) {
return request({
url: '/wms/order/OutboundPostingzcSAP',
method: 'post',
data: data
});
}
}

@ -183,6 +183,7 @@ import {
addPurchaseOrderOutbound, addPurchaseOrderOutbound,
getlistCK, getlistCK,
OutboundPostingSAP, OutboundPostingSAP,
OutboundPostingzcSAP,
listOutorderZC, listOutorderZC,
listOutorderZU listOutorderZU
} from '@/api/wms/outorderfc' } 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.selectabletrows.map(item => ({ produceCode: item.produceCode,userDefined1:item.userDefined1 }));
//let postData = this.ids.map(id => ({ id: id })); //let postData = this.ids.map(id => ({ id: id }));
console.log(postData) console.log(postData)
OutboundPostingSAP(JSON.stringify(postData)).then(response => { OutboundPostingzcSAP(JSON.stringify(postData)).then(response => {
this.$modal.msgSuccess("操作完成"); this.$modal.msgSuccess("操作完成");
}); });
}, },

Loading…
Cancel
Save